Go to the documentation of this file.
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,
""))
#define DEFAULT_LEX_LINE_BUFFER_SIZE
void ChainDeleteLexerBuffers()
The class representing the whole mechanism. May contain multiple characters.
void ChainSetInputFile(FILE *fp)
int Load(const char *fname, const char *charname=0)
Load the chain from a file in original (*.prm) format.
void ChainMakeLexerBuffers(int lexBufferSize, int lineBufferSize)
void SetCharName(const char *chname)
Classes for defining open/closed kinematic chains.
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:03