- allow scriptcontext objects to be dynamic
- enhancements in scriptcontext (error messages stored as properties)
This commit is contained in:
16
devexec.h
16
devexec.h
@ -1,5 +1,5 @@
|
||||
|
||||
#line 195 "devexec.w"
|
||||
#line 197 "devexec.w"
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
||||
@ -54,7 +54,7 @@ int StartMotor(pExeList self, SicsInterp * pSics, SConnection * pCon,
|
||||
int StartCounter(pExeList self, SicsInterp * pSics, SConnection * pCon,
|
||||
char *name);
|
||||
|
||||
#line 239 "devexec.w"
|
||||
#line 241 "devexec.w"
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
@ -73,7 +73,7 @@ int DevExecTask(void *pEL);
|
||||
void DevExecSignal(void *pEL, int iSignal, void *pSigData);
|
||||
|
||||
|
||||
#line 241 "devexec.w"
|
||||
#line 243 "devexec.w"
|
||||
|
||||
|
||||
/*
|
||||
@ -104,6 +104,9 @@ int StopExeWait(pExeList self);
|
||||
StopExeWait will stop all running things and wait for the stop
|
||||
to complete.
|
||||
*/
|
||||
|
||||
int StopByData(pExeList self, void *data);
|
||||
/* stop the entry with the given data from execution */
|
||||
/*------------------------------------------------------------------------*/
|
||||
void ClearExecutor(pExeList self);
|
||||
/*
|
||||
@ -115,7 +118,7 @@ int PauseExecution(pExeList self);
|
||||
int ContinueExecution(pExeList self);
|
||||
|
||||
|
||||
#line 259 "devexec.w"
|
||||
#line 261 "devexec.w"
|
||||
|
||||
/*-------------------------- Commands ------------------------------------*/
|
||||
int DevexecAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
@ -157,16 +160,15 @@ int ContinueAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
|
||||
/*--------------------------- Locking ---------------------------------*/
|
||||
|
||||
#line 183 "devexec.w"
|
||||
#line 185 "devexec.w"
|
||||
|
||||
void LockDeviceExecutor(pExeList self);
|
||||
void UnlockDeviceExecutor(pExeList self);
|
||||
|
||||
|
||||
#line 299 "devexec.w"
|
||||
#line 301 "devexec.w"
|
||||
|
||||
/* -------------------------- Executor management -------------------------*/
|
||||
|
||||
pExeList GetExecutor(void);
|
||||
void SetExecutor(pExeList pExe);
|
||||
/*----------------------- Logging -----------------------------------------*/
|
||||
|
Reference in New Issue
Block a user