|
UKeepItem * | add (const char *name) |
|
virtual void | createResources () |
|
bool | deleteKeep (const char *name) |
|
UKeepItem * | getKeepItem (const char *name) |
|
const char * | getKeepList (const char *preStr, char *buff, const int buffCnt) |
|
int | getKeepsCnt () |
|
UServerPush * | getPushHandle (const char *process, bool eventOn) |
|
virtual bool | methodCall (const char *name, const char *paramOrder, char **strings, const double *pars, double *value, UDataBase **returnStruct, int *returnStructCnt) |
|
virtual const char * | print (const char *preString, char *buff, int buffCnt) |
|
void | run () |
|
void | setWait (bool value) |
|
| UResKeep () |
|
void | UResKeepInit () |
|
virtual | ~UResKeep () |
|
int | addMethod (const char *formalName, const char *paramTypes, const char *comment) |
|
int | addMethodV (const char *formalName, const char *paramTypes, const char *comment) |
|
UVarPool * | addStruct (const char *name, const char *comment, bool copy=false) |
|
UVariable * | addVar (const char *name, const double initialValue, const char *type, const char *comment) |
|
UVariable * | addVar (const char *name, const char *initialValue, const char *type, const char *comment) |
|
UVariable * | addVarA (const char *name, const char *initialValue, const char *type, const char *comment) |
|
bool | callGlobal (const char *name, const char *paramOrder, char **strings, const double *doubles, double *value, UDataBase **returnStruct, int *returnStructCnt) |
|
bool | callGlobalV (const char *name, const char *paramOrder, UVariable **params, UDataBase **returnStruct, int *returnStructCnt) |
| Call a method from the root var pool scope It may be in the structure direct (no '.') or in any sub-structure that the 'name.subname' indicate. More...
|
|
bool | callLocal (const char *name, const char *paramOrder, char **strings, const double *doubles, double *value, UDataBase **returnStruct, int *returnStructCnt) |
|
bool | callVS (const char *function, const char *stringParam) |
|
int | callVSCD (const char *function, const char *strPar, UDataBase *data, int cooSys) |
|
void | createBaseVar () |
|
virtual bool | createVarSpace (const int varCnt, const int structCnt, const int methCnt, const char *note, bool copy=false) |
|
bool | getGlobalString (const char *name, const char **value) |
|
bool | getGlobalValue (const char *name, double *value) |
|
bool | getGlobalValue (const char *name, const char **value) |
|
bool | getGlobalValue (const char *name, bool *value) |
|
bool | getGlobalValue (const char *name, UTime *value) |
|
bool | getLocalValue (const char *name, double *value) |
| get a value in this variable tree More...
|
|
bool | getLocalValue (const char *name, bool *value) |
|
bool | getLocalValue (const char *name, UTime *value) |
|
double | getLocalValue (int idx) |
|
UPosition | getLocalValue3D (int idx) |
|
UPosRot | getLocalValue6D (int idx) |
|
bool | getLocalValueBool (int idx) |
|
int | getLocalValueInt (int idx) |
|
UTime | getLocalValueTime (int idx) |
|
const char * | getLogFileName () |
|
const char * | getVarDescription (int idx) |
|
UVarCalc * | getVarPool () |
|
virtual bool | gotAllResources (char *missingThese, int missingTheseCnt) |
|
bool | isLogFileOpen () |
|
bool | isLogFileOpen (const char *structName) |
|
bool | isVarPoolUpdated (int lastCnt, int *newCnt) |
|
void | logFileClose () |
|
bool | logFileOpen () |
|
void | logFileStart (const char *structName, bool open) |
|
bool | setGlobalVar (const char *name, const double value, bool mayAdd) |
| Assigns a value to a variable. The variable may be a part of a structure. More...
|
|
bool | setLocalVar (int idx, double value, const int element) |
|
bool | setLocalVar (const char *name, const double value, bool mayAdd) |
| Assigns a value to a variable. The variable may be a part of a structure. More...
|
|
bool | setLocalVar3D (int idx, UPosition *value) |
|
bool | setLocalVar6D (int idx, UPosRot *value) |
|
bool | setLocalVarAdd (int idx, double value, const int element) |
|
bool | setLocalVarPose (int idx, UPose *value) |
|
virtual bool | setResource (UResBase *resource, bool remove) |
|
void | setVarPool (UVarCalc *sharedVarPool) |
|
int | updateQTvars (int structIdx) |
|
| UResVarPool () |
|
virtual | ~UResVarPool () |
|
void | createReplayVar (UVarPool *pool) |
|
UCmdExe * | getCorePointer () |
|
char * | getLogFileName (char *fn, const int fnCnt) |
|
int | getResFuncIdx () |
|
const char * | getResID () |
|
int | getResVersion () |
|
bool | isA (const char *idStr) |
|
bool | isAlsoA (const char *id) |
|
virtual void | print (const char *preString) |
|
virtual void | saveSettings () |
|
void | setCorePointer (UCmdExe *serverCore) |
|
void | setResFuncIdx (int idx) |
|
virtual void | setResID (const char *id, const int version) |
|
virtual void | updateReplayStatus () |
|
| UResBase () |
|
virtual | ~UResBase () |
|
void | addChild (UReplay *child) |
|
virtual bool | decodeReplayLine (char *) |
|
char * | getLogFileName (char *fn, const int fnCnt) |
|
char * | getReplayFileName (char *fn, const int fnCnt) |
|
int | getReplayLogLine () |
|
bool | isReplay () |
|
bool | isReplayFileOpen () |
|
void | removeChild (UReplay *child) |
|
virtual void | replayAdvanceTime (UTime untilTime) |
|
void | replaySetBaseFileName (const char *name, const char *preName="") |
|
void | replaySetFileName (const char *name) |
|
virtual bool | replayStep () |
|
int | replayStep (int steps) |
|
virtual bool | replayToTime (UTime untilTime) |
|
void | setParent (UReplay *parent) |
|
bool | setReplay (bool value) |
|
| UReplay () |
|
virtual | ~UReplay () |
|
bool | lock () |
|
void | lockInit () |
|
void | post () |
|
bool | tryLock () |
|
bool | tryWait () |
|
| ULock () |
|
void | unlock () |
|
bool | wait () |
|
| ~ULock () |
|
virtual bool | methodCallV (const char *name, const char *paramOrder, UVariable *params[], UDataBase **returnStruct, int *returnStructCnt) |
|
virtual | ~UVarMethodImplement () |
|
void | closeLog () |
|
void | doFlush () |
|
FILE * | getF () |
|
const char * | getLogFileName () |
|
const char * | getLogName () |
|
bool | isLogOpen () |
|
bool | isOpen () |
|
void | logLock () |
|
bool | logRename (const char *name) |
|
void | logUnlock () |
|
bool | openLog () |
|
bool | openLog (bool doOpen) |
|
bool | openLog (const char *resName) |
|
void | setLogFlush (bool doFlush) |
|
void | setLogName (const char *resName, const char *ext="log") |
|
void | setLogNameNumber (int number) |
| add a number to the logfile name, That is if the logName is 'svs' and number is 2 (and logPath is '/rhome/demo'), then logfilename is set to '/rhome/demo/svs_2.log'. The purpose is to have an alternative, if the file renaming fails (if the file system is locked or something). More...
|
|
void | setLogTime (UTime timestamp) |
|
void | toLog (const char *logString) |
|
void | toLog (const char *s1, const char *s2) |
|
void | toLog (const int num, const char *s1, const char *s2) |
|
void | toLog (const char *s1, const int num, const char *s2) |
|
void | toLog (const char *s1, const int n1, const int n2, const char *s2) |
|
void | toLog (const char *s1, const int num, const char *s2, const char *s3) |
|
void | toLog (const char *s1, const int n1, const int n2, const char *s2, const char *s3) |
|
| ULogFile () |
|
void | useLogTime (bool value) |
|
| ~ULogFile () |
|
int | addPushCommand (UServerInMsg *msg) |
|
virtual void | callGotNewDataWithObject () |
|
bool | doPushCall (UServerPushElement *pe, const char *value) |
|
void | flushClientCmds (int clientIdx) |
|
UServerPushImplement * | getImplementor () |
|
int | getPushCmdCnt (int *cmdCnt, int *callCnt) |
|
UServerPushQueue * | getPushQueue () |
|
bool | gotCmdExe () |
|
void | gotNewData (void *pData) |
|
bool | isUpdated (int lastCnt, int *newCnt) |
|
bool | needNewData () |
|
void | print (const char *preString) |
|
void | print (const char *preString, char *buff, int buffCnt) |
|
void | servicePendingPushCmds () |
|
void | setCmdExe (UServerPushImplement *executor) |
|
void | setImplementor (UServerPushImplement *executor) |
|
bool | setResource (UResBase *resource, bool remove) |
|
bool | setUpdated (const char *value) |
| Add watch object if needed. An image or other object is updated. set object as updated, with an extra qualifier, that may be used as a parameter in a push call. this push list is then added to the to the push list examined by the server thread. when server thread reach this push list it will call to get a possible associated data structure by a call to needNewData() whish is expected to call gotNewData(void * data_structure) - but now in the server thread. More...
|
|
| UServerPush () |
|
virtual | ~UServerPush () |
|
This is the shared resource class. It must enherit from the resource base class (or one of its decendents) as shown.
- Author
- Christian Andersen