GenApi 3.5.1
EventAdapter1394.h
1//-----------------------------------------------------------------------------
2// (c) 2006 by Basler Vision Technologies
3// Author: Hartmut Nebelung
4//
5// License: This file is published under the license of the EMVA GenICam Standard Group.
6// A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
7// If for some reason you are missing this file please contact the EMVA or visit the website
8// (http://www.genicam.org) for a full copy.
9//
10// THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
11// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
12// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
13// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
14// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
15// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
16// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
17// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
18// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
19// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
20// POSSIBILITY OF SUCH DAMAGE.
21//
22//-----------------------------------------------------------------------------
27#ifndef __EVENTADAPTER1394_H__
28#define __EVENTADAPTER1394_H__
29
30
31#include <GenApi/EventAdapter.h>
32
33
34namespace GENAPI_NAMESPACE
35{
36 // the opaque event data on IEEE 1394
37 struct EventData1394;
38
41 {
42 public:
44 explicit CEventAdapter1394( INodeMap* pNodeMap=NULL );
47 private:
52
53 public:
54 virtual void DeliverMessage( const uint8_t msg[], uint32_t numBytes );
56 void DeliverEventMessage( EventData1394& Event, uint32_t numBytes );
57 private:
58 struct EventAdapter1394Impl;
59 EventAdapter1394Impl* m_pImpl;
60 };
61}
62#endif //__EVENTADAPTER1394_H__
Declaration of the CEventAdapter class.
virtual IBoolean & operator=(bool Value)
Set node value.
Definition IBoolean.h:62
Distribute the events to the node map.
Definition EventAdapter1394.h:41
void DeliverEventMessage(EventData1394 &Event, uint32_t numBytes)
distributes events to node map
CEventAdapter1394(INodeMap *pNodeMap=NULL)
constructor
Delivers Events to ports.
Definition EventAdapter.h:46