ContextRef Context::create( const Format &format ) { static ContextRef factoryBulletContext; if( ! sBulletContextInitialized ) { factoryBulletContext = ContextRef( new Context( format ) ); } return factoryBulletContext; }
ContextRef Context::create( const std::string &name ) { return ContextRef( new Context( name ) ); }