StatechartListenerComponentPlugin.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 #include <RobotAPI/interface/skills/StatechartListenerInterface.h>
7 
8 namespace armarx::plugins
9 {
11  {
12  public:
13  using ComponentPlugin::ComponentPlugin;
14 
15  void preOnInitComponent() override;
16 
17  void preOnConnectComponent() override;
18 
19  void postCreatePropertyDefinitions(PropertyDefinitionsPtr& properties) override;
20  };
21 } // namespace armarx::plugins
22 
23 namespace armarx
24 {
26  virtual public ManagedIceObject,
27  virtual public dti::StatechartListenerInterface
28  {
29  public:
31 
32  void
33  reportNetworkTraffic(const std::string&,
34  const std::string&,
35  Ice::Int,
36  Ice::Int,
37  const Ice::Current&) override
38  {
39  }
40 
41  void
42  reportEvent(const ProfilerEvent&, const Ice::Current&) override
43  {
44  }
45 
46  void
47  reportStatechartTransition(const ProfilerStatechartTransition& event,
48  const Ice::Current&) override
49  {
50  }
51 
52  void
53  reportStatechartInputParameters(const ProfilerStatechartParameters& event,
54  const Ice::Current&) override
55  {
56  }
57 
58  void
59  reportStatechartLocalParameters(const ProfilerStatechartParameters& event,
60  const Ice::Current&) override
61  {
62  }
63 
64  void
65  reportStatechartOutputParameters(const ProfilerStatechartParameters&,
66  const Ice::Current&) override
67  {
68  }
69 
70  void
71  reportProcessCpuUsage(const ProfilerProcessCpuUsage&, const Ice::Current&) override
72  {
73  }
74 
75  void
76  reportProcessMemoryUsage(const ProfilerProcessMemoryUsage&, const Ice::Current&) override
77  {
78  }
79 
80  void
81  reportEventList(const ProfilerEventList& events, const Ice::Current&) override
82  {
83  }
84 
85  void
86  reportStatechartTransitionList(const ProfilerStatechartTransitionList&,
87  const Ice::Current&) override
88  {
89  }
90 
91  void
92  reportStatechartInputParametersList(const ProfilerStatechartParametersList& data,
93  const Ice::Current&) override
94  {
95  }
96 
97  void
98  reportStatechartLocalParametersList(const ProfilerStatechartParametersList&,
99  const Ice::Current&) override
100  {
101  }
102 
103  void
104  reportStatechartOutputParametersList(const ProfilerStatechartParametersList&,
105  const Ice::Current&) override
106  {
107  }
108 
109  void
110  reportProcessCpuUsageList(const ProfilerProcessCpuUsageList&, const Ice::Current&) override
111  {
112  }
113 
114  void
115  reportProcessMemoryUsageList(const ProfilerProcessMemoryUsageList&,
116  const Ice::Current&) override
117  {
118  }
119 
120  private:
122  };
123 } // namespace armarx
armarx::StatechartListenerComponentPluginUser::reportEventList
void reportEventList(const ProfilerEventList &events, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:81
armarx::StatechartListenerComponentPluginUser::reportProcessCpuUsage
void reportProcessCpuUsage(const ProfilerProcessCpuUsage &, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:71
armarx::StatechartListenerComponentPluginUser::reportStatechartOutputParameters
void reportStatechartOutputParameters(const ProfilerStatechartParameters &, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:65
armarx::StatechartListenerComponentPluginUser::reportProcessMemoryUsageList
void reportProcessMemoryUsageList(const ProfilerProcessMemoryUsageList &, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:115
armarx::StatechartListenerComponentPluginUser::reportNetworkTraffic
void reportNetworkTraffic(const std::string &, const std::string &, Ice::Int, Ice::Int, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:33
armarx::StatechartListenerComponentPluginUser::reportProcessMemoryUsage
void reportProcessMemoryUsage(const ProfilerProcessMemoryUsage &, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:76
ManagedIceObject.h
armarx::plugins
This file is part of ArmarX.
Definition: DebugObserverComponentPlugin.cpp:27
armarx::ComponentPlugin
Definition: ComponentPlugin.h:37
data
uint8_t data[1]
Definition: EtherCATFrame.h:68
armarx::StatechartListenerComponentPluginUser::reportStatechartTransitionList
void reportStatechartTransitionList(const ProfilerStatechartTransitionList &, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:86
armarx::StatechartListenerComponentPluginUser::StatechartListenerComponentPluginUser
StatechartListenerComponentPluginUser()
Definition: StatechartListenerComponentPlugin.cpp:26
armarx::StatechartListenerComponentPluginUser::reportStatechartOutputParametersList
void reportStatechartOutputParametersList(const ProfilerStatechartParametersList &, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:104
armarx::plugins::StatechartListenerComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition: StatechartListenerComponentPlugin.cpp:13
armarx::StatechartListenerComponentPluginUser::reportStatechartTransition
void reportStatechartTransition(const ProfilerStatechartTransition &event, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:47
armarx::StatechartListenerComponentPluginUser::reportStatechartInputParametersList
void reportStatechartInputParametersList(const ProfilerStatechartParametersList &data, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:92
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:162
armarx::plugins::StatechartListenerComponentPlugin
Definition: StatechartListenerComponentPlugin.h:10
armarx::plugins::StatechartListenerComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition: StatechartListenerComponentPlugin.cpp:18
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::StatechartListenerComponentPluginUser::reportStatechartLocalParametersList
void reportStatechartLocalParametersList(const ProfilerStatechartParametersList &, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:98
armarx::StatechartListenerComponentPluginUser
Definition: StatechartListenerComponentPlugin.h:25
armarx::StatechartListenerComponentPluginUser::reportEvent
void reportEvent(const ProfilerEvent &, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:42
armarx::VariantType::Int
const VariantTypeId Int
Definition: Variant.h:917
armarx::StatechartListenerComponentPluginUser::reportProcessCpuUsageList
void reportProcessCpuUsageList(const ProfilerProcessCpuUsageList &, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:110
ComponentPlugin.h
armarx::plugins::StatechartListenerComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition: StatechartListenerComponentPlugin.cpp:8
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27
armarx::StatechartListenerComponentPluginUser::reportStatechartInputParameters
void reportStatechartInputParameters(const ProfilerStatechartParameters &event, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:53
armarx::StatechartListenerComponentPluginUser::reportStatechartLocalParameters
void reportStatechartLocalParameters(const ProfilerStatechartParameters &event, const Ice::Current &) override
Definition: StatechartListenerComponentPlugin.h:59