All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
pangolin::VideoInput Struct Reference

#include <video.h>

Inheritance diagram for pangolin::VideoInput:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool GrabNewest (unsigned char *image, bool wait=true)
bool GrabNext (unsigned char *image, bool wait=true)
unsigned Height () const
void Open (std::string uri)
std::string PixFormat () const
void Reset ()
size_t SizeBytes () const
void Start ()
void Stop ()
 VideoInput ()
 VideoInput (std::string uri)
unsigned Width () const
 ~VideoInput ()

Protected Attributes

std::string uri
VideoInterfacevideo

Detailed Description

Definition at line 121 of file video.h.


Constructor & Destructor Documentation

Definition at line 94 of file video.cpp.

pangolin::VideoInput::VideoInput ( std::string  uri)

Definition at line 99 of file video.cpp.

Definition at line 105 of file video.cpp.


Member Function Documentation

bool pangolin::VideoInput::GrabNewest ( unsigned char *  image,
bool  wait = true 
) [virtual]

Copy the newest frame from the camera to image discarding all older frames. Optionally wait for a frame if one isn't ready Returns true iff image was copied

Implements pangolin::VideoInterface.

Definition at line 485 of file video.cpp.

bool pangolin::VideoInput::GrabNext ( unsigned char *  image,
bool  wait = true 
) [virtual]

Copy the next frame from the camera to image. Optionally wait for a frame if one isn't ready Returns true iff image was copied

Implements pangolin::VideoInterface.

Definition at line 479 of file video.cpp.

unsigned pangolin::VideoInput::Height ( ) const [virtual]

Implements pangolin::VideoInterface.

Definition at line 449 of file video.cpp.

void pangolin::VideoInput::Open ( std::string  uri)

Definition at line 426 of file video.cpp.

std::string pangolin::VideoInput::PixFormat ( ) const [virtual]

Implements pangolin::VideoInterface.

Definition at line 461 of file video.cpp.

Definition at line 438 of file video.cpp.

size_t pangolin::VideoInput::SizeBytes ( ) const [virtual]

Implements pangolin::VideoInterface.

Definition at line 455 of file video.cpp.

void pangolin::VideoInput::Start ( ) [virtual]

Implements pangolin::VideoInterface.

Definition at line 467 of file video.cpp.

void pangolin::VideoInput::Stop ( ) [virtual]

Implements pangolin::VideoInterface.

Definition at line 473 of file video.cpp.

unsigned pangolin::VideoInput::Width ( ) const [virtual]

Implements pangolin::VideoInterface.

Definition at line 443 of file video.cpp.


Member Data Documentation

std::string pangolin::VideoInput::uri [protected]

Definition at line 141 of file video.h.

Definition at line 142 of file video.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pangolin_wrapper
Author(s): Todor Stoyanov
autogenerated on Wed Feb 13 2013 14:03:25