Classes | Public Member Functions | Private Attributes
naoqi::event::Event Class Reference

Converter concept interface. More...

#include <event.hpp>

List of all members.

Classes

struct  EventConcept
struct  EventModel

Public Member Functions

template<typename T >
 Event (T event)
 Constructor for converter interface.
void isDumping (bool state)
void isPublishing (bool state)
void isRecording (bool state)
void resetPublisher (ros::NodeHandle &nh)
void resetRecorder (boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr)
void setBufferDuration (float duration)
void startProcess ()
void stopProcess ()
void writeDump (const ros::Time &time)

Private Attributes

boost::shared_ptr< EventConcepteventPtr_

Detailed Description

Converter concept interface.

Note:
this defines an private concept struct, which each instance has to implement
a type erasure pattern in implemented here to avoid strict inheritance, thus each possible converter instance has to implement the virtual functions mentioned in the concept

Definition at line 44 of file event.hpp.


Constructor & Destructor Documentation

template<typename T >
naoqi::event::Event::Event ( T  event) [inline]

Constructor for converter interface.

Definition at line 53 of file event.hpp.


Member Function Documentation

void naoqi::event::Event::isDumping ( bool  state) [inline]

Definition at line 97 of file event.hpp.

void naoqi::event::Event::isPublishing ( bool  state) [inline]

Definition at line 92 of file event.hpp.

void naoqi::event::Event::isRecording ( bool  state) [inline]

Definition at line 87 of file event.hpp.

Definition at line 57 of file event.hpp.

void naoqi::event::Event::resetRecorder ( boost::shared_ptr< naoqi::recorder::GlobalRecorder gr) [inline]

Definition at line 62 of file event.hpp.

void naoqi::event::Event::setBufferDuration ( float  duration) [inline]

Definition at line 82 of file event.hpp.

Definition at line 67 of file event.hpp.

Definition at line 72 of file event.hpp.

void naoqi::event::Event::writeDump ( const ros::Time time) [inline]

Definition at line 77 of file event.hpp.


Member Data Documentation

boost::shared_ptr<EventConcept> naoqi::event::Event::eventPtr_ [private]

Definition at line 180 of file event.hpp.


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


naoqi_driver
Author(s): Karsten Knese
autogenerated on Tue Jul 9 2019 03:21:56