31 #ifndef GENAPI_EVENTPORT_H 32 #define GENAPI_EVENTPORT_H 95 int GetEventIDLength();
98 bool CheckEventID(uint8_t* pEventIDBuffer,
int EventIDLength)
const;
101 bool CheckEventID(uint64_t EventID)
const;
104 void AttachEvent(uint8_t *pBaseAddress,
int64_t Length);
113 void ResetEventDataBuffer();
128 # pragma warning( push ) 129 # pragma warning( disable: 4251 ) 134 # pragma warning( pop ) 154 #endif // GENAPI_EVENTPORT_H uint8_t * m_pEventIDBuffer
Binary version of the EventID.
virtual void InvalidateNode()=0
Indicates that the node's value may have changed.
bool m_IsAttachedToPortNode
indicates if the object is attached to a port node or another node type
interface GENAPI_DECL_ABSTRACT IPort
Interface for ports.
int64_t m_EventDataLength
Length of the data.
int m_EventIDLength
Length of the EventID buffer.
uint8_t * m_pEventData
Pointer to the begin of the buffer.
interface GENAPI_DECL_ABSTRACT int64_t Address
enum GENAPI_NAMESPACE::_EYesNo EYesNo
Defines the choices of a Yes/No alternatives.
bool m_EventIDNumberValid
indicates if the m_EventIDNumber is valid (could be invalid eg. if the ID does not fit in 64-bit rang...
Definition of interface INodeMap.
uint64_t m_EventIDNumber
Event ID stored as a number (for more straightforward access)
Definition of interface IPortConstruct.
interface GENAPI_DECL_ABSTRACT int64_t int64_t Length
Port attachable to an event.
Definition of template CPointer.
interface GENAPI_DECL_ABSTRACT IPortConstruct
Interface for ports.
virtual EInterfaceType GetPrincipalInterfaceType() const =0
Get the type of the main interface of a node.
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
access mode of a node
virtual EYesNo GetSwapEndianess()=0
Determines if the port adapter must perform an endianess swap.
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)=0
Writes a chunk of bytes to the port.
interface GENAPI_DECL_ABSTRACT INode
Interface common to all nodes.
int64_t m_EventDataAlloc
Space allocated for the data.
Part of the generic device API.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
virtual CLock & GetLock() const =0
Returns the lock which guards the node map.