Class AbstractParticipantLogger
Defined in File ParticipantRegistry.hpp
Inheritance Relationships
Derived Type
public rmf_traffic_ros2::schedule::YamlLogger
(Class YamlLogger)
Class Documentation
-
class AbstractParticipantLogger
This is the base class for the persistence logger.
Subclassed by rmf_traffic_ros2::schedule::YamlLogger
Public Functions
-
virtual void write_operation(AtomicOperation operation) = 0
Called when we wish to commit an operation to disk
- Parameters:
operation – [in]
-
virtual std::optional<AtomicOperation> read_next_record() = 0
Called when we wish to read the next record up during initiallization.
- Returns:
a std::nullopt when we have exhausted all records.
-
virtual ~AbstractParticipantLogger() = default
-
virtual void write_operation(AtomicOperation operation) = 0