22 static std::size_t lSize(1024);
23 static char* lDemangled =
new char[lSize];
24 ss << (abi::__cxa_demangle(
typeid ( *this).name(), lDemangled, &lSize, &lStatus));
26 ss << (
typeid ( T).
name());
29 std::cout <<
"This is " << ss.str() << std::endl;
30 const boost::unordered_map<std::string, std::string>& lParameters =
getParameters();
31 boost::unordered_map<std::string, std::string>::const_iterator it;
33 for (it = lParameters.begin(); it != lParameters.end(); ++it, ++k)
34 std::cout << ss.str() <<
" par[" << k <<
"]: key=" << it->first <<
", val=" << it->second << std::endl;
virtual ~DummyParentNode()
virtual ~DummyChildNode()
A heirarchical node for navigating heirarchical firmwares.
void printParameters() const
#define UHAL_REGISTER_DERIVED_NODE(classname)
Macro which adds a Derived Node Class to the factory It takes a classname and then creates a registra...
DummyChildNode(const Node &aNode)
const boost::unordered_map< std::string, std::string > & getParameters() const
Return parameters of the current node.