ICameraFactory.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:        ICameraFactory.h
00010 
00011   Description: Definition of interface AVT::VmbAPI::ICameraFactory.
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_ICAMERAFACTORY_H
00029 #define AVT_VMBAPI_ICAMERAFACTORY_H
00030 
00031 #include <VimbaC/Include/VimbaC.h>
00032 #include <VimbaCPP/Include/VimbaCPPCommon.h>
00033 #include <VimbaCPP/Include/SharedPointerDefines.h>
00034 #include <VimbaCPP/Include/Camera.h>
00035 
00036 namespace AVT {
00037 namespace VmbAPI {
00038 
00039 class ICameraFactory 
00040 {
00041   public:
00042     //
00043     // Method:      CreateCamera()
00044     //
00045     // Purpose:     FactorMethod to create a camera that implements Camera.h
00046     //
00047     // Parameters:
00048     //
00049     // [in ]    const char          *pCameraID                  The ID of the camera
00050     // [in ]    const char          *pCameraName                The name of the camera
00051     // [in ]    const char          *pCameraModel,              The model name of the camera
00052     // [in ]    const char          *pCameraSerialNumber        The serial number of the camera
00053     // [in ]    const char          *pInterfaceID               The ID of the interface the camera is connected to
00054     // [in ]    VmbInterfaceType    interfaceType               The type of the interface the camera is connected to
00055     // [in ]    const char          *pInterfaceName             The name of the interface
00056     // [in ]    const char          *pInterfaceSerialNumber     The serial number of the interface
00057     // [in ]    VmbAccessModeType   interfacePermittedAccess    The access privileges for the interface
00058     //
00059     // Details:   The ID of the camera might be one of the following: "IP:169.254.12.13", "MAC:000f31000001",
00060     //            or a plain serial number: "1234567890".
00061     //
00062     IMEXPORT virtual CameraPtr CreateCamera(    const char *pCameraID,
00063                                                 const char *pCameraName,
00064                                                 const char *pCameraModel,
00065                                                 const char *pCameraSerialNumber,
00066                                                 const char *pInterfaceID,
00067                                                 VmbInterfaceType interfaceType,
00068                                                 const char *pInterfaceName,
00069                                                 const char *pInterfaceSerialNumber,
00070                                                 VmbAccessModeType interfacePermittedAccess) = 0;
00071 
00072     //
00073     // Method:      ICameraFactory destructor
00074     //
00075     // Purpose:     Destroys an instance of class camera
00076     //
00077     IMEXPORT virtual ~ICameraFactory() {}
00078 
00079 };
00080 
00081 }} // namespace AVT::VmbAPI
00082 
00083 #endif


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