31 #ifndef GENAPI_EVENTPORT_H 32 #define GENAPI_EVENTPORT_H 98 int GetEventIDLength();
101 bool CheckEventID(uint8_t* pEventIDBuffer,
int EventIDLength)
const;
104 bool CheckEventID(uint64_t EventID)
const;
107 void AttachEvent(uint8_t *pBaseAddress,
int64_t Length);
116 void ResetEventDataBuffer();
131 # pragma warning( push ) 132 # pragma warning( disable: 4251 ) 137 # pragma warning( pop ) 157 #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
virtual EYesNo GetSwapEndianess()=0
Determines if the port adapter must perform an endianess swap.
int64_t m_EventDataLength
Length of the data.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t Address
int m_EventIDLength
Length of the EventID buffer.
uint8_t * m_pEventData
Pointer to the begin of the buffer.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStacked
Interface for ports.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t int64_t Length
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.
Port attachable to an event.
Definition of template CPointer.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPort
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
GENICAM_INTERFACE INode
Interface common to all nodes.
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)=0
Writes a chunk of bytes to the port.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortConstruct
Interface for ports.
int64_t m_EventDataAlloc
Space allocated for the data.
Lexical analyzer for CIntSwissKnife.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
virtual CLock & GetLock() const =0
Returns the lock which guards the node map.