Public Types | Public Member Functions | Private Attributes
FrameObserver Class Reference

#include <frame_observer.h>

Inheritance diagram for FrameObserver:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::function< void(const
FramePtr vimba_frame_ptr)> 
Callback

Public Member Functions

void ClearFrameQueue ()
 FrameObserver (CameraPtr cam_ptr, Callback callback)
virtual void FrameReceived (const FramePtr vimba_frame_ptr)
FramePtr GetFrame ()
 ~FrameObserver ()

Private Attributes

Callback callback_
CameraPtr cam_ptr_
boost::mutex mutex
std::queue< FramePtr > vimba_frames

Detailed Description

Definition at line 44 of file frame_observer.h.


Member Typedef Documentation

typedef boost::function<void (const FramePtr vimba_frame_ptr)> FrameObserver::Callback

Definition at line 48 of file frame_observer.h.


Constructor & Destructor Documentation

FrameObserver::FrameObserver ( CameraPtr  cam_ptr,
Callback  callback 
)

Copyright (c) 2014, Systems, Robotics and Vision Group University of the Balearican Islands All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by Systems, Robotics and Vision Group, Univ. of the Balearican Islands Neither the name of Systems, Robotics and Vision Group, University of the Balearican Islands nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT holder>=""> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 35 of file frame_observer.cpp.

Definition at line 54 of file frame_observer.h.


Member Function Documentation

Definition at line 74 of file frame_observer.cpp.

void FrameObserver::FrameReceived ( const FramePtr  vimba_frame_ptr) [virtual]

Implements AVT::VmbAPI::IFrameObserver.

Definition at line 40 of file frame_observer.cpp.

Definition at line 63 of file frame_observer.cpp.


Member Data Documentation

Definition at line 70 of file frame_observer.h.

CameraPtr FrameObserver::cam_ptr_ [private]

Definition at line 68 of file frame_observer.h.

boost::mutex FrameObserver::mutex [private]

Definition at line 69 of file frame_observer.h.

std::queue<FramePtr> FrameObserver::vimba_frames [private]

Definition at line 67 of file frame_observer.h.


The documentation for this class was generated from the following files:


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