EventAdapter.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------------
2 // (c) 2006 by Basler Vision Technologies
3 // Section: Vision Components
4 // Project: GenApi
5 // Author: Fritz Dierks
6 // $Header$
7 //
8 // License: This file is published under the license of the EMVA GenICam Standard Group.
9 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
10 // If for some reason you are missing this file please contact the EMVA or visit the website
11 // (http://www.genicam.org) for a full copy.
12 //
13 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
14 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
17 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
23 // POSSIBILITY OF SUCH DAMAGE.
24 //-----------------------------------------------------------------------------
31 #ifndef GENAPI_EVENTADAPTER_H
32 #define GENAPI_EVENTADAPTER_H
33 
34 #include <GenApi/Types.h>
35 #include <GenApi/INodeMap.h>
36 #include <GenApi/EventPort.h>
37 
38 #include <vector>
39 
40 namespace GENAPI_NAMESPACE
41 {
42 
48  {
49 
50  public:
52  CEventAdapter(INodeMap* pNodeMap = NULL);
53 
55  virtual ~CEventAdapter();
56 
58  virtual void AttachNodeMap(INodeMap* pNodeMap);
59 
61  virtual void DetachNodeMap();
62 
64  virtual void DeliverMessage( const uint8_t msg[], uint32_t numBytes ) = 0;
65 
66 
67  protected:
69 
70  std::vector<CEventPort*> *m_ppEventPorts;
71  };
72 
73 }
74 
75 #endif // GENAPI_EVENTADAPTER_H
Common types used in the public GenApi interface.
Declaration of the CEventPort class.
interface GENAPI_DECL_ABSTRACT INodeMap
Interface to access the node map.
Definition: INodeMap.h:56
std::vector< CEventPort * > * m_ppEventPorts
An array of attached ChunkPorts.
Definition: EventAdapter.h:70
#define GENAPI_DECL
Definition: GenApiDll.h:55
Definition of interface INodeMap.
Part of the generic device API.
Definition: Autovector.h:48
Delivers Events to ports.
Definition: EventAdapter.h:47


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:54