StatechartListenerSegment.h
Go to the documentation of this file.
1 #pragma once
2 
3 // Base Class
5 
6 // ArmarX
7 #include <ArmarXCore/interface/core/Profiler.h>
10 
11 
13 {
16  {
18 
19  public:
21 
22  void defineProperties(PropertyDefinitionsPtr defs, const std::string &prefix);
23  void init();
24 
25  void reportStatechartTransitionWithParameters(const ProfilerStatechartTransitionWithParameters&);
26  void reportStatechartTransitionWithParametersList(const ProfilerStatechartTransitionWithParametersList&);
27 
28  private:
29  std::string getStatechartName(std::string stateName);
30 
31  private:
32  struct Properties
33  {
34  // Statechart transition logging
35  std::string statechartCoreSegmentName = "Statechart";
36  std::string statechartTransitionsProviderSegmentName = "Transitions";
37  std::string statechartTransitionsTopicName = "StateReportingTopic";
38  };
39  Properties p;
40  };
41 }
armarx::skills::segment::StatechartListenerProviderSegment::defineProperties
void defineProperties(PropertyDefinitionsPtr defs, const std::string &prefix)
Definition: StatechartListenerSegment.cpp:13
armarx::skills::segment::StatechartListenerProviderSegment
Definition: StatechartListenerSegment.h:14
SpecializedSegment.h
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition: MemoryToIceAdapter.h:19
armarx::skills::segment::StatechartListenerProviderSegment::init
void init()
Definition: StatechartListenerSegment.cpp:25
armarx::armem::server::segment::SpecializedProviderSegment
A base class for provider segments.
Definition: SpecializedProviderSegment.h:20
armarx::skills::segment::StatechartListenerProviderSegment::reportStatechartTransitionWithParametersList
void reportStatechartTransitionWithParametersList(const ProfilerStatechartTransitionWithParametersList &)
Definition: StatechartListenerSegment.cpp:53
ObserverObjectFactories.h
armarx::skills::segment
Definition: ExecutableSkillLibrarySegment.cpp:13
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >
armarx::skills::segment::StatechartListenerProviderSegment::reportStatechartTransitionWithParameters
void reportStatechartTransitionWithParameters(const ProfilerStatechartTransitionWithParameters &)
Definition: StatechartListenerSegment.cpp:30
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition: SpecializedSegment.h:60
PropertyDefinitionContainer.h
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::skills::segment::StatechartListenerProviderSegment::StatechartListenerProviderSegment
StatechartListenerProviderSegment(armem::server::MemoryToIceAdapter &iceMemory)
Definition: StatechartListenerSegment.cpp:8