interfaces.h
Go to the documentation of this file.
1
#pragma once
2
3
4
#include <
RobotAPI/libraries/armem/core/Time.h
>
5
#include <
RobotAPI/libraries/armem_objects/types.h
>
6
7
namespace
armarx::armem::articulated_object
8
{
9
class
ReaderInterface
10
{
11
public
:
12
virtual
~ReaderInterface
() =
default
;
13
14
virtual
bool
synchronize
(
ArticulatedObject
& obj,
15
const
armem::Time
& timestamp,
16
const
std::optional<std::string>& providerName)
const
= 0;
17
18
virtual
ArticulatedObject
get
(
const
ArticulatedObjectDescription
& description,
19
const
armem::Time
& timestamp,
20
const
std::string& instanceName,
21
const
std::optional<std::string>& providerName)
const
= 0;
22
virtual
std::optional<ArticulatedObject>
23
get
(
const
std::string& name,
24
const
armem::Time
& timestamp,
25
const
std::optional<std::string>& providerName)
const
= 0;
26
};
27
28
class
WriterInterface
29
{
30
public
:
31
virtual
~WriterInterface
() =
default
;
32
33
virtual
bool
store
(
const
ArticulatedObject
& obj)
const
= 0;
34
};
35
36
}
// namespace armarx::armem::articulated_object
armarx::armem::robot_state::description::RobotDescription
Definition:
types.h:44
armarx::armem::robot_state::Robot
Definition:
types.h:126
armarx::armem::articulated_object::ReaderInterface::get
virtual ArticulatedObject get(const ArticulatedObjectDescription &description, const armem::Time ×tamp, const std::string &instanceName, const std::optional< std::string > &providerName) const =0
armarx::armem::articulated_object::WriterInterface::~WriterInterface
virtual ~WriterInterface()=default
types.h
armarx::armem::articulated_object::ReaderInterface::synchronize
virtual bool synchronize(ArticulatedObject &obj, const armem::Time ×tamp, const std::optional< std::string > &providerName) const =0
armarx::armem::articulated_object::WriterInterface::store
virtual bool store(const ArticulatedObject &obj) const =0
armarx::armem::articulated_object::WriterInterface
Definition:
interfaces.h:28
armarx::core::time::DateTime
Represents a point in time.
Definition:
DateTime.h:24
armarx::armem::articulated_object
Definition:
ArticulatedObjectReader.cpp:25
Time.h
armarx::armem::articulated_object::ReaderInterface::~ReaderInterface
virtual ~ReaderInterface()=default
armarx::armem::articulated_object::ReaderInterface
Definition:
interfaces.h:9
RobotAPI
libraries
armem_objects
client
articulated_object
interfaces.h
Generated on Sat Oct 12 2024 09:14:09 for armarx_documentation by
1.8.17