void ofxGenericApp::setofxGenericAppInstanceToThis() { if ( !ofxGenericApp::_this ) { ofxGenericApp::_this = ofPtr< ofxGenericApp >( this ); } else { throw ofxGenericExceptionSubclassedSingletonInitializedTwice( "ofxGenericApp" ); } }
void ClapTrapApp::setClapTrapAppInstanceToThis() { if ( !ClapTrapApp::_this ) { ClapTrapApp::_this = ofPtr< ClapTrapApp >( this ); ClapTrapApp::_this->setofxGenericAppInstanceToThis(); } else { throw ofxGenericExceptionSubclassedSingletonInitializedTwice( "ofxGenericApp" ); } }
void PlatformInfo::setPlatformInfoInstanceToThis() { if ( !PlatformInfo::_this ) { PlatformInfo::_this = ofPtr< PlatformInfo >( this ); PlatformInfo::_this->setofxGenericAppInstanceToThis(); } else { throw ofxGenericExceptionSubclassedSingletonInitializedTwice( "ofxGenericApp" ); } }