IFeatureObserver.h
Go to the documentation of this file.
00001 /*=============================================================================
00002   Copyright (C) 2012 Allied Vision Technologies.  All Rights Reserved.
00003 
00004   Redistribution of this file, in original or modified form, without
00005   prior written consent of Allied Vision Technologies is prohibited.
00006 
00007 -------------------------------------------------------------------------------
00008 
00009   File:        IFeatureObserver.h
00010 
00011   Description: Definition of interface AVT::VmbAPI::IFeatureObserver.
00012 
00013 -------------------------------------------------------------------------------
00014 
00015   THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
00016   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
00017   NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR  PURPOSE ARE
00018   DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 
00019   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
00020   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00021   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED  
00022   AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 
00023   TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
00024   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00025 
00026 =============================================================================*/
00027 
00028 #ifndef AVT_VMBAPI_IFEATUREOBSERVER_H
00029 #define AVT_VMBAPI_IFEATUREOBSERVER_H
00030 
00031 #include <VimbaCPP/Include/VimbaCPPCommon.h>
00032 #include <VimbaCPP/Include/SharedPointerDefines.h>
00033 #include <VimbaCPP/Include/Feature.h>
00034 #include <vector>
00035 
00036 namespace AVT {
00037 namespace VmbAPI {
00038 
00039 class IFeatureObserver 
00040 {
00041   public:
00042     //
00043     // Method:      FeatureChanged()
00044     //
00045     // Purpose:     The event handler function that gets called whenever
00046     //              a feature's has changed
00047     //
00048     // Parameters:
00049     //
00050     // [in]     const FeaturePtr&      pFeature          The frame that has changed
00051     //
00052     IMEXPORT virtual void FeatureChanged( const FeaturePtr &pFeature ) = 0;
00053 
00054     //
00055     // Method:      IFeatureObserver destructor
00056     //
00057     // Purpose:     Destroys an instance of class IFeatureObserver
00058     //
00059     IMEXPORT virtual ~IFeatureObserver() {}
00060 
00061   protected:
00062     IMEXPORT IFeatureObserver() {}
00063     IMEXPORT IFeatureObserver( const IFeatureObserver& ) { /* No copy ctor */ }
00064 };
00065 typedef std::vector<IFeatureObserverPtr> IFeatureObserverPtrVector;
00066 
00067 }} // namespace AVT::VmbAPI
00068 
00069 #endif


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Thu Aug 27 2015 12:29:49