16 #define DEFAULT_LEX_LINE_BUFFER_SIZE (64*1024) 29 FILE*
fp = fopen(fname,
"r");
32 cerr <<
"Chain::Load- error: failed to open " << fname <<
" to read" << endl;
37 int lexBufferSize = ftell(fp);
41 if(charname && strcmp(charname,
""))
void ChainDeleteLexerBuffers()
void ChainSetInputFile(FILE *fp)
RTC::ReturnCode_t ret(RTC::Local::ReturnCode_t r)
int Load(const char *fname, const char *charname=0)
Load the chain from a file in original (*.prm) format.
void SetCharName(const char *chname)
void ChainMakeLexerBuffers(int lexBufferSize, int lineBufferSize)
Classes for defining open/closed kinematic chains.
The class representing the whole mechanism. May contain multiple characters.
#define DEFAULT_LEX_LINE_BUFFER_SIZE