WriterInterface.h
Go to the documentation of this file.
1
#pragma once
2
3
4
#include "
RobotAPI/libraries/armem/core/forward_declarations.h
"
5
#include <
RobotAPI/libraries/armem/core/Time.h
>
6
#include <
RobotAPI/libraries/armem_robot_state/types.h
>
7
8
namespace
armarx::armem::robot_state
9
{
10
11
class
WriterInterface
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 ×tamp=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
RobotAPI
libraries
armem_robot_state
client
common
WriterInterface.h
Generated on Sat Oct 12 2024 09:14:09 for armarx_documentation by
1.8.17