Class Spinnaker::GenApi::CEventPort¶
ClassList > GenApi > CEventPort
Port attachable to an event.
#include <EventPort.h>
Inherits the following classes: IPortConstruct
Public Functions¶
| Type | Name |
|---|---|
| void | AttachEvent (uint8_t * pBaseAddress, int64_t Length) |
| bool | AttachNode (::Spinnaker::GenApi::INode * pNode) |
| CEventPort (INode * pNode=NULL) |
|
| bool | CheckEventID (uint8_t * pEventIDBuffer, int EventIDLength) |
| bool | CheckEventID (uint64_t EventID) |
| void | DetachEvent () |
| void | DetachNode () |
| virtual EAccessMode | GetAccessMode () const |
| int | GetEventIDLength () |
| virtual EInterfaceType | GetPrincipalInterfaceType () const |
| virtual EYesNo | GetSwapEndianess () |
| void | InvalidateNode () |
| virtual void | Read (void * pBuffer, int64_t Address, int64_t Length) |
| virtual void | SetPortImpl (::Spinnaker::GenApi::IPort * pPort) |
| virtual void | Write (const void * pBuffer, int64_t Address, int64_t Length) |
| ~CEventPort () |
Protected Attributes¶
| Type | Name |
|---|---|
| void * | m_pEventPort |
| CNodePtr | m_pNode |
| std::shared_ptr< PortAdapter > | m_pPortAdapter |
Public Functions Documentation¶
function AttachEvent¶
Attaches the an Event to the EventPort
function AttachNode¶
Attaches to the Node
function CEventPort¶
Constructor; can attach to a node
function CheckEventID [1/2]¶
Checks if a EventID matches
function CheckEventID [2/2]¶
Checks if a EventID matches, version using uint64_t ID representation
function DetachEvent¶
Detaches the Event from the EventPort
function DetachNode¶
Detaches from the Node
function GetAccessMode¶
Get the access mode of the node
function GetEventIDLength¶
Gets the EventID length
function GetPrincipalInterfaceType¶
Get the type of the main interface of a node
function GetSwapEndianess¶
Determines if the port adapter must perform an endianness swap
function InvalidateNode¶
function Read¶
Reads a chunk of bytes from the port
function SetPortImpl¶
Called from the port node to give the chunk port a pointer to itself
function Write¶
Writes a chunk of bytes to the port
function ~CEventPort¶
Destructor; detaches from the port
Protected Attributes Documentation¶
variable m_pEventPort¶
variable m_pNode¶
variable m_pPortAdapter¶
The documentation for this class was generated from the following file /workspace/include/SpinGenApi/EventPort.h