systemCommand_ptr systemCommand::_nil() { #ifdef OMNI_UNLOADABLE_STUBS static _objref_systemCommand _the_nil_obj; return &_the_nil_obj; #else static _objref_systemCommand* _the_nil_ptr = 0; if( !_the_nil_ptr ) { omni::nilRefLock().lock(); if( !_the_nil_ptr ) { _the_nil_ptr = new _objref_systemCommand; registerNilCorbaObject(_the_nil_ptr); } omni::nilRefLock().unlock(); } return _the_nil_ptr; #endif }
OpenHRP::CommandReceiver_ptr OpenHRP::CommandReceiver::_nil() { #ifdef OMNI_UNLOADABLE_STUBS static _objref_CommandReceiver _the_nil_obj; return &_the_nil_obj; #else static _objref_CommandReceiver* _the_nil_ptr = 0; if( !_the_nil_ptr ) { omni::nilRefLock().lock(); if( !_the_nil_ptr ) { _the_nil_ptr = new _objref_CommandReceiver; registerNilCorbaObject(_the_nil_ptr); } omni::nilRefLock().unlock(); } return _the_nil_ptr; #endif }
jointAnglePlugin_ptr jointAnglePlugin::_nil() { #ifdef OMNI_UNLOADABLE_STUBS static _objref_jointAnglePlugin _the_nil_obj; return &_the_nil_obj; #else static _objref_jointAnglePlugin* _the_nil_ptr = 0; if( !_the_nil_ptr ) { omni::nilRefLock().lock(); if( !_the_nil_ptr ) { _the_nil_ptr = new _objref_jointAnglePlugin; registerNilCorbaObject(_the_nil_ptr); } omni::nilRefLock().unlock(); } return _the_nil_ptr; #endif }
OpenHRP::sonyService_ptr OpenHRP::sonyService::_nil() { #ifdef OMNI_UNLOADABLE_STUBS static _objref_sonyService _the_nil_obj; return &_the_nil_obj; #else static _objref_sonyService* _the_nil_ptr = 0; if( !_the_nil_ptr ) { omni::nilRefLock().lock(); if( !_the_nil_ptr ) { _the_nil_ptr = new _objref_sonyService; registerNilCorbaObject(_the_nil_ptr); } omni::nilRefLock().unlock(); } return _the_nil_ptr; #endif }