- 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:
cvs
2003-06-13 11:35:35 +00:00
parent f3853c20f0
commit 6819991e85
26 changed files with 1649 additions and 98 deletions

View File

@@ -1,5 +1,5 @@
#line 346 "interface.w"
#line 359 "interface.w"
/*---------------------------------------------------------------------------
I N T E R F A C E S
@@ -44,7 +44,7 @@
pIDrivable GetDrivableInterface(void *pObject);
#line 371 "interface.w"
#line 384 "interface.w"
pIDrivable CreateDrivableInterface(void);
@@ -68,7 +68,7 @@
pICountable GetCountableInterface(void *pObject);
#line 376 "interface.w"
#line 389 "interface.w"
pICountable CreateCountableInterface(void);
@@ -81,7 +81,7 @@
typedef int (*SICSCallBack)(int iEvent, void *pEventData,
void *pUserData);
#line 381 "interface.w"
#line 394 "interface.w"
#line 252 "interface.w"
@@ -99,11 +99,16 @@
int RemoveCallback(pICallBack pInterface, long iID);
int RemoveCallback2(pICallBack pInterface, void *pUserData);
#line 382 "interface.w"
int CallbackScript(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
pICallBack GetCallbackInterface(void *pData);
#line 395 "interface.w"
/*---------------------- The Environment Interface --------------------*/
#line 310 "interface.w"
#line 323 "interface.w"
typedef enum { EVIdle, EVDrive, EVMonitor, EVError } EVMode;
typedef struct {
@@ -113,13 +118,13 @@
int (*HandleError)(void *self);
} EVInterface, *pEVInterface;
#line 384 "interface.w"
#line 397 "interface.w"
#line 336 "interface.w"
#line 349 "interface.w"
pEVInterface CreateEVInterface(void);
#line 385 "interface.w"
#line 398 "interface.w"
#endif