Class Recorder
Defined in File recorder.hpp
Nested Relationships
Nested Types
Class Documentation
-
class Recorder
Recorder concept interface.
Note
this defines an private concept struct, which each instance has to implement
Note
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
Public Functions
-
inline bool isInitialized() const
checks if the recorder is correctly initialized @
- Returns:
bool value indicating true for success
-
inline void subscribe(bool state)
-
inline bool isSubscribed() const
checks if the recorder has a subscription and is hence allowed to record
- Returns:
bool value indicating true for number of sub > 0
-
inline std::string topic() const
initializes/resets the recorder into ROS with a given GlobalRecorder pointer and a frequency, this will be called at first for initialization
- Parameters:
gr – GlobalRecorder pointer
frequency – the frequency of the recoder
-
inline void writeDump(const rclcpp::Time &time)
-
inline void setBufferDuration(float duration)
-
inline bool isInitialized() const