Port attachable to an event.
More...
#include <EventPort.h>
Port attachable to an event.
Definition at line 45 of file EventPort.h.
GENAPI_NAMESPACE::CEventPort::CEventPort |
( |
INode * |
pNode = NULL | ) |
|
Constructor; can attach to a node.
GENAPI_NAMESPACE::CEventPort::~CEventPort |
( |
| ) |
|
Destructor; detaches from the port.
void GENAPI_NAMESPACE::CEventPort::AttachEvent |
( |
uint8_t * |
pBaseAddress, |
|
|
int64_t |
Length |
|
) |
| |
Attaches the an Event to the EventPort.
bool GENAPI_NAMESPACE::CEventPort::CheckEventID |
( |
uint8_t * |
pEventIDBuffer, |
|
|
int |
EventIDLength |
|
) |
| const |
Checks if a EventID matches.
bool GENAPI_NAMESPACE::CEventPort::CheckEventID |
( |
uint64_t |
EventID | ) |
const |
Checks if a EventID matches, version using uint64_t ID representation.
void GENAPI_NAMESPACE::CEventPort::DetachEvent |
( |
| ) |
|
Detaches the Event from the EventPort.
void GENAPI_NAMESPACE::CEventPort::DetachNode |
( |
| ) |
|
virtual EAccessMode GENAPI_NAMESPACE::CEventPort::GetAccessMode |
( |
| ) |
const |
|
virtual |
Get the access mode of the node.
int GENAPI_NAMESPACE::CEventPort::GetEventIDLength |
( |
| ) |
|
CLock& GENAPI_NAMESPACE::CEventPort::GetLock |
( |
| ) |
const |
|
protected |
virtual EInterfaceType GENAPI_NAMESPACE::CEventPort::GetPrincipalInterfaceType |
( |
| ) |
const |
|
virtual |
Get the type of the main interface of a node.
virtual EYesNo GENAPI_NAMESPACE::CEventPort::GetSwapEndianess |
( |
| ) |
|
|
virtual |
Determines if the port adapter must perform an endianess swap.
void GENAPI_NAMESPACE::CEventPort::InvalidateNode |
( |
| ) |
|
virtual void GENAPI_NAMESPACE::CEventPort::Read |
( |
void * |
pBuffer, |
|
|
int64_t |
Address, |
|
|
int64_t |
Length |
|
) |
| |
|
virtual |
Reads a chunk of bytes from the port.
void GENAPI_NAMESPACE::CEventPort::ResetEventDataBuffer |
( |
| ) |
|
|
private |
Called from the port node to give the chunk port a pointer to itself.
Called from the port node to give the chunk port a pointer to itself.
virtual void GENAPI_NAMESPACE::CEventPort::Write |
( |
const void * |
pBuffer, |
|
|
int64_t |
Address, |
|
|
int64_t |
Length |
|
) |
| |
|
virtual |
Writes a chunk of bytes to the port.
int64_t GENAPI_NAMESPACE::CEventPort::m_EventDataAlloc |
|
private |
Space allocated for the data.
Definition at line 129 of file EventPort.h.
int64_t GENAPI_NAMESPACE::CEventPort::m_EventDataLength |
|
private |
int GENAPI_NAMESPACE::CEventPort::m_EventIDLength |
|
private |
Length of the EventID buffer.
Definition at line 144 of file EventPort.h.
uint64_t GENAPI_NAMESPACE::CEventPort::m_EventIDNumber |
|
private |
Event ID stored as a number (for more straightforward access)
Definition at line 150 of file EventPort.h.
bool GENAPI_NAMESPACE::CEventPort::m_EventIDNumberValid |
|
private |
indicates if the m_EventIDNumber is valid (could be invalid eg. if the ID does not fit in 64-bit range)
Definition at line 153 of file EventPort.h.
bool GENAPI_NAMESPACE::CEventPort::m_IsAttachedToPortNode |
|
private |
indicates if the object is attached to a port node or another node type
Definition at line 147 of file EventPort.h.
uint8_t* GENAPI_NAMESPACE::CEventPort::m_pEventData |
|
private |
Pointer to the begin of the buffer.
Definition at line 123 of file EventPort.h.
uint8_t* GENAPI_NAMESPACE::CEventPort::m_pEventIDBuffer |
|
private |
Binary version of the EventID.
Definition at line 141 of file EventPort.h.
CNodePtr GENAPI_NAMESPACE::CEventPort::m_ptrNode |
|
private |
Pointer to the node holding a reference to this implementation.
Definition at line 135 of file EventPort.h.
The documentation for this class was generated from the following file: