00001 //----------------------------------------------------------------------------- 00002 // (c) 2006 by Basler Vision Technologies 00003 // Section: Vision Components 00004 // Project: GenApi 00005 // Author: Hartmut Nebelung 00006 // $Header$ 00007 // 00008 // License: This file is published under the license of the EMVA GenICam Standard Group. 00009 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'. 00010 // If for some reason you are missing this file please contact the EMVA or visit the website 00011 // (http://www.genicam.org) for a full copy. 00012 // 00013 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS" 00014 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00015 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00016 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP 00017 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00018 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00019 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00020 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00021 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00022 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00023 // POSSIBILITY OF SUCH DAMAGE. 00024 //----------------------------------------------------------------------------- 00029 #ifndef __EVENTADAPTER1394_H__ 00030 #define __EVENTADAPTER1394_H__ 00031 00032 00033 #include <GenApi/EventAdapter.h> 00034 00035 00036 namespace GENAPI_NAMESPACE 00037 { 00038 // the opaque event data on IEEE 1394 00039 struct EventData1394; 00040 00042 class GENAPI_DECL CEventAdapter1394 : public GENAPI_NAMESPACE::CEventAdapter 00043 { 00044 public: 00046 explicit CEventAdapter1394( INodeMap* pNodeMap=NULL ); 00048 ~CEventAdapter1394(); 00049 private: 00051 CEventAdapter1394( const CEventAdapter1394& ); 00053 CEventAdapter1394& operator=( const CEventAdapter1394& ); 00054 00055 public: 00056 virtual void DeliverMessage( const uint8_t msg[], uint32_t numBytes ); 00058 void DeliverEventMessage( EventData1394& Event, uint32_t numBytes ); 00059 private: 00060 struct EventAdapter1394Impl; 00061 EventAdapter1394Impl* m_pImpl; 00062 }; 00063 } 00064 #endif //__EVENTADAPTER1394_H__