void Device::addMethod(std::string name, Functor* functor) { printf("%s\n", functor->getType().c_str()); m_methods.insert(FunctorPair(name, functor)); };
void Register(const Hash& xHash, Functor* pxCreateFunctor) { m_xCreateFunctors.insert(FunctorPair(xHash, pxCreateFunctor)); }