All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EventAdapterGeneric.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------------
2 // (c) 2006 by Leutron Vision
3 // Project: GenApi
4 // Author: Jan Becvar
5 // $Header$
6 //
7 // License: This file is published under the license of the EMVA GenICam Standard Group.
8 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
9 // If for some reason you are missing this file please contact the EMVA or visit the website
10 // (http://www.genicam.org) for a full copy.
11 //
12 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
13 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
14 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
15 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
16 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
17 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
18 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
19 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
20 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
21 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
22 // POSSIBILITY OF SUCH DAMAGE.
23 //-----------------------------------------------------------------------------
29 #ifndef GENAPI_EVENTADAPTERGENERIC_H
30 #define GENAPI_EVENTADAPTERGENERIC_H
31 
32 #include <GenApi/EventAdapter.h>
33 
34 namespace GENAPI_NAMESPACE
35 {
38  {
39  public:
41  CEventAdapterGeneric(INodeMap* pNodeMap = NULL);
42 
44  virtual ~CEventAdapterGeneric();
45  private:
46  CEventAdapterGeneric(const CEventAdapterGeneric&); // copy constructor is not implemented
47  CEventAdapterGeneric& operator =(const CEventAdapterGeneric&); // assignment operator is not implemented
48  public:
49  // Does not have implementation, use the version with EventID
50  virtual void DeliverMessage(const uint8_t msg[], uint32_t numBytes);
51 
52  virtual void DeliverMessage(const uint8_t msg[], uint32_t numBytes, const GENICAM_NAMESPACE::gcstring& EventID);
53 
54  virtual void DeliverMessage(const uint8_t msg[], uint32_t numBytes, uint64_t EventID);
55  private:
57  uint8_t *m_pEventIDBuffer;
58 
61 
62  };
63 }
64 
65 #endif // GENAPI_EVENTADAPTERGENERIC_H
GENAPI_NAMESPACE
Lexical analyzer for CIntSwissKnife.
Definition: Destructible.h:30
EventAdapter.h
Declaration of the CEventAdapter class.
GENICAM_NAMESPACE::gcstring
A string class which is a clone of std::string.
Definition: GCString.h:52
GENAPI_NAMESPACE::CEventAdapterGeneric
Connects a generic event to a node map.
Definition: EventAdapterGeneric.h:37
GENAPI_NAMESPACE::CEventAdapter
Delivers Events to ports.
Definition: EventAdapter.h:47
GENAPI_DECL
#define GENAPI_DECL
Definition: GenApiDll.h:55
GENAPI_NAMESPACE::CEventAdapterGeneric::m_pEventIDBuffer
uint8_t * m_pEventIDBuffer
Binary version of the EventID.
Definition: EventAdapterGeneric.h:57
GENAPI_NAMESPACE::INodeMap
GENICAM_INTERFACE INodeMap
Interface to access the node map.
Definition: INode.h:52
GENAPI_NAMESPACE::CEventAdapterGeneric::m_AllocEventIDLength
int m_AllocEventIDLength
Length of the EventID buffer.
Definition: EventAdapterGeneric.h:60
GENAPI_NAMESPACE::operator=
virtual IBoolean & operator=(bool Value)
Set node value.
Definition: IBoolean.h:64


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11