types.h
// SPDX-License-Identifier: MIT
-
struct elosEventDispatcher
[source]
Data structure of an EventDispatcher
-
safuFlags_t flags
[source]
contains the component status bits, e.g. initialized, active
-
pthread_mutex_t lock
[source]
mutex for ensuring thread safe access to the EventDispatcher
-
int sync
[source]
eventfd used for synchronization between EventDispatcher and its worker thread
-
elosEventDispatcherWorker_t worker
[source]
data structure for the EventDispatcher worker thread
-
int eventBufferPtrVector
[source]
contains the EventBuffers the EventDispatcher is monitoring
-
int *eventProcessor
[source]
the EventProcessor the Events shall be dispatched to
-
struct elosEventDispatcherParam
[source]
Parameter for EventDispatcher initialization
-
int *eventProcessor
[source]
The EventProcessor the Events shall be dispatched to
-
const struct timespec *pollTimeout
[source]
Timeout for the poll() command that is waiting for eventfd writes
Can be NULL, in this case ELOS_EVENTDISPATCHER_DEFAULT_POLL_TIMEOUT is used.
-
const struct timespec *healthTimeInterval
[source]
Minimum time interval for health events to be published (can be more).
Can be NULL, in this case ELOS_EVENTDISPATCHER_DEFAULT_HEALTH_INTERVAL is used.
-
struct elosEventDispatcherParam_t
[source]
Parameter for EventDispatcher initialization
-
int *eventProcessor
[source]
The EventProcessor the Events shall be dispatched to
-
const struct timespec *pollTimeout
[source]
Timeout for the poll() command that is waiting for eventfd writes
Can be NULL, in this case ELOS_EVENTDISPATCHER_DEFAULT_POLL_TIMEOUT is used.
-
const struct timespec *healthTimeInterval
[source]
Minimum time interval for health events to be published (can be more).
Can be NULL, in this case ELOS_EVENTDISPATCHER_DEFAULT_HEALTH_INTERVAL is used.
-
struct elosEventDispatcherWorker
[source]
Data structure of an EventDispatcher’s worker thread
-
pthread_t thread
[source]
Posix thread identifiert
-
int trigger
[source]
Eventfd used for synchronization between worker thread and the EventDispatcher
-
struct timespec pollTimeout
[source]
Timeout for the poll() command that is waiting for eventfd writes
-
struct timespec healthTimeInterval
[source]
Minimum time interval for health events to be published (can be more)
-
struct timespec healthTimeTreshold
[source]
Timestamp used for testing if a health event needs to be published
-
int eventsPublished
[source]
Published events since the last health event
-
struct elosEventDispatcherWorker_t
[source]
Data structure of an EventDispatcher’s worker thread
-
pthread_t thread
[source]
Posix thread identifiert
-
int trigger
[source]
Eventfd used for synchronization between worker thread and the EventDispatcher
-
struct timespec pollTimeout
[source]
Timeout for the poll() command that is waiting for eventfd writes
-
struct timespec healthTimeInterval
[source]
Minimum time interval for health events to be published (can be more)
-
struct timespec healthTimeTreshold
[source]
Timestamp used for testing if a health event needs to be published
-
int eventsPublished
[source]
Published events since the last health event
-
struct elosEventDispatcher_t
[source]
Data structure of an EventDispatcher
-
safuFlags_t flags
[source]
contains the component status bits, e.g. initialized, active
-
pthread_mutex_t lock
[source]
mutex for ensuring thread safe access to the EventDispatcher
-
int sync
[source]
eventfd used for synchronization between EventDispatcher and its worker thread
-
elosEventDispatcherWorker_t worker
[source]
data structure for the EventDispatcher worker thread
-
int eventBufferPtrVector
[source]
contains the EventBuffers the EventDispatcher is monitoring
-
int *eventProcessor
[source]
the EventProcessor the Events shall be dispatched to