Version: 8.3.0
SALOMESDS::DataServerManager Class Reference

#include <SALOMESDS_DataServerManager.hxx>

Inheritance diagram for SALOMESDS::DataServerManager:

Public Member Functions

 DataServerManager (int argc, char *argv[], CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
 
SALOME::StringVeclistScopes ()
 
SALOME::StringVeclistAliveAndKickingScopes ()
 
SALOME::DataScopeServer_ptr getDefaultScope ()
 
CORBA::Boolean isAliveAndKicking (const char *scopeName)
 
SALOME::DataScopeServerBase_ptr retriveDataScope (const char *scopeName)
 
SALOME::DataScopeServer_ptr createDataScope (const char *scopeName)
 
SALOME::DataScopeServer_ptr giveADataScopeCalled (const char *scopeName, CORBA::Boolean &isCreated)
 
SALOME::DataScopeServerTransaction_ptr createDataScopeTransaction (const char *scopeName)
 
SALOME::DataScopeServerTransaction_ptr giveADataScopeTransactionCalled (const char *scopeName, CORBA::Boolean &isCreated)
 
void removeDataScope (const char *scopeName)
 
void cleanScopesInNS ()
 
void shutdownScopes ()
 
CORBA::ORB_var getORB ()
 

Static Public Member Functions

static std::string CreateAbsNameInNSFromScopeName (const std::string &scopeName)
 
static CORBA::Boolean IsAliveAndKicking (SALOME::DataScopeServerBase_ptr scopePtr)
 
static
SALOME::DataScopeServerBase_var 
GetScopePtrGivenName (const std::string &scopeName, const std::vector< std::string > &scopes, SALOME_NamingService &ns)
 

Static Public Attributes

static const char NAME_IN_NS [] ="/DataServerManager"
 
static const char DFT_SCOPE_NAME_IN_NS [] ="Default"
 

Private Member Functions

std::vector< std::string > listOfScopesCpp ()
 
SALOME::DataScopeServerBase_var getScopePtrGivenName (const std::string &scopeName)
 

Private Attributes

CORBA::ORB_var _orb
 
PortableServer::POA_var _poa
 single thread poa More...
 

Constructor & Destructor Documentation

Member Function Documentation

std::string DataServerManager::CreateAbsNameInNSFromScopeName ( const std::string &  scopeName)
static
SALOME::DataScopeServer_ptr DataServerManager::createDataScope ( const char scopeName)

References _orb, and listOfScopesCpp().

SALOME::DataScopeServerTransaction_ptr DataServerManager::createDataScopeTransaction ( const char scopeName)

References _orb, and listOfScopesCpp().

SALOME::DataScopeServer_ptr DataServerManager::getDefaultScope ( )
CORBA::ORB_var SALOMESDS::DataServerManager::getORB ( )
SALOME::DataScopeServerBase_var DataServerManager::GetScopePtrGivenName ( const std::string &  scopeName,
const std::vector< std::string > &  scopes,
SALOME_NamingService ns 
)
static
SALOME::DataScopeServerBase_var DataServerManager::getScopePtrGivenName ( const std::string &  scopeName)
private
SALOME::DataScopeServer_ptr DataServerManager::giveADataScopeCalled ( const char scopeName,
CORBA::Boolean &  isCreated 
)

References _orb, and listOfScopesCpp().

SALOME::DataScopeServerTransaction_ptr DataServerManager::giveADataScopeTransactionCalled ( const char scopeName,
CORBA::Boolean &  isCreated 
)

References _orb, and listOfScopesCpp().

CORBA::Boolean DataServerManager::isAliveAndKicking ( const char scopeName)
CORBA::Boolean DataServerManager::IsAliveAndKicking ( SALOME::DataScopeServerBase_ptr  scopePtr)
static
SALOME::StringVec * DataServerManager::listAliveAndKickingScopes ( )
SALOME::StringVec * DataServerManager::listScopes ( )

References listOfScopesCpp().

void DataServerManager::removeDataScope ( const char scopeName)
SALOME::DataScopeServerBase_ptr DataServerManager::retriveDataScope ( const char scopeName)

References getScopePtrGivenName().

Referenced by getDefaultScope().

void DataServerManager::shutdownScopes ( )

Field Documentation

PortableServer::POA_var SALOMESDS::DataServerManager::_poa
private

single thread poa

Referenced by DataServerManager().

const char DataServerManager::DFT_SCOPE_NAME_IN_NS ="Default"
static