DefaultCameraFactory.cpp
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: DefaultCameraFactory.cpp
10 
11  Description: Implementation of class AVT::VmbAPI::DefaultCameraFactory used to
12  create new Camera objects if no user defined camera factory
13  class was provided.
14  (For internal use only)
15 
16 -------------------------------------------------------------------------------
17 
18  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
19  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
20  NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21  DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
22  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25  AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
26  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 
29 =============================================================================*/
30 
32 
33 namespace AVT {
34 namespace VmbAPI {
35 
37  const char *pCameraName,
38  const char *pCameraModel,
39  const char *pCameraSerialNumber,
40  const char *pInterfaceID,
41  VmbInterfaceType eInterfaceType,
42  const char * /*pInterfaceName*/,
43  const char * /*pInterfaceSerialNumber*/,
44  VmbAccessModeType /*interfacePermittedAccess*/ )
45 {
46  return CameraPtr( new Camera( pCameraID, pCameraName, pCameraModel, pCameraSerialNumber, pInterfaceID, eInterfaceType ));
47 }
48 
49 }} // namespace AVT::VmbAPI
virtual 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)
VmbAccessModeType
Definition: VimbaC.h:122
NetPointer< Camera, AVT::VmbAPINET::Camera > CameraPtr
VmbInterfaceType
Definition: VimbaC.h:107


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Wed Jun 5 2019 22:22:40