AppServerPtr AppServer::getTask( ) { FrameworkPtr fw = Framework::getInstance( ); return std::dynamic_pointer_cast< AppServer >( fw->getTask( AppServer::getTag( ) ) ); }
ClientPtr Client::getTask( ) { FrameworkPtr fw = Framework::getInstance( ); return std::dynamic_pointer_cast< Client >( fw->getTask( Client::getTag( ) ) ); }
CameraPtr Camera::getTask( ) { FrameworkPtr fw = Framework::getInstance( ); return std::dynamic_pointer_cast< Camera >( fw->getTask( getTag( ) ) ); }
KeyboardPtr Keyboard::getTask( ) { FrameworkPtr fw = Framework::getInstance( ); return std::dynamic_pointer_cast< Keyboard >( fw->getTask( Keyboard::getTag( ) ) ); }
DrawerPtr Drawer::getTask( ) { FrameworkPtr fw = Framework::getInstance( ); return std::dynamic_pointer_cast< Drawer >( fw->getTask( Drawer::getTag( ) ) ); }