28 Exception("ConfigFile is not open or other failure", -41) {}
37 Exception(
"Could not find section '" + attribute +
"' in configfile", -42) {}
46 Exception(
"Could not find subsection '" + attribute +
"' in configfile", -43) {}
55 Exception(
"Could not find entry '" + attribute +
"' in configfile", -44) {}
64 Exception(
"Syntax error in this line: '" +
line +
"'", -45) {}
81 void _readEntry(
char* dest,
int destsz,
const char* section,
const char* subsection,
const char* entry);
87 _configfile.open(filepath);
88 return _configfile.fail() ?
false :
true;
91 bool openFile(
const wchar_t* filepath) {
92 _configfile.open(filepath);
93 return _configfile.fail() ?
false :
true;
104 TMotCLB getMotCLB(
short number);
105 TMotSCP getMotSCP(
short number);
106 TMotDYL getMotDYL(
short number);
117 void getGripperParameters(
bool& isPresent,
int& openEncoders,
int& closeEncoders);
bool openFile(const char *filepath)
[SCT] every sens ctrl's attributes
Initial motor parameters.
ConfigFileStateException()
Exception(const std::string &message, const int error_number)
std::ifstream _configfile
ConfigFileEntryNotFoundException(const std::string &attribute)
Calibration structure for single motors.
Inverse Kinematics structure of the endeffektor.
[MOT] every motor's attributes
ConfigFileSubsectionNotFoundException(const std::string &attribute)
sensor controller description (partly)
[SCP] static controller parameters
ConfigFileSectionNotFoundException(const std::string &attribute)
[GNL] general robot attributes
motor description (partly)
ConfigFileSyntaxErrorException(const std::string &line)