Spinnaker SDK C++
4.3.0.189
 
Public Member Functions | Protected Attributes | List of all members

Port attachable to an event. More...

Inheritance diagram for CEventPort:

Public Member Functions

 CEventPort (INode *pNode=NULL)
 Constructor; can attach to a node. More...
 
 ~CEventPort ()
 Destructor; detaches from the port. More...
 
virtual EAccessMode GetAccessMode () const
 Get the access mode of the node. More...
 
virtual EInterfaceType GetPrincipalInterfaceType () const
 Get the type of the main interface of a node. More...
 
virtual void Read (void *pBuffer, int64_t Address, int64_t Length)
 Reads a chunk of bytes from the port. More...
 
virtual void Write (const void *pBuffer, int64_t Address, int64_t Length)
 Writes a chunk of bytes to the port. More...
 
virtual void SetPortImpl (::Spinnaker::GenApi::IPort *pPort)
 Called from the port node to give the chunk port a pointer to itself. More...
 
virtual EYesNo GetSwapEndianess ()
 Determines if the port adapter must perform an endianness swap. More...
 
void InvalidateNode ()
 
bool AttachNode (::Spinnaker::GenApi::INode *pNode)
 Attaches to the Node. More...
 
void DetachNode ()
 Detaches from the Node. More...
 
int GetEventIDLength ()
 Gets the EventID length. More...
 
bool CheckEventID (uint8_t *pEventIDBuffer, int EventIDLength)
 Checks if a EventID matches. More...
 
bool CheckEventID (uint64_t EventID)
 Checks if a EventID matches, version using uint64_t ID representation. More...
 
void AttachEvent (uint8_t *pBaseAddress, int64_t Length)
 Attaches the an Event to the EventPort. More...
 
void DetachEvent ()
 Detaches the Event from the EventPort. More...
 

Protected Attributes

CNodePtr m_pNode
 
std::shared_ptr< PortAdapter > m_pPortAdapter
 
void * m_pEventPort
 

Detailed Description

Port attachable to an event.

Constructor & Destructor Documentation

◆ CEventPort()

CEventPort ( INode pNode = NULL)

Constructor; can attach to a node.

◆ ~CEventPort()

~CEventPort ( )

Destructor; detaches from the port.

Member Function Documentation

◆ AttachEvent()

void AttachEvent ( uint8_t *  pBaseAddress,
int64_t  Length 
)

Attaches the an Event to the EventPort.

◆ AttachNode()

bool AttachNode ( ::Spinnaker::GenApi::INode pNode)

Attaches to the Node.

◆ CheckEventID() [1/2]

bool CheckEventID ( uint64_t  EventID)

Checks if a EventID matches, version using uint64_t ID representation.

◆ CheckEventID() [2/2]

bool CheckEventID ( uint8_t *  pEventIDBuffer,
int  EventIDLength 
)

Checks if a EventID matches.

◆ DetachEvent()

void DetachEvent ( )

Detaches the Event from the EventPort.

◆ DetachNode()

void DetachNode ( )

Detaches from the Node.

◆ GetAccessMode()

virtual EAccessMode GetAccessMode ( ) const
virtual

Get the access mode of the node.

◆ GetEventIDLength()

int GetEventIDLength ( )

Gets the EventID length.

◆ GetPrincipalInterfaceType()

virtual EInterfaceType GetPrincipalInterfaceType ( ) const
virtual

Get the type of the main interface of a node.

◆ GetSwapEndianess()

virtual EYesNo GetSwapEndianess ( )
inlinevirtual

Determines if the port adapter must perform an endianness swap.

◆ InvalidateNode()

void InvalidateNode ( )

◆ Read()

virtual void Read ( void *  pBuffer,
int64_t  Address,
int64_t  Length 
)
virtual

Reads a chunk of bytes from the port.

◆ SetPortImpl()

virtual void SetPortImpl ( ::Spinnaker::GenApi::IPort pPort)
virtual

Called from the port node to give the chunk port a pointer to itself.

◆ Write()

virtual void Write ( const void *  pBuffer,
int64_t  Address,
int64_t  Length 
)
virtual

Writes a chunk of bytes to the port.

Member Data Documentation

◆ m_pEventPort

void* m_pEventPort
protected

◆ m_pNode

CNodePtr m_pNode
protected

◆ m_pPortAdapter

std::shared_ptr<PortAdapter> m_pPortAdapter
protected

The documentation for this class was generated from the following file: