29 #ifndef GENAPI_EVENTPORT_H 30 #define GENAPI_EVENTPORT_H 67 virtual void Read(
void *pBuffer, int64_t Address, int64_t Length);
70 virtual void Write(
const void *pBuffer, int64_t Address, int64_t Length);
99 int GetEventIDLength();
102 bool CheckEventID(uint8_t* pEventIDBuffer,
int EventIDLength)
const;
105 bool CheckEventID(uint64_t EventID)
const;
108 void AttachEvent(uint8_t *pBaseAddress, int64_t Length);
117 void ResetEventDataBuffer();
124 uint8_t *m_pEventData;
127 int64_t m_EventDataLength;
130 int64_t m_EventDataAlloc;
132 # pragma warning( push ) 133 # pragma warning( disable: 4251 ) 138 # pragma warning( pop ) 142 uint8_t *m_pEventIDBuffer;
148 bool m_IsAttachedToPortNode;
151 uint64_t m_EventIDNumber;
154 bool m_EventIDNumberValid;
158 #endif // GENAPI_EVENTPORT_H GENICAM_INTERFACE INode
Interface common to all nodes.
Definition: ICategory.h:49
enum GENAPI_NAMESPACE::_EYesNo EYesNo
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortConstruct
Interface for ports.
Definition: IPortConstruct.h:50
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPort
Interface for ports.
Definition: IPort.h:55
virtual EYesNo GetSwapEndianess()=0
Determines if the port adapter must perform an endianess swap.
Definition of interface INodeMap.
virtual EInterfaceType GetPrincipalInterfaceType() const =0
Get the type of the main interface of a node.
virtual void InvalidateNode()=0
Indicates that the node's value may have changed.
Definition of interface IPortConstruct.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStacked
Interface for ports.
Definition: IPortStacked.h:62
virtual CLock & GetLock() const =0
Returns the lock which guards the node map.
Port attachable to an event.
Definition: EventPort.h:43
Definition of template CPointer.
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)=0
Writes a chunk of bytes to the port.
Definition: ChunkAdapter.h:37
A lock class.
Definition: Synch.h:61