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:     Factory method to create a camera that extends the Camera class
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 may be, among others, one of the following: "169.254.12.13",
00060     //            "000f31000001", a plain serial number: "1234567890", or the device ID 
00061     //            of the underlying transport layer.
00062     //
00063     IMEXPORT virtual CameraPtr CreateCamera(    const char *pCameraID,
00064                                                 const char *pCameraName,
00065                                                 const char *pCameraModel,
00066                                                 const char *pCameraSerialNumber,
00067                                                 const char *pInterfaceID,
00068                                                 VmbInterfaceType interfaceType,
00069                                                 const char *pInterfaceName,
00070                                                 const char *pInterfaceSerialNumber,
00071                                                 VmbAccessModeType interfacePermittedAccess) = 0;
00072 
00073     //
00074     // Method:      ICameraFactory destructor
00075     //
00076     // Purpose:     Destroys an instance of class Camera
00077     //
00078     IMEXPORT virtual ~ICameraFactory() {}
00079 
00080 };
00081 
00082 }} // namespace AVT::VmbAPI
00083 
00084 #endif


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Thu Jun 6 2019 18:23:39