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

#include <video_record_repeat.h>

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

List of all members.

Public Member Functions

int FrameId ()
bool GrabNewest (unsigned char *image, bool wait=true)
bool GrabNext (unsigned char *image, bool wait=true)
unsigned Height () const
bool IsPlaying () const
bool IsRecording () const
std::string PixFormat () const
void Play (bool realtime=true)
void Record ()
size_t SizeBytes () const
void Source ()
void Start ()
void Stop ()
 VideoRecordRepeat (std::string uri, std::string save_filename, int buffer_size_bytes)
unsigned Width () const
 ~VideoRecordRepeat ()

Protected Attributes

int buffer_size_bytes
std::string filename
int frame_num
VideoInterfacevideo_file
VideoRecordervideo_recorder
VideoInterfacevideo_src

Detailed Description

Definition at line 39 of file video_record_repeat.h.


Constructor & Destructor Documentation

pangolin::VideoRecordRepeat::VideoRecordRepeat ( std::string  uri,
std::string  save_filename,
int  buffer_size_bytes 
)

Definition at line 8 of file video_record_repeat.cpp.

Definition at line 16 of file video_record_repeat.cpp.


Member Function Documentation

Definition at line 175 of file video_record_repeat.cpp.

bool pangolin::VideoRecordRepeat::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 152 of file video_record_repeat.cpp.

bool pangolin::VideoRecordRepeat::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 129 of file video_record_repeat.cpp.

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

Implements pangolin::VideoInterface.

Definition at line 95 of file video_record_repeat.cpp.

Definition at line 185 of file video_record_repeat.cpp.

Definition at line 180 of file video_record_repeat.cpp.

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

Implements pangolin::VideoInterface.

Definition at line 107 of file video_record_repeat.cpp.

void pangolin::VideoRecordRepeat::Play ( bool  realtime = true)

Definition at line 50 of file video_record_repeat.cpp.

Definition at line 26 of file video_record_repeat.cpp.

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

Implements pangolin::VideoInterface.

Definition at line 101 of file video_record_repeat.cpp.

Definition at line 70 of file video_record_repeat.cpp.

Implements pangolin::VideoInterface.

Definition at line 113 of file video_record_repeat.cpp.

Implements pangolin::VideoInterface.

Definition at line 119 of file video_record_repeat.cpp.

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

Implements pangolin::VideoInterface.

Definition at line 88 of file video_record_repeat.cpp.


Member Data Documentation

Definition at line 71 of file video_record_repeat.h.

std::string pangolin::VideoRecordRepeat::filename [protected]

Definition at line 70 of file video_record_repeat.h.

Definition at line 73 of file video_record_repeat.h.

Definition at line 67 of file video_record_repeat.h.

Definition at line 68 of file video_record_repeat.h.

Definition at line 66 of file video_record_repeat.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