StatechartListenerSegment.h
Go to the documentation of this file.
1#pragma once
2
3// Base Class
5
6// ArmarX
8#include <ArmarXCore/interface/core/Profiler.h>
10
12{
15 {
17
18 public:
20
21 void defineProperties(PropertyDefinitionsPtr defs, const std::string& prefix);
22 void init();
23
24 void
25 reportStatechartTransitionWithParameters(const ProfilerStatechartTransitionWithParameters&);
27 const ProfilerStatechartTransitionWithParametersList&);
28
29 private:
30 std::string getStatechartName(std::string stateName);
31
32 private:
33 struct Properties
34 {
35 // Statechart transition logging
36 std::string statechartCoreSegmentName = "Statechart";
37 std::string statechartTransitionsProviderSegmentName = "Transitions";
38 std::string statechartTransitionsTopicName = "StateReportingTopic";
39 };
40
41 Properties p;
42 };
43} // namespace armarx::skills::segment
Helps connecting a Memory server to the Ice interface.
void reportStatechartTransitionWithParameters(const ProfilerStatechartTransitionWithParameters &)
StatechartListenerProviderSegment(armem::server::MemoryToIceAdapter &iceMemory)
void reportStatechartTransitionWithParametersList(const ProfilerStatechartTransitionWithParametersList &)
void defineProperties(PropertyDefinitionsPtr defs, const std::string &prefix)
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.