- Added SicsList

- Removed group and description attributes from ObjectDescriptor


SKIPPED:
	psi/dornier2.c
	psi/libpsi.a
	psi/make_gen
	psi/makefile_linux
	psi/pimotor.c
	psi/pipiezo.c
	psi/psi.c
	psi/serial.c
	psi/sinqhttp.c
	psi/sinqhttp.h
	psi/tcpdornier.c
	psi/velodornier.c
This commit is contained in:
koennecke
2006-01-16 08:32:07 +00:00
parent b3138f1197
commit 45fd50265f
20 changed files with 732 additions and 243 deletions

View File

@ -1,8 +1,8 @@
#line 381 "interface.w"
#line 379 "interface.w"
/*---------------------------------------------------------------------------
I N T E R F A C E S
I N T E R F A C E S
Any object in SICS has to adhere to the object descriptor interface (see
file obdes.h). Furthermore SICS objects may choose to support other
@ -27,7 +27,7 @@
/* ----------------------- The drivable interface -----------------------*/
#line 121 "interface.w"
#line 119 "interface.w"
typedef struct {
@ -44,18 +44,18 @@
} IDrivable, *pIDrivable;
pIDrivable GetDrivableInterface(void *pObject);
int GetDrivablePosition(void *pObject, SConnection *pCon,
float *fPos);
int GetDrivablePosition(void *pObject, SConnection *pCon,
float *fPos);
#line 407 "interface.w"
#line 405 "interface.w"
pIDrivable CreateDrivableInterface(void);
/* ------------------------ The countable interface ---------------------*/
#line 188 "interface.w"
#line 186 "interface.w"
typedef struct {
int ID;
@ -72,23 +72,23 @@
pICountable GetCountableInterface(void *pObject);
#line 412 "interface.w"
#line 410 "interface.w"
pICountable CreateCountableInterface(void);
/* ------------------------- The CallBack Interface --------------------*/
#line 241 "interface.w"
#line 239 "interface.w"
typedef void (*KillFuncIT)(void *pData);
typedef int (*SICSCallBack)(int iEvent, void *pEventData,
void *pUserData, commandContext cc);
#line 417 "interface.w"
#line 415 "interface.w"
#line 263 "interface.w"
#line 261 "interface.w"
typedef struct __ICallBack *pICallBack;
@ -105,15 +105,15 @@
int RemoveCallback2(pICallBack pInterface, void *pUserData);
int CallbackScript(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int argc, char *argv[]);
pICallBack GetCallbackInterface(void *pData);
#line 418 "interface.w"
#line 416 "interface.w"
/*---------------------- The Environment Interface --------------------*/
#line 335 "interface.w"
#line 333 "interface.w"
typedef enum { EVIdle, EVDrive, EVMonitor, EVError } EVMode;
typedef struct {
@ -123,13 +123,13 @@
int (*HandleError)(void *self);
} EVInterface, *pEVInterface;
#line 420 "interface.w"
#line 418 "interface.w"
#line 361 "interface.w"
#line 359 "interface.w"
pEVInterface CreateEVInterface(void);
#line 421 "interface.w"
#line 419 "interface.w"
#endif