EventAdapterGeneric.h
Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 //  (c) 2006 by Leutron Vision
00003 //  Project:  GenApi
00004 //    Author:  Jan Becvar
00005 //  $Header$
00006 //
00007 //  License: This file is published under the license of the EMVA GenICam  Standard Group.
00008 //  A text file describing the legal terms is included in  your installation as 'GenICam_license.pdf'.
00009 //  If for some reason you are missing  this file please contact the EMVA or visit the website
00010 //  (http://www.genicam.org) for a full copy.
00011 //
00012 //  THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
00013 //  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00014 //  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00015 //  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD  GROUP
00016 //  OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,  SPECIAL,
00017 //  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT  LIMITED TO,
00018 //  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,  DATA, OR PROFITS;
00019 //  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY  THEORY OF LIABILITY,
00020 //  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT  (INCLUDING NEGLIGENCE OR OTHERWISE)
00021 //  ARISING IN ANY WAY OUT OF THE USE  OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00022 //  POSSIBILITY OF SUCH DAMAGE.
00023 //-----------------------------------------------------------------------------
00029 #ifndef GENAPI_EVENTADAPTERGENERIC_H
00030 #define GENAPI_EVENTADAPTERGENERIC_H
00031 
00032 #include <GenApi/EventAdapter.h>
00033 
00034 namespace GENAPI_NAMESPACE
00035 {
00037     class GENAPI_DECL CEventAdapterGeneric : public  CEventAdapter
00038     {
00039     public:
00041         CEventAdapterGeneric(INodeMap* pNodeMap = NULL);
00042 
00044         virtual ~CEventAdapterGeneric();
00045 
00046         // Does not have implementation, use the version with EventID
00047         virtual void DeliverMessage( const uint8_t msg[], uint32_t numBytes ); 
00048 
00049         virtual void DeliverMessage( const uint8_t msg[], uint32_t numBytes, const GENICAM_NAMESPACE::gcstring& EventID);
00050 
00051         virtual void DeliverMessage( const uint8_t msg[], uint32_t numBytes, uint64_t EventID);
00052     private:
00054         uint8_t *m_pEventIDBuffer;
00055 
00057         int m_AllocEventIDLength;
00058 
00059     };
00060 }
00061 
00062 #endif // GENAPI_EVENTADAPTERGENERIC_H


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:46