45 #ifndef _CL_EO_CONFIG_API_H_
46 #define _CL_EO_CONFIG_API_H_
68 #define CL_EO_MAX_NAME_LEN 32
72 #define CL_EO_DEFAULT_THREADS 1
77 #define CL_EO_NAME clEoNameGet()
83 #define CL_EO_DEFAULT_NAME "3RD_PARTY_COMP"
218 CL_IN ClUint32T argc,
334 ClBoolT needSerialization;
360 extern ClCharT *clEoProgName;
Typical defines found in any software project.
#define CL_FALSE
define the False
Definition: clCommon.h:61
#define CL_TRUE
define the Truth
Definition: clCommon.h:59
ClUint32T ClRcT
Clovis return code type.
Definition: clCommon.h:168
ClPtrT * ClEoActionArgListT
The argument list that can be provided to the custom action taken on water mark hit.
Definition: clCommon.h:537
#define CL_OUT
CL_OUT macro assists in clearly defining arguments of an API, but has no actual meaning.
Definition: clCommon.h:110
ClCompIdT
Clovis Component Ids.
Definition: clCommon.h:304
#define CL_IN
CL_IN macro assists in clearly defining arguments of an API, but has no actual meaning.
Definition: clCommon.h:106
ClRcT(* ClEoAppCreateCallbackT)(CL_IN ClUint32T argc, CL_IN char *argv[])
The application should initialize itself in this function callback.
Definition: clEoConfigApi.h:213
ClEoStateT
This is the EO state enumeration.
Definition: clEoConfigApi.h:94
ClUint64T ClEoIdT
The type of the EOId, assigned to an EO as part of registration to the Component Manager.
Definition: clEoConfigApi.h:63
ClRcT(* ClEoAppStateChgCallbackT)(CL_IN ClEoStateT state)
The application should change the state the service it is providing.
Definition: clEoConfigApi.h:240
ClRcT clEoProgNameGet(ClCharT *pName, ClUint32T maxSize)
Gives the name of the executable for the EO.
ClEoApplicationTypeT
Definition: clEoConfigApi.h:149
ClRcT(* ClEoCustomActionT)(ClCompIdT compId, ClWaterMarkIdT wmId, ClWaterMarkT *pWaterMark, ClEoWaterMarkFlagT wmType, ClEoActionArgListT argList)
The application performs custom action in this callback.
Definition: clEoConfigApi.h:265
ClRcT(* ClEoAppHealthCheckCallbackT)(CL_OUT ClEoSchedFeedBackT *schFeedback)
The application checks the health status in this function callback.
Definition: clEoConfigApi.h:255
ClRcT(* ClEoAppDeleteCallbackT)()
The application performs cleanup in this function callback.
Definition: clEoConfigApi.h:250
ClEoPollingTypeT
Definition: clEoConfigApi.h:168
#define CL_EO_MAX_NAME_LEN
Maximum length of the name of the EO.
Definition: clEoConfigApi.h:68
ClCharT * clEoNameGet(void)
Gives the name of the EO.
@ CL_EO_STATE_ACTIVE
This indicates that the EO is in active state.
Definition: clEoConfigApi.h:104
@ CL_EO_STATE_STOP
This indicates that the EO is in stopped state.
Definition: clEoConfigApi.h:119
@ CL_EO_STATE_FAILED
This indicates that the EO is in failed state.
Definition: clEoConfigApi.h:134
@ CL_EO_STATE_STDBY
This indicates that the EO is in standby state.
Definition: clEoConfigApi.h:109
@ CL_EO_STATE_RESUME
This indicates that the state of the EO is resumed from the standby state.
Definition: clEoConfigApi.h:129
@ CL_EO_STATE_SUSPEND
This indicates that the EO is in suspended state.
Definition: clEoConfigApi.h:114
@ CL_EO_STATE_BITS
All states.
Definition: clEoConfigApi.h:144
@ CL_EO_STATE_INIT
This indicates the initial state of the EO.
Definition: clEoConfigApi.h:99
@ CL_EO_STATE_THREAD_SAFE
This indicates that the EO is thread safe.
Definition: clEoConfigApi.h:139
@ CL_EO_STATE_KILL
This indicates that the EO is in killed state.
Definition: clEoConfigApi.h:124
@ CL_EO_USE_THREAD_FOR_APP
Give main thread to user application.
Definition: clEoConfigApi.h:164
@ CL_EO_USE_THREAD_FOR_RECV
Use main thread for RMD message receive.
Definition: clEoConfigApi.h:156
@ CL_EO_DONT_POLL
This indicated that the Component Manager will stop heartbeat of an EO if CL_CPM_DONT_POLL is receive...
Definition: clEoConfigApi.h:174
@ CL_EO_BUSY_POLL
This indicated that the Component Manager will increase heartbeat timeout to maximum polling timeout.
Definition: clEoConfigApi.h:180
@ CL_EO_DEFAULT_POLL
This indicated that the Component Manager will continue with default heartbeat timeout.
Definition: clEoConfigApi.h:186
ClUint32T ClIocPortT
The IOC communication port.
Definition: clIocApi.h:348
ClOsalThreadPriorityT
The following enumeration type contains the various thread priorities.
Definition: clOsalApi.h:295
Feedback sent by the software component being polled in response of heartbeat [is-Alive].
Definition: clEoConfigApi.h:194
ClRcT status
This indicates the health of the EO.
Definition: clEoConfigApi.h:204
ClEoPollingTypeT freq
This indicates the polling Type ClEoPollingTypeT.
Definition: clEoConfigApi.h:199
This structure is passed during the clEoCreate API and contains the EO related configuration paramete...
Definition: clEoConfigApi.h:272
ClEoApplicationTypeT appType
Indicates whether the application needs main thread or not.
Definition: clEoConfigApi.h:302
ClOsalThreadPriorityT pri
Indicates the EO thread priority.
Definition: clEoConfigApi.h:282
ClIocPortT reqIocPort
The requested IOC communication port.
Definition: clEoConfigApi.h:292
ClEoCustomActionT clEoCustomAction
Application function that has to be called when a Water Mark has been hit.
Definition: clEoConfigApi.h:332
ClUint32T noOfThreads
Indicates the number of RMD threads.
Definition: clEoConfigApi.h:287
ClEoAppDeleteCallbackT clEoDeleteCallout
Application function that is called when EO needs to be terminated.
Definition: clEoConfigApi.h:314
ClUint32T maxNoClients
Indicates the maximum number of EO client.
Definition: clEoConfigApi.h:297
ClEoAppStateChgCallbackT clEoStateChgCallout
Application function that is called when EO is moved into the suspended state.
Definition: clEoConfigApi.h:320
ClEoAppHealthCheckCallbackT clEoHealthCheckCallout
Application function that is called when EO healthcheck is performed by Component Manager.
Definition: clEoConfigApi.h:326
ClEoAppCreateCallbackT clEoCreateCallout
Application function that is called from main during the initialization process.
Definition: clEoConfigApi.h:308