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;
The requested entry could not be found.
ConfigFileEntryNotFoundException(const std::string &attribute)
The requested section could not be found.
ConfigFileSectionNotFoundException(const std::string &attribute)
The state of the configuration file wasn't "good".
ConfigFileStateException()
The requested subsection could not be found.
ConfigFileSubsectionNotFoundException(const std::string &attribute)
There was a syntax error in the configuration file.
ConfigFileSyntaxErrorException(const std::string &line)
This class is for internal use only It may change at any time It shields the configuration file parsi...
void _readEntry(char *dest, int destsz, const char *section, const char *subsection, const char *entry)
TMotCLB getMotCLB(short number)
std::ifstream _configfile
TSctDesc * getSctDesc(short count)
void getGripperParameters(bool &isPresent, int &openEncoders, int &closeEncoders)
bool openFile(const char *filepath)
TMotInit getMotInit(short number)
TMotDesc * getMotDesc(short count)
TMotSCP getMotSCP(short number)
TMotDYL getMotDYL(short number)
int getType()
returns the Katana type
Inverse Kinematics structure of the endeffektor.
[GNL] general robot attributes
[MOT] every motor's attributes
[SCT] every sens ctrl's attributes
Calibration structure for single motors.
motor description (partly)
Initial motor parameters.
[SCP] static controller parameters
sensor controller description (partly)