Recorder concept interface.
More...
#include <recorder.hpp>
Recorder 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 recorder instance has to implement the virtual functions mentioned in the concept
template<typename T >
naoqi::recorder::Recorder::Recorder |
( |
T |
rec | ) |
|
|
inline |
Constructor for recorder interface.
bool naoqi::recorder::Recorder::isInitialized |
( |
| ) |
const |
|
inline |
checks if the recorder is correctly initialized on the ros-master @
- Returns
- bool value indicating true for success
bool naoqi::recorder::Recorder::isSubscribed |
( |
| ) |
const |
|
inline |
checks if the recorder has a subscription and is hence allowed to record
- Returns
- bool value indicating true for number of sub > 0
initializes/resets the recorder into ROS with a given nodehandle, this will be called at first for initialization or again when master uri has changed
- Parameters
-
ros | NodeHandle to advertise the recorder on |
void naoqi::recorder::Recorder::setBufferDuration |
( |
float |
duration | ) |
|
|
inline |
void naoqi::recorder::Recorder::subscribe |
( |
bool |
state | ) |
|
|
inline |
std::string naoqi::recorder::Recorder::topic |
( |
| ) |
const |
|
inline |
void naoqi::recorder::Recorder::writeDump |
( |
const ros::Time & |
time | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/vrabaud/ros/ws_nao_dashboard/src/naoqi_driver/include/naoqi_driver/recorder/recorder.hpp