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