SkillContext.h
Go to the documentation of this file.
1#pragma once
2
3// ArmarX
5
6namespace armarx
7{
8 namespace skills
9 {
10 /* A virtual base class for skill contexts.
11 * It is not required to use a context for skills but it eases the management of
12 * dependencies and properties for providers */
14 {
15 public:
16 SkillContext() = default;
17
19 const std::string& prefix){};
20
21 virtual void onInit(armarx::Component& parent){};
22 virtual void onConnected(armarx::Component& parent){};
23 virtual void onDisconnected(armarx::Component& parent){};
24 virtual void onStopped(armarx::Component& parent){};
25
26 private:
27 };
28 } // namespace skills
29} // namespace armarx
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
virtual void onStopped(armarx::Component &parent)
virtual void onDisconnected(armarx::Component &parent)
virtual void defineProperties(const armarx::PropertyDefinitionsPtr &defs, const std::string &prefix)
virtual void onConnected(armarx::Component &parent)
virtual void onInit(armarx::Component &parent)
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.