Delivers Events to ports. More...
#include <EventAdapter.h>
Public Member Functions | |
virtual void | AttachNodeMap (INodeMap *pNodeMap) |
Attaches to a node map and retrieves the chunk ports. | |
CEventAdapter (INodeMap *pNodeMap=NULL) | |
Constructor. | |
virtual void | DeliverMessage (const uint8_t msg[], uint32_t numBytes)=0 |
Deliver message. | |
virtual void | DetachNodeMap () |
Detaches from the node emap. | |
virtual | ~CEventAdapter () |
Destructor. | |
Protected Attributes | |
std::vector< CEventPort * > * | m_ppEventPorts |
An array of attached ChunkPorts. |
Delivers Events to ports.
Definition at line 47 of file EventAdapter.h.
GENAPI_NAMESPACE::CEventAdapter::CEventAdapter | ( | INodeMap * | pNodeMap = NULL | ) |
Constructor.
virtual GENAPI_NAMESPACE::CEventAdapter::~CEventAdapter | ( | ) | [virtual] |
Destructor.
virtual void GENAPI_NAMESPACE::CEventAdapter::AttachNodeMap | ( | INodeMap * | pNodeMap | ) | [virtual] |
Attaches to a node map and retrieves the chunk ports.
virtual void GENAPI_NAMESPACE::CEventAdapter::DeliverMessage | ( | const uint8_t | msg[], |
uint32_t | numBytes | ||
) | [pure virtual] |
Deliver message.
Implemented in GENAPI_NAMESPACE::CEventAdapterGEV, GENAPI_NAMESPACE::CEventAdapterCL, GENAPI_NAMESPACE::CEventAdapterU3V, GENAPI_NAMESPACE::CEventAdapter1394, and GENAPI_NAMESPACE::CEventAdapterGeneric.
virtual void GENAPI_NAMESPACE::CEventAdapter::DetachNodeMap | ( | ) | [virtual] |
Detaches from the node emap.
std::vector<CEventPort*>* GENAPI_NAMESPACE::CEventAdapter::m_ppEventPorts [protected] |
An array of attached ChunkPorts.
Note that this must be a pointer otherwise we'll get into DLL hell (see warning C4251)
Definition at line 70 of file EventAdapter.h.