25 Exception("ConfigFile is not open or other failure", -41) {}
34 Exception(
"Could not find section '" + attribute +
"' in configfile", -42) {}
43 Exception(
"Could not find subsection '" + attribute +
"' in configfile", -43) {}
52 Exception(
"Could not find entry '" + attribute +
"' in configfile", -44) {}
61 Exception(
"Syntax error in this line: '" + line +
"'", -45) {}
78 void _readEntry(
char* dest,
int destsz,
const char* section,
const char* subsection,
const char* entry);
84 _configfile.open(filepath);
85 return _configfile.fail() ?
false :
true;
88 bool openFile(
const wchar_t* filepath) {
89 _configfile.open(filepath);
90 return _configfile.fail() ?
false :
true;
101 TMotCLB getMotCLB(
short number);
102 TMotSCP getMotSCP(
short number);
103 TMotDYL getMotDYL(
short number);
110 void getGripperParameters(
bool& isPresent,
int& openEncoders,
int& closeEncoders);
The requested section could not be found.
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
The state of the configuration file wasn't "good".
The requested entry could not be found.
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)
There was a syntax error in the configuration file.
This class is for internal use only It may change at any time It shields the configuration file parsi...
The requested subsection could not be found.
ConfigFileSyntaxErrorException(const std::string &line)