35 #ifndef CONTROLDICTIONARY_H
36 #define CONTROLDICTIONARY_H
80 int priority,
bool allowreplace =
false ) ;
82 int priority,
bool allowreplace =
false ) ;
87 struct ControlDictionaryElement{
93 std::map<std::string, ControlDictionaryElement> myControls ;
almost private utility class, used mainly for python bindings
virtual ~ControlCreatorBase()
virtual ControlPtr operator()()=0
almost private utility class, used mainly for python bindings
virtual ControlPtr operator()()
ControlCreatorFunc(ControlCreator)
virtual ~ControlCreatorFunc()
ControlPtr(* ControlCreator)()
ControlPtr getControlInstance(const std::string &name)
static ControlDictionary * instance()
bool removeControl(const std::string &)
void addControl(const std::string &name, ControlCreatorBase *creator, int priority, bool allowreplace=false)
void addControl(const std::string &name, ControlCreator creator, int priority, bool allowreplace=false)
int testPriorityUnicity(int priority)
int controlPriority(const std::string &name) const