ArticulatedObjectReader.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <VirtualRobot/XML/RobotIO.h>
4 
5 #include "Reader.h"
6 
8 {
9 
10  class ArticulatedObjectReader : virtual public Reader
11  {
12  public:
13  using Reader::Reader;
14 
16  const std::string& typeName,
17  const armem::Time& timestamp,
18  const std::optional<std::string>& providerName,
19  const std::string& instanceName = "",
20  VirtualRobot::RobotIO::RobotDescription loadMode = VirtualRobot::RobotIO::eStructure);
21 
22  [[nodiscard]] bool
24  const armem::Time& timestamp,
25  const std::optional<std::string>& providerName);
26  };
27 } // namespace armarx::armem::articulated_object
armarx::armem::articulated_object::ArticulatedObjectReader
Definition: ArticulatedObjectReader.h:10
armarx::armem::articulated_object::Reader::Reader
Reader()=default
armarx::armem::human::Robot
@ Robot
Definition: util.h:14
armarx::core::time::DateTime
Represents a point in time.
Definition: DateTime.h:24
armarx::armem::articulated_object::ArticulatedObjectReader::synchronizeArticulatedObject
bool synchronizeArticulatedObject(VirtualRobot::Robot &object, const armem::Time &timestamp, const std::optional< std::string > &providerName)
Definition: ArticulatedObjectReader.cpp:71
armarx::armem::articulated_object
Definition: ArticulatedObjectReader.cpp:25
armarx::armem::articulated_object::Reader
Definition: Reader.h:43
armarx::armem::articulated_object::ArticulatedObjectReader::getArticulatedObject
VirtualRobot::RobotPtr getArticulatedObject(const std::string &typeName, const armem::Time &timestamp, const std::optional< std::string > &providerName, const std::string &instanceName="", VirtualRobot::RobotIO::RobotDescription loadMode=VirtualRobot::RobotIO::eStructure)
Definition: ArticulatedObjectReader.cpp:29
Reader.h
VirtualRobot::RobotPtr
std::shared_ptr< class Robot > RobotPtr
Definition: Bus.h:18