bug fixes and enhancements related to evcontroller
This commit is contained in:
11
eve.h
11
eve.h
@@ -80,6 +80,7 @@ typedef struct Eve {
|
||||
* index: the ObPar index
|
||||
* list: a NULL terminated list of value names
|
||||
* subcmd: a function for handling the subcommand
|
||||
* fsmFunc: a fsm function to handle a subcommand
|
||||
*/
|
||||
void EveFloatPar(EveParArg *arg, char *name, float *value, char *fmt,
|
||||
int access, int flags);
|
||||
@@ -92,7 +93,9 @@ void EveObParEnum(EveParArg *arg, int index, char *list[], int flags);
|
||||
void EveEnumPar(EveParArg *arg, char *name, int *value, char *list[],
|
||||
int access, int flags);
|
||||
void EveCmd(EveParArg *arg, char *name, EveSubCmd subcmd, int access);
|
||||
|
||||
void EveFloatCmd(EveParArg *arg, char *name, float *value, char *fmt,
|
||||
FsmFunc fsmFunc, int access, int flags);
|
||||
|
||||
/* a collection of parameters from the standard EVController
|
||||
* (limits, tolerance, drive handling, out of tolerance handling)
|
||||
* normally appearing at the top
|
||||
@@ -107,9 +110,15 @@ void EveStdParEnd(EveParArg *arg, char *fmt, int targetFlag);
|
||||
/* return the connection related to the parameter request */
|
||||
SConnection *EveArgConn(EveParArg *arg);
|
||||
|
||||
/* check if it is a user action (parameter list, set or read) */
|
||||
int EveUserAction(EveParArg *arg);
|
||||
|
||||
/* write to the actual (last driving) connection */
|
||||
int EvePrintf(Eve *eve, int iOut, char *fmt, ...);
|
||||
|
||||
/* evelog has to be called after all read operations */
|
||||
void EveLog(Eve *eve);
|
||||
|
||||
void EveWriteError(Eve *eve);
|
||||
void EveWrite(Eve *eve, char *cmd);
|
||||
void EveWaitRead(Eve *eve);
|
||||
|
||||
Reference in New Issue
Block a user