![]() |
GenApi
3.5.1
|
Port attachable to an event.
Inherits IPortConstruct.
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 (GENAPI_NAMESPACE::IPort *pPort) |
| Called from the port node to give the chunk port a pointer to itself. | |
| virtual void | SetPortImpl (GENAPI_NAMESPACE::IPortStacked *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 endianess swap. | |
| bool | AttachNode (GENAPI_NAMESPACE::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) const |
| Checks if a EventID matches. | |
| bool | CheckEventID (uint64_t EventID) const |
| 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. | |
1.8.13