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: DefaultCameraFactory.h 00010 00011 Description: Definition of class AVT::VmbAPI::DefaultCameraFactory used to 00012 create new Camera objects if no user defined camera factory 00013 class was provided. 00014 (For internal use only) 00015 00016 ------------------------------------------------------------------------------- 00017 00018 THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED 00019 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE, 00020 NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00021 DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 00022 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00023 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00024 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 00025 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 00026 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 00027 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00028 00029 =============================================================================*/ 00030 00031 #ifndef AVT_VMBAPI_DEFAULTCAMERAFACTORY_H 00032 #define AVT_VMBAPI_DEFAULTCAMERAFACTORY_H 00033 00034 #include <VimbaCPP/Include/ICameraFactory.h> 00035 00036 namespace AVT { 00037 namespace VmbAPI { 00038 00039 class DefaultCameraFactory : public virtual ICameraFactory 00040 { 00041 public: 00042 virtual CameraPtr CreateCamera( const char *pCameraID, 00043 const char *pCameraName, 00044 const char *pCameraModel, 00045 const char *pCameraSerialNumber, 00046 const char *pInterfaceID, 00047 VmbInterfaceType interfaceType, 00048 const char *pInterfaceName, 00049 const char *pInterfaceSerialNumber, 00050 VmbAccessModeType interfacePermittedAccess ); 00051 }; 00052 00053 }} // namespace AVT::VmbAPI 00054 00055 #endif