Crinit -- Configurable Rootfs Init
crinitElosEventThread Struct Reference
Collaboration diagram for crinitElosEventThread:
Collaboration graph

Public Attributes

pthread_t threadId
 Thread identifier. More...
 
char * elosServer
 Elos server name or ip. More...
 
int elosPort
 Elos server port. More...
 
bool elosStarted
 Wether or not an initial conenction to elos has been established. More...
 
crinitTaskDB_ttaskDb
 Pointer to crinit task database. More...
 
crinitElosSession_tsession
 Elos session handle. More...
 
crinitSafuResultE_t(* connect )(const char *, uint16_t, crinitElosSession_t **)
 Function pointer to the elosConnectTcpip function. More...
 
crinitSafuResultE_t(* getVersion )(crinitElosSession_t *, const char **)
 Function pointer to the elosGetVersion function. More...
 
crinitSafuResultE_t(* eventSubscribe )(crinitElosSession_t *, const char *[], size_t, crinitElosEventQueueId_t *)
 Function pointer to the elosEventSubscribe function. More...
 
crinitSafuResultE_t(* eventUnsubscribe )(crinitElosSession_t *, crinitElosEventQueueId_t)
 Function pointer to the elosEventUnsubscribe function. More...
 
crinitSafuResultE_t(* eventQueueRead )(crinitElosSession_t *, crinitElosEventQueueId_t, crinitElosEventVector_t **)
 Function pointer to the elosEventQueueRead function. More...
 
void *(* eventVecGetLast )(const crinitElosEventVector_t *)
 Function pointer to the safuVecGetLast function. More...
 
void(* eventVectorDelete )(crinitElosEventVector_t *)
 Function pointer to the elosEventVectorDelete function. More...
 
crinitSafuResultE_t(* disconnect )(crinitElosSession_t *)
 Function pointer to the elosDisconnect function. More...
 

Detailed Description

Thread conext of the elosio main thread and elos vtable.

Member Data Documentation

◆ connect

crinitSafuResultE_t(* crinitElosEventThread::connect) (const char *, uint16_t, crinitElosSession_t **)

Function pointer to the elosConnectTcpip function.

◆ disconnect

crinitSafuResultE_t(* crinitElosEventThread::disconnect) (crinitElosSession_t *)

Function pointer to the elosDisconnect function.

◆ elosPort

int crinitElosEventThread::elosPort

Elos server port.

◆ elosServer

char* crinitElosEventThread::elosServer

Elos server name or ip.

◆ elosStarted

bool crinitElosEventThread::elosStarted

Wether or not an initial conenction to elos has been established.

◆ eventQueueRead

Function pointer to the elosEventQueueRead function.

◆ eventSubscribe

crinitSafuResultE_t(* crinitElosEventThread::eventSubscribe) (crinitElosSession_t *, const char *[], size_t, crinitElosEventQueueId_t *)

Function pointer to the elosEventSubscribe function.

◆ eventUnsubscribe

crinitSafuResultE_t(* crinitElosEventThread::eventUnsubscribe) (crinitElosSession_t *, crinitElosEventQueueId_t)

Function pointer to the elosEventUnsubscribe function.

◆ eventVecGetLast

void*(* crinitElosEventThread::eventVecGetLast) (const crinitElosEventVector_t *)

Function pointer to the safuVecGetLast function.

◆ eventVectorDelete

void(* crinitElosEventThread::eventVectorDelete) (crinitElosEventVector_t *)

Function pointer to the elosEventVectorDelete function.

◆ getVersion

crinitSafuResultE_t(* crinitElosEventThread::getVersion) (crinitElosSession_t *, const char **)

Function pointer to the elosGetVersion function.

◆ session

crinitElosSession_t* crinitElosEventThread::session

Elos session handle.

◆ taskDb

crinitTaskDB_t* crinitElosEventThread::taskDb

Pointer to crinit task database.

◆ threadId

pthread_t crinitElosEventThread::threadId

Thread identifier.


The documentation for this struct was generated from the following file: