Exemplo n.º 1
0
	SimpleVolumeMeter_p SimpleVolumeMeter::cast( Object * pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return SimpleVolumeMeter_p( static_cast<SimpleVolumeMeter*>(pObject) );

		return 0;
	}
Exemplo n.º 2
0
	SimpleVolumeMeter_p SimpleVolumeMeter::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return SimpleVolumeMeter_p( static_cast<SimpleVolumeMeter*>(pObject.rawPtr()) );
	
		return 0;
	}