WriterInterface.h
Go to the documentation of this file.
1 #pragma once
2 
3 
7 
9 {
10 
12  {
13  public:
14  virtual ~WriterInterface() = default;
15 
16  // virtual bool store(const Robot& obj) = 0;
17 
18  virtual bool storeDescription(const description::RobotDescription& description,
19  const armem::Time& timestamp = armem::Time::Invalid()) = 0;
20 
21  virtual bool storeState(const RobotState& state,
22  const std::string& robotTypeName,
23  const std::string& robotName,
24  const std::string& robotRootNodeName) = 0;
25  };
26 
27 } // namespace armarx::armem::robot_state
armarx::armem::robot_state::description::RobotDescription
Definition: types.h:44
armarx::armem::robot_state::WriterInterface
Definition: WriterInterface.h:11
armarx::armem::robot_state::RobotState
Definition: types.h:113
forward_declarations.h
armarx::armem::robot_state
Definition: RobotStatePredictionClient.cpp:42
armarx::armem::robot_state::WriterInterface::~WriterInterface
virtual ~WriterInterface()=default
armarx::armem::robot_state::constants::robotRootNodeName
const std::string robotRootNodeName
Definition: constants.h:36
types.h
armarx::armem::robot_state::WriterInterface::storeDescription
virtual bool storeDescription(const description::RobotDescription &description, const armem::Time &timestamp=armem::Time::Invalid())=0
armarx::core::time::DateTime
Represents a point in time.
Definition: DateTime.h:24
armarx::armem::robot_state::WriterInterface::storeState
virtual bool storeState(const RobotState &state, const std::string &robotTypeName, const std::string &robotName, const std::string &robotRootNodeName)=0
Time.h
armarx::core::time::DateTime::Invalid
static DateTime Invalid()
Definition: DateTime.cpp:60