- Added a a general data handling object
- Extended the callback interface to register scipts on callbacks - Fixed a stop bug in the anticollision object - Modified the HM code to do zero through a client connection
This commit is contained in:
38
sicsdata.h
Normal file
38
sicsdata.h
Normal file
@ -0,0 +1,38 @@
|
||||
|
||||
/*---------------------------------------------------------------------
|
||||
S I C S D A T A
|
||||
|
||||
An attempt to a generic interface to SICS data for all sorts of SICS
|
||||
clients.
|
||||
|
||||
copyright: see file COPYRIGHT
|
||||
|
||||
Mark Koennecke, June 2003
|
||||
----------------------------------------------------------------------*/
|
||||
#ifndef SICSDATA
|
||||
#define SICSDATA
|
||||
|
||||
typedef struct {
|
||||
pObjectDescriptor pDes;
|
||||
int *data;
|
||||
char *dataType;
|
||||
int dataUsed;
|
||||
int currentDataSize;
|
||||
}SICSData, *pSICSData;
|
||||
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
||||
int *getSICSDataPointer(pSICSData self, int start, int end);
|
||||
|
||||
pSICSData createSICSData(void);
|
||||
|
||||
int SICSDataFactory(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
int SICSDataAction(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user