Segment.h
Go to the documentation of this file.
1 #pragma once
2 
3 // STD/STL
4 #include <mutex>
5 #include <string>
6 
7 // BaseClass
9 
10 // ArmarX
11 #include <RobotAPI/libraries/aron/common/aron/trajectory.aron.generated.h>
12 
14 {
16  {
18 
19  public:
21 
22  virtual void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string& prefix = "") override;
23  virtual void init() override;
24  virtual void onConnect();
25 
26  private:
27  int loadByMotionFinder(const std::string&);
28  void loadSingleMotionFinder(const std::string&, const std::string &entityName, bool taskspace);
29 
30  private:
31  struct Properties
32  {
33  std::string motionsPackage = "PriorKnowledgeData";
34  bool loadFromMotionsPackage = true;
35  };
36  Properties properties;
37  };
38 }
SpecializedSegment.h
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition: MemoryToIceAdapter.h:19
armarx::armem::server::motions::mps::segment::MPSegment::init
virtual void init() override
Definition: Segment.cpp:35
armarx::armem::server::segment::SpecializedProviderSegment
A base class for provider segments.
Definition: SpecializedProviderSegment.h:20
armarx::armem::server::motions::mps::segment::MPSegment::MPSegment
MPSegment(armem::server::MemoryToIceAdapter &iceMemory)
Definition: Segment.cpp:22
armarx::armem::server::motions::mps::segment
Definition: motionprimitives.cpp:19
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >
armarx::armem::server::motions::mps::segment::MPSegment
Definition: Segment.h:15
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition: SpecializedSegment.h:60
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::armem::server::motions::mps::segment::MPSegment::defineProperties
virtual void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
Definition: Segment.cpp:27
armarx::armem::server::motions::mps::segment::MPSegment::onConnect
virtual void onConnect()
Definition: Segment.cpp:45