Class AbstractParticipantLogger¶
Defined in File ParticipantRegistry.hpp
Inheritance Relationships¶
Derived Type¶
public rmf_traffic_ros2::schedule::YamlLogger(Class YamlLogger)
Class Documentation¶
-
class
rmf_traffic_ros2::schedule::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
[in] operation:
-
virtual std::optional<AtomicOperation>
read_next_record() = 0¶ Called when we wish to read the next record up during initiallization.
- Return
a std::nullopt when we have exhausted all records.
-
virtual
~AbstractParticipantLogger() = default¶
-
virtual void