37 #include "uhal/log/log.hpp" 46 boost::unordered_map<std::string , boost::shared_ptr<CreatorInterface> >::const_iterator lIt =
mCreators.find ( aNodeClassName ) ;
50 log (
Warning() ,
"Derived node \"" , aNodeClassName ,
"\" already exists in map of creators. Continuing for now, but be warned." );
61 log (
Debug() ,
"Creator called for Node of type " ,
Quote ( Type < T >() ) );
62 return new T ( aNode );
boost::unordered_map< std::string, boost::shared_ptr< CreatorInterface > > mCreators
Hash map associating a creator for a particular node type with a string identifier for that node type...
A heirarchical node for navigating heirarchical firmwares.
_Quote< T > Quote(const T &aT)
Node * create(const Node &aNode)
Concrete function which creates a new IPbus client based on the protocol identifier specified...
Templated concrete implementation with a CreatorInterface interface.
void add(const std::string &aNodeClassName)