#include <SALOMEDS_StudyManager_i.hxx>

Public Member Functions | |
| SALOMEDS_StudyManager_i (CORBA::ORB_ptr orb, PortableServer::POA_ptr thePOA) | |
| standard constructor  More... | |
| virtual | ~SALOMEDS_StudyManager_i () | 
| standard destructor  More... | |
| void | register_name (const char *name) | 
| method to Register study Manager in the naming service  More... | |
| virtual SALOMEDS::Study_ptr | NewStudy (const char *study_name) throw (SALOME::SALOME_Exception) | 
| method to Create a New Study of name study_name  More... | |
| virtual SALOMEDS::Study_ptr | Open (const char *aStudyUrl) throw (SALOME::SALOME_Exception) | 
| method to Open a Study from it's persistent reference  More... | |
| virtual void | Close (SALOMEDS::Study_ptr aStudy) | 
| method to close a Study  More... | |
| virtual CORBA::Boolean | Save (SALOMEDS::Study_ptr aStudy, CORBA::Boolean theMultiFile) | 
| method to save a Study  More... | |
| virtual CORBA::Boolean | SaveASCII (SALOMEDS::Study_ptr aStudy, CORBA::Boolean theMultiFile) | 
| virtual CORBA::Boolean | SaveAs (const char *aUrl, SALOMEDS::Study_ptr aStudy, CORBA::Boolean theMultiFile) | 
| method to save a Study to the persistent reference aUrl  More... | |
| virtual CORBA::Boolean | SaveAsASCII (const char *aUrl, SALOMEDS::Study_ptr aStudy, CORBA::Boolean theMultiFile) | 
| virtual  SALOMEDS::ListOfOpenStudies *  | GetOpenStudies () | 
| method to Get name list of open studies in the session  More... | |
| virtual SALOMEDS::Study_ptr | GetStudyByName (const char *aStudyName) | 
| method to get a Study from it's name  More... | |
| virtual SALOMEDS::Study_ptr | GetStudyByID (CORBA::Short aStudyID) | 
| method to get a Study from it's ID  More... | |
| virtual CORBA::Boolean | CanCopy (SALOMEDS::SObject_ptr theObject) | 
| Function : CanCopy Purpose :  More... | |
| virtual CORBA::Boolean | Copy (SALOMEDS::SObject_ptr theObject) | 
| Function : Copy Purpose :  More... | |
| virtual CORBA::Boolean | CanPaste (SALOMEDS::SObject_ptr theObject) | 
| Function : CanPaste Purpose :  More... | |
| virtual SALOMEDS::SObject_ptr | Paste (SALOMEDS::SObject_ptr theObject) throw (SALOMEDS::StudyBuilder::LockProtection) | 
| Function : Paste Purpose :  More... | |
| virtual char * | ConvertObjectToIOR (CORBA::Object_ptr theObject) | 
| virtual CORBA::Object_ptr | ConvertIORToObject (const char *theIOR) | 
| void | ping () | 
| CORBA::Long | getPID () | 
| void | ShutdownWithExit () | 
| virtual CORBA::LongLong | GetLocalImpl (const char *theHostname, CORBA::Long thePID, CORBA::Boolean &isLocal) | 
| void | Shutdown () | 
Static Public Member Functions | |
| static PortableServer::POA_ptr | GetPOA (const SALOMEDS::Study_ptr theStudy) | 
Private Attributes | |
| CORBA::ORB_var | _orb | 
| PortableServer::POA_var | _poa | 
| SALOMEDSImpl_StudyManager * | _impl | 
| SALOME_NamingService * | _name_service | 
| SALOMEDS_DriverFactory_i * | _factory | 
| SALOMEDS_StudyManager_i::SALOMEDS_StudyManager_i | ( | CORBA::ORB_ptr | orb, | 
| PortableServer::POA_ptr | thePOA | ||
| ) | 
standard constructor
Function : SALOMEDS_StudyManager_i Purpose : SALOMEDS_StudyManager_i constructor.
References _factory, _impl, _name_service, _orb, _poa, and SALOME_NamingService::Create_Directory().
      
  | 
  virtual | 
standard destructor
Function : ~SALOMEDS_StudyManager_i Purpose : SALOMEDS_StudyManager_i destructor.
References _factory, _impl, _name_service, and SALOME_NamingService::Destroy_Directory().
      
  | 
  virtual | 
Function : CanCopy Purpose :
References _impl, _orb, SALOMEDSImpl_StudyManager::CanCopy(), GetDriver(), SALOMEDSImpl_Study::GetSObject(), SALOMEDSImpl_StudyManager::GetStudyByID(), and SALOMEDS::lock().
      
  | 
  virtual | 
Function : CanPaste Purpose :
References _impl, _orb, SALOMEDSImpl_StudyManager::CanPaste(), GetDriver(), SALOMEDSImpl_Study::GetSObject(), SALOMEDSImpl_StudyManager::GetStudyByID(), and SALOMEDS::lock().
      
  | 
  virtual | 
method to close a Study
Function : Close Purpose : Close a study.
| Study_ptr | arguments | 
If the study hasn't been saved, ask the user to confirm the close action without saving
References _name_service, SALOME_NamingService::Change_Directory(), SALOME_NamingService::Destroy_Name(), GetPOA(), SALOMEDS::lock(), and SALOMEDS::unlock().
      
  | 
  virtual | 
      
  | 
  virtual | 
      
  | 
  virtual | 
Function : Copy Purpose :
References _impl, _orb, SALOMEDSImpl_StudyManager::Copy(), GetDriver(), SALOMEDSImpl_Study::GetSObject(), SALOMEDSImpl_StudyManager::GetStudyByID(), and SALOMEDS::lock().
      
  | 
  virtual | 
References _impl, and Kernel_Utils::GetHostname().
      
  | 
  virtual | 
method to Get name list of open studies in the session
Function : GetOpenStudies Purpose : Get name list of open studies in the session.
References _impl, SALOMEDSImpl_StudyManager::GetOpenStudies(), SALOMEDS::lock(), MESSAGE, and SCRUTE.
| CORBA::Long SALOMEDS_StudyManager_i::getPID | ( | ) | 
      
  | 
  static | 
Referenced by Close().
      
  | 
  virtual | 
method to get a Study from it's ID
Function : GetStudyByID Purpose : Get a study from its ID.
| char* | arguments, the study ID | 
References _impl, _orb, SALOMEDSImpl_StudyManager::GetErrorCode(), SALOMEDSImpl_StudyManager::GetStudyByID(), SALOMEDS_Study_i::GetStudyServant(), SALOMEDS::lock(), and MESSAGE.
      
  | 
  virtual | 
method to get a Study from it's name
Function : GetStudyByName Purpose : Get a study from its name.
| char* | arguments, the study name | 
References _impl, _orb, SALOMEDSImpl_StudyManager::GetErrorCode(), SALOMEDSImpl_StudyManager::GetStudyByName(), SALOMEDS_Study_i::GetStudyServant(), SALOMEDS::lock(), and MESSAGE.
      
  | 
  virtual | 
method to Create a New Study of name study_name
Function : NewStudy Purpose : Create a New Study of name study_name.
| char* | arguments, the new study name | 
References SALOME::BAD_PARAM, SALOMEDS_Study_i::GetStudyServant(), SALOMEDS::lock(), MESSAGE, SALOMEDSImpl_Study::SetTransientReference(), and THROW_SALOME_CORBA_EXCEPTION.
      
  | 
  virtual | 
method to Open a Study from it's persistent reference
Function : Open Purpose : Open a Study from it's persistent reference.
| char* | arguments, the study URL | 
References SALOME::BAD_PARAM, SALOMEDS_Study_i::GetStudyServant(), SALOMEDS::lock(), MESSAGE, SALOMEDSImpl_Study::Name(), SalomeException(), SALOMEDSImpl_Study::SetTransientReference(), and THROW_SALOME_CORBA_EXCEPTION.
      
  | 
  virtual | 
Function : Paste Purpose :
References GetDriver(), SALOMEDSImpl_Study::GetSObject(), SALOMEDS::lock(), and SALOMEDS_SObject_i::New().
| void SALOMEDS_StudyManager_i::ping | ( | ) | 
| void SALOMEDS_StudyManager_i::register_name | ( | const char * | name | ) | 
method to Register study Manager in the naming service
Function : register_name Purpose : Register the study Manager in the naming service under the context name.
| char* | arguments, the context to register the study manager in the NS | 
References _name_service, and SALOME_NamingService::Register().
Referenced by CreateStudyManager(), and main().
      
  | 
  virtual | 
method to save a Study
Function : Save Purpose : Save a Study to it's persistent reference.
| Study_ptr | arguments | 
References _factory, _impl, SALOMEDSImpl_StudyManager::GetStudyByID(), SALOMEDS::lock(), MESSAGE, and SALOMEDSImpl_StudyManager::Save().
      
  | 
  virtual | 
method to save a Study to the persistent reference aUrl
Function : SaveAs Purpose : Save a study to the persistent reference aUrl.
| char* | arguments, the new URL of the study | 
| Study_ptr | arguments | 
References _factory, _impl, SALOMEDSImpl_StudyManager::GetStudyByID(), SALOMEDS::lock(), MESSAGE, and SALOMEDSImpl_StudyManager::SaveAs().
      
  | 
  virtual | 
      
  | 
  virtual | 
| void SALOMEDS_StudyManager_i::Shutdown | ( | ) | 
| void SALOMEDS_StudyManager_i::ShutdownWithExit | ( | ) | 
      
  | 
  private | 
Referenced by SALOMEDS_StudyManager_i(), Save(), SaveAs(), SaveAsASCII(), SaveASCII(), and ~SALOMEDS_StudyManager_i().
      
  | 
  private | 
      
  | 
  private | 
Referenced by Close(), register_name(), SALOMEDS_StudyManager_i(), and ~SALOMEDS_StudyManager_i().
      
  | 
  private | 
Referenced by CanCopy(), CanPaste(), Copy(), GetStudyByID(), GetStudyByName(), and SALOMEDS_StudyManager_i().
      
  | 
  private | 
Referenced by SALOMEDS_StudyManager_i().