Go to the documentation of this file.
28 #include <ArmarXCore/interface/observers/ProfilerObserverInterface.h>
38 public ProfilerListener
45 std::set<statechartmodel::StatePtr>
states;
47 std::map<std::string, ::armarx::StateParameterMap>
parameters;
77 using SubscriptionMap = std::vector<std::pair<StateIceBasePtr, std::pair<statechartmodel::StatePtr, StateItem*>> >;
85 void reportEvent(
const ProfilerEvent&,
const Ice::Current&)
override;
92 void reportEventList(
const ProfilerEventList&,
const Ice::Current&)
override;
static std::string ExtractStateName(const std::string globalIdString)
bool unsubscribeState(StateItem *state)
void reportNetworkTraffic(const std::string &, const std::string &, Ice::Int, Ice::Int, const Ice::Current &) override
void reportStatechartOutputParameters(const ProfilerStatechartParameters &, const Ice::Current &) override
bool subscribeToState(StateIceBasePtr iceState, StateItem *state)
std::vector< std::pair< StateIceBasePtr, std::pair< statechartmodel::StatePtr, StateItem * > > > SubscriptionMap
void reportStatechartOutputParametersList(const ProfilerStatechartParametersList &, const Ice::Current &) override
void reportStatechartTransitionList(const ProfilerStatechartTransitionList &, const Ice::Current &) override
void onDisconnectComponent() override
Hook for subclass.
VariantPtr getStateParameter(statechartmodel::StatePtr state, const std::string paramMapType) const
std::set< statechartmodel::StatePtr > states
void reportProcessMemoryUsageList(const ProfilerProcessMemoryUsageList &, const Ice::Current &) override
SubscriptionMap subscriptionQueue
void reportProcessMemoryUsage(const ProfilerProcessMemoryUsage &, const Ice::Current &) override
void reportEvent(const ProfilerEvent &, const Ice::Current &) override
void reportProcessCpuUsage(const ProfilerProcessCpuUsage &, const Ice::Current &) override
void reportStatechartInputParameters(const ProfilerStatechartParameters &event, const Ice::Current &) override
void reportProcessCpuUsageList(const ProfilerProcessCpuUsageList &, const Ice::Current &) override
void onInitComponent() override
Pure virtual hook for the subclass.
PeriodicTask< StateWatcher >::pointer_type subscriptionTask
QMap< QString, StateParameterPtr > StateParameterMap
StateListenerDataMap stateMap
void subscriptionFunction()
void reportEventList(const ProfilerEventList &, const Ice::Current &) override
ConditionHandlerInterfacePrx conditionHandler
std::map< std::string, ::armarx::StateParameterMap > parameters
void reportStatechartTransitionWithParametersList(const ProfilerStatechartTransitionWithParametersList &, const Ice::Current &) override
std::set< StateItem * > stateItems
std::string getDefaultName() const override
Retrieve default name of component.
The ManagedIceObject is the base class for all ArmarX objects.
void onConnectComponent() override
Pure virtual hook for the subclass.
void reportStatechartInputParametersList(const ProfilerStatechartParametersList &data, const Ice::Current &) override
void reportStatechartTransitionWithParameters(const ProfilerStatechartTransitionWithParameters &, const Ice::Current &) override
std::shared_ptr< State > StatePtr
void reportStatechartTransition(const ProfilerStatechartTransition &event, const Ice::Current &) override
::armarx::StateParameterMap getStateParameterMap(statechartmodel::StatePtr state, const std::string paramMapType) const
void reportStatechartLocalParameters(const ProfilerStatechartParameters &event, const Ice::Current &) override
std::map< std::string, StateListenerData > StateListenerDataMap
void reportStatechartLocalParametersList(const ProfilerStatechartParametersList &, const Ice::Current &) override
This file offers overloads of toIce() and fromIce() functions for STL container types.
ProfilerObserverInterfacePrx profilerObserver