Exemple #1
0
void Device::addMethod(std::string name, Functor* functor)
{

	printf("%s\n", functor->getType().c_str());
	m_methods.insert(FunctorPair(name, functor));

};
Exemple #2
0
		void Register(const Hash& xHash, Functor* pxCreateFunctor)
		{
			m_xCreateFunctors.insert(FunctorPair(xHash, pxCreateFunctor));
		}