ICameraFactory.h
Go to the documentation of this file.
1 /*=============================================================================
2  Copyright (C) 2012 Allied Vision Technologies. All Rights Reserved.
3 
4  Redistribution of this file, in original or modified form, without
5  prior written consent of Allied Vision Technologies is prohibited.
6 
7 -------------------------------------------------------------------------------
8 
9  File: ICameraFactory.h
10 
11  Description: Definition of interface AVT::VmbAPI::ICameraFactory.
12 
13 -------------------------------------------------------------------------------
14 
15  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
16  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
17  NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18  DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
19  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
22  AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
23  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 
26 =============================================================================*/
27 
28 #ifndef AVT_VMBAPI_ICAMERAFACTORY_H
29 #define AVT_VMBAPI_ICAMERAFACTORY_H
30 
31 #include <VimbaC/Include/VimbaC.h>
35 
36 namespace AVT {
37 namespace VmbAPI {
38 
40 {
41  public:
42  //
43  // Method: CreateCamera()
44  //
45  // Purpose: Factory method to create a camera that extends the Camera class
46  //
47  // Parameters:
48  //
49  // [in ] const char* pCameraID The ID of the camera
50  // [in ] const char* pCameraName The name of the camera
51  // [in ] const char* pCameraModel The model name of the camera
52  // [in ] const char* pCameraSerialNumber The serial number of the camera
53  // [in ] const char* pInterfaceID The ID of the interface the camera is connected to
54  // [in ] VmbInterfaceType interfaceType The type of the interface the camera is connected to
55  // [in ] const char* pInterfaceName The name of the interface
56  // [in ] const char* pInterfaceSerialNumber The serial number of the interface
57  // [in ] VmbAccessModeType interfacePermittedAccess The access privileges for the interface
58  //
59  // Details: The ID of the camera may be, among others, one of the following: "169.254.12.13",
60  // "000f31000001", a plain serial number: "1234567890", or the device ID
61  // of the underlying transport layer.
62  //
63  IMEXPORT virtual CameraPtr CreateCamera( const char *pCameraID,
64  const char *pCameraName,
65  const char *pCameraModel,
66  const char *pCameraSerialNumber,
67  const char *pInterfaceID,
68  VmbInterfaceType interfaceType,
69  const char *pInterfaceName,
70  const char *pInterfaceSerialNumber,
71  VmbAccessModeType interfacePermittedAccess) = 0;
72 
73  //
74  // Method: ICameraFactory destructor
75  //
76  // Purpose: Destroys an instance of class Camera
77  //
78  IMEXPORT virtual ~ICameraFactory() {}
79 
80 };
81 
82 }} // namespace AVT::VmbAPI
83 
84 #endif
VmbAccessModeType
Definition: VimbaC.h:122
virtual IMEXPORT ~ICameraFactory()
NetPointer< Camera, AVT::VmbAPINET::Camera > CameraPtr
VmbInterfaceType
Definition: VimbaC.h:107
virtual IMEXPORT CameraPtr CreateCamera(const char *pCameraID, const char *pCameraName, const char *pCameraModel, const char *pCameraSerialNumber, const char *pInterfaceID, VmbInterfaceType interfaceType, const char *pInterfaceName, const char *pInterfaceSerialNumber, VmbAccessModeType interfacePermittedAccess)=0


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Mon Jun 10 2019 12:50:39