28#ifndef GENAPI_EVENTADAPTERCL_H
29#define GENAPI_EVENTADAPTERCL_H
33namespace GENAPI_NAMESPACE
40 #if defined( _MSC_VER )
42 #elif defined (__GNUC__)
45 #define PACK_STRUCT __attribute__((packed))
47 # error Unknown platform
73 uint16_t ReservedOrEventSize;
82 uint16_t ReservedOrEventSize;
98 const uint16_t CL_EVENT_PREAMBLE = 0x0100;
99 const uint16_t CL_EVENT_CMD_ID = 0x0C00;
118 virtual void DeliverMessage(
const uint8_t msg[], uint32_t numBytes );
Declaration of the CEventAdapter class.
Connects a U3V Event to a node map.
Definition EventAdapterCL.h:110
virtual ~CEventAdapterCL()
Destructor.
CEventAdapterCL(INodeMap *pNodeMap=NULL)
Constructor.
void DeliverEventData(const CL_EVENT_DATA *pEventData, uint16_t length)
Delivers the Event + Data listed in the packet.
Delivers Events to ports.
Definition EventAdapter.h:46
CL/GenCP command header.
Definition EventAdapterCL.h:55
CL/GenCP EVENT_CMD specific command data WITH event specific data.
Definition EventAdapterCL.h:80
CL/GenCP EVENT_CMD specific command data WITHOUT event specific data.
Definition EventAdapterCL.h:71
Entire event data message.
Definition EventAdapterCL.h:90