32 for(
Module* module = stack_; module; module = module->next_ )
45 for(
Module* module = stack_; module; module = module->next_ )
50 previous->next_ = next_;
59 template<
typename T >
62 const T& resources = discover();
63 for(
typename T::const_iterator i = resources.begin();
64 i != resources.end(); ++i )
66 typename T::value_type info = *i;
67 info.session = session;
68 std::cout << info << std::endl;
Module()
Register and construct a new module.
virtual ~Module()
Destruct this module.
virtual bool announce(const std::string &session) const
Announce the information about all found resources.
Base class for runtime-attached DSOs of a query implementation.