ICameraListObserver.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: ICameraListObserver.h
10 
11  Description: Definition of interface AVT::VmbAPI::ICameraListObserver.
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_ICAMERALISTOBSERVER_H
29 #define AVT_VMBAPI_ICAMERALISTOBSERVER_H
30 
34 #include <vector>
35 
36 
37 namespace AVT {
38 namespace VmbAPI {
39 
41 {
42  public:
43  //
44  // Method: CameraListChanged()
45  //
46  // Purpose: The event handler function that gets called whenever
47  // an ICameraListObserver is triggered. This occurs most
48  // likely when a camera was plugged in or out.
49  //
50  // Parameters:
51  //
52  // [out] CameraPtr pCam The camera that triggered the event
53  // [out] UpdateTriggerType reason The reason why the callback routine was triggered
54  // (e.g., a new camera was plugged in)
55  //
56  IMEXPORT virtual void CameraListChanged( CameraPtr pCam, UpdateTriggerType reason ) = 0;
57 
58  //
59  // Method: ICameraListObserver destructor
60  //
61  // Purpose: Destroys an instance of class ICameraListObserver
62  //
63  IMEXPORT virtual ~ICameraListObserver() {}
64 
65  protected:
66  IMEXPORT ICameraListObserver() { /*No default ctor*/ }
67  IMEXPORT ICameraListObserver( const ICameraListObserver& ) { /* No copy ctor */ }
68 };
69 typedef std::vector<ICameraListObserverPtr> ICameraListObserverPtrVector;
70 
71 }} // namespace AVT::VmbAPI
72 
73 #endif
IMEXPORT ICameraListObserver(const ICameraListObserver &)
virtual IMEXPORT void CameraListChanged(CameraPtr pCam, UpdateTriggerType reason)=0
NetPointer< Camera, AVT::VmbAPINET::Camera > CameraPtr
std::vector< ICameraListObserverPtr > ICameraListObserverPtrVector


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