#include <parser.h>
Public Member Functions | |
int | parseFile (char *filename, char *params) |
Parses and executes a scripting file. | |
double | print (char *text) |
double | torque (double number) |
double | sleep (double number) |
double | play (double id, double delay, double kid) |
double | run (int *ids, int len, int delay, int ipo) |
double | motion (char *name, double count) |
double | sensor (char *name) |
double | fabs (double number) |
double | get (int id) |
double | set (int id, double angle, int time) |
double | moveto (int id, double x, double y, double z, int time) |
double | moveto (int id, double x, double y, double z, double rotx, double roty, double rotz, int time) |
double | pos (int id, char *param) |
double | script (char *filename, char *params) |
double | load (double id, char *params) |
double | rotation (char *kin, char *xyz) |
double | collision () |
double | time () |
double | sync_start () |
double | sync_end () |
double | hold () |
double | stop () |
double | wait () |
void | finish () |
Public Attributes | |
char * | filename |
Current file to parse, will be used by lexx parser. | |
char * | params |
Parameters associated with current file. | |
CParserBuffer | buffer |
Memory storage for lexx and yacc parser. |
Stores data associated with the parsing process, runs the parser and holds implementations of all parser functions.
int CParser::parseFile | ( | char * | filename, | |
char * | params | |||
) |
Parses and executes a scripting file.
double CParser::print | ( | char * | text | ) |
double CParser::torque | ( | double | number | ) |
double CParser::sleep | ( | double | number | ) |
double CParser::play | ( | double | id, | |
double | delay, | |||
double | kid | |||
) |
double CParser::run | ( | int * | ids, | |
int | len, | |||
int | delay, | |||
int | ipo | |||
) |
double CParser::motion | ( | char * | name, | |
double | count | |||
) |
double CParser::sensor | ( | char * | name | ) |
double CParser::fabs | ( | double | number | ) |
double CParser::get | ( | int | id | ) |
double CParser::set | ( | int | id, | |
double | angle, | |||
int | time | |||
) |
double CParser::moveto | ( | int | id, | |
double | x, | |||
double | y, | |||
double | z, | |||
int | time | |||
) |
double CParser::moveto | ( | int | id, | |
double | x, | |||
double | y, | |||
double | z, | |||
double | rotx, | |||
double | roty, | |||
double | rotz, | |||
int | time | |||
) |
double CParser::pos | ( | int | id, | |
char * | param | |||
) |
double CParser::script | ( | char * | filename, | |
char * | params | |||
) |
double CParser::load | ( | double | id, | |
char * | params | |||
) |
double CParser::rotation | ( | char * | kin, | |
char * | xyz | |||
) |
double CParser::collision | ( | ) |
double CParser::time | ( | ) |
double CParser::sync_start | ( | ) |
double CParser::sync_end | ( | ) |
double CParser::hold | ( | ) |
double CParser::stop | ( | ) |
double CParser::wait | ( | ) |
void CParser::finish | ( | ) |
char* CParser::filename |
Current file to parse, will be used by lexx parser.
char* CParser::params |
Parameters associated with current file.
Memory storage for lexx and yacc parser.