Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VideoStream Class Reference

#include <grabframe.h>

Inheritance diagram for VideoStream:
Collaboration diagram for VideoStream:

Public Member Functions

 VideoStream ()
 
void open (const std::string &dir, const std::string &filename)
 
void close ()
 
bool grabAndWriteFrame (const osg::Camera &camera)
 
bool isOpen () const
 
virtual void operator() (const osg::Camera &) const
 
virtual long int getCounter ()
 
virtual const std::string & getDirectory ()
 
- Public Member Functions inherited from BackCaller
 BackCaller ()
 
virtual ~BackCaller ()
 
virtual void addCallbackable (Callbackable *callbackableInstance, CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)
 Adds a Callbackable instance to this caller instance. More...
 
virtual void removeCallbackable (Callbackable *callbackableInstance, CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)
 Removes a Callbackable instance from this caller instance. More...
 
virtual void removeAllCallbackables (CallbackableType type)
 Removes all Callbackable instances from this caller instance. More...
 
virtual void callBack (CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)
 Calls all registered callbackable classes of the determined type. More...
 
virtual void callBackQMP (CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)
 Calls all registered callbackable classes of the determined type. More...
 

Public Attributes

bool pause
 

Static Public Attributes

static const
BackCaller::CallbackableType 
FRAMECAPTURE = 898989
 
- Static Public Attributes inherited from BackCaller
static const CallbackableType DEFAULT_CALLBACKABLE_TYPE = 0
 This is the default Callbackable type. More...
 

Additional Inherited Members

- Public Types inherited from BackCaller
typedef unsigned long CallbackableType
 

Constructor & Destructor Documentation

VideoStream ( )
inline

Member Function Documentation

void close ( )
virtual long int getCounter ( )
inlinevirtual
virtual const std::string& getDirectory ( )
inlinevirtual
bool grabAndWriteFrame ( const osg::Camera &  camera)
bool isOpen ( ) const
inline
void open ( const std::string &  dir,
const std::string &  filename 
)
void operator() ( const osg::Camera &  c) const
virtual

Member Data Documentation

const BackCaller::CallbackableType FRAMECAPTURE = 898989
static
bool pause

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