29 #ifndef DATATOOLS_CONFIGURATION_VARIANT_DEPENDENCY_LOGIC_H 30 #define DATATOOLS_CONFIGURATION_VARIANT_DEPENDENCY_LOGIC_H 38 #include <boost/function.hpp> 39 #include <boost/functional/factory.hpp> 47 namespace configuration {
49 class variant_dependency;
50 class variant_object_info;
51 class variant_repository;
52 class variant_registry;
70 virtual const char *
guid()
const = 0;
91 void disconnect(
const unsigned int input_port_);
97 void connect_dependee(
const unsigned int input_port_,
const unsigned int dependee_slot_);
103 virtual void tree_dump(std::ostream & out_ = std::clog,
104 const std::string & title_ =
"",
105 const std::string & indent_ =
"",
106 bool inherit_ =
false)
const;
132 typedef std::map<std::string, dependency_logic_factory_type>
150 virtual const char *
guid()
const;
168 virtual void tree_dump(std::ostream & out_ = std::clog,
169 const std::string & title_ =
"",
170 const std::string & indent_ =
"",
171 bool inherit_ =
false)
const;
174 unsigned int _dependee_slot_
175 = std::numeric_limits<unsigned int>::max();
191 virtual const char *
guid()
const;
213 virtual const char *
guid()
const;
232 virtual const char *
guid()
const;
251 virtual const char *
guid()
const;
262 #endif // DATATOOLS_CONFIGURATION_VARIANT_DEPENDENCY_LOGIC_H