Version: 8.3.0
SALOMESDS::DataScopeServer Class Reference

#include <SALOMESDS_DataScopeServer.hxx>

Inheritance diagram for SALOMESDS::DataScopeServer:

Public Member Functions

 DataScopeServer (CORBA::ORB_ptr orb, SALOME::DataScopeKiller_var killer, const std::string &scopeName)
 
 DataScopeServer (const DataScopeServer &other)
 
SALOME::BasicDataServer_ptr retrieveVar (const char *varName)
 
SALOME::PickelizedPyObjRdOnlyServer_ptr createRdOnlyVar (const char *varName, const SALOME::ByteVec &constValue)
 
SALOME::PickelizedPyObjRdExtServer_ptr createRdExtVar (const char *varName, const SALOME::ByteVec &constValue)
 
SALOME::PickelizedPyObjRdWrServer_ptr createRdWrVar (const char *typeName, const char *varName)
 
 ~DataScopeServer ()
 
void ping ()
 Called remotely -> to protect against throw. More...
 
chargetScopeName ()
 Called remotely -> to protect against throw. More...
 
SALOME::StringVeclistVars ()
 Called remotely -> to protect against throw. More...
 
CORBA::Boolean existVar (const char *varName)
 
SALOME::BasicDataServer_ptr retrieveVarInternal (const char *varName)
 
void deleteVar (const char *varName)
 
CORBA::Boolean shutdownIfNotHostedByDSM (SALOME::DataScopeKiller_out killer)
 
SALOME::ByteVecfetchSerializedContent (const char *varName)
 
SALOME::SeqOfByteVecgetAllKeysOfVarWithTypeDict (const char *varName)
 
BasicDataServerretrieveVarInternal2 (const std::string &varName)
 
void initializePython (int argc, char *argv[])
 
void registerToSalomePiDict () const
 
void setPOA (PortableServer::POA_var poa)
 
void registerInNS (SALOME::DataScopeServerBase_ptr ptr)
 
PyObject * getGlobals () const
 
PyObject * getLocals () const
 
PyObject * getPickler () const
 
PortableServer::POA_var getPOA () const
 
CORBA::ORB_var getORB ()
 
std::string getScopeNameCpp () const
 
std::vector< std::string > getAllVarNames () const
 
void checkNotAlreadyExistingVar (const std::string &varName) const
 
void checkExistingVar (const std::string &varName) const
 
PickelizedPyObjServercheckVarExistingAndDict (const std::string &varName)
 
void moveStatusOfVarFromRdWrToRdOnly (const std::string &varName)
 
void moveStatusOfVarFromRdOnlyToRdWr (const std::string &varName)
 
void moveStatusOfVarFromRdExtOrRdExtInitToRdExtInit (const std::string &varName)
 
void moveStatusOfVarFromRdExtOrRdExtInitToRdExt (const std::string &varName)
 
CORBA::Object_var activate ()
 
void enforcedRelease ()
 

Static Public Member Functions

static std::string BuildTmpVarNameFrom (const std::string &varName)
 

Protected Member Functions

std::list< std::pair
< SALOME::BasicDataServer_var,
BasicDataServer * >
>::const_iterator 
retrieveVarInternal3 (const std::string &varName) const
 
std::list< std::pair
< SALOME::BasicDataServer_var,
BasicDataServer * >
>::iterator 
retrieveVarInternal4 (const std::string &varName)
 

Protected Attributes

PyObject * _globals
 
PyObject * _locals
 
PyObject * _pickler
 
PortableServer::POA_var _poa
 
CORBA::ORB_var _orb
 
std::string _name
 
std::list< std::pair
< SALOME::BasicDataServer_var,
BasicDataServer * > > 
_vars
 
SALOME::DataScopeKiller_var _killer
 

Static Protected Attributes

static std::size_t COUNTER =0
 

Constructor & Destructor Documentation

DataScopeServer::DataScopeServer ( CORBA::ORB_ptr  orb,
SALOME::DataScopeKiller_var  killer,
const std::string &  scopeName 
)
DataScopeServer::DataScopeServer ( const DataScopeServer other)
DataScopeServer::~DataScopeServer ( )

Member Function Documentation

CORBA::Object_var SALOMESDS::POAHolder::activate ( )
inherited

References SALOMESDS::POAHolder::getPOA().

Referenced by SALOMESDS::DataScopeServerTransaction::addKeyValueInVarErrorIfAlreadyExisting(), SALOMESDS::DataScopeServerTransaction::addKeyValueInVarHard(), SALOMESDS::DataScopeServerTransaction::addMultiKeyValueSession(), SALOMESDS::DataScopeServerTransaction::createRdExtInitVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdExtInitVarTransac(), createRdExtVar(), SALOMESDS::DataScopeServerTransaction::createRdExtVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdExtVarTransac(), createRdOnlyVar(), SALOMESDS::DataScopeServerTransaction::createRdOnlyVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdOnlyVarTransac(), createRdWrVar(), SALOMESDS::DataScopeServerTransaction::createRdWrVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdWrVarTransac(), SALOMESDS::DataScopeServerTransaction::createWorkingVarTransac(), SALOMESDS::DataServerManager::DataServerManager(), SALOMESDS::DataScopeServerTransaction::killVarTransac(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdExtOrRdExtInitToRdExt(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdExtOrRdExtInitToRdExtInit(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdOnlyToRdWr(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdWrToRdOnly(), SALOMESDS::DataScopeServerTransaction::removeKeyInVarErrorIfNotAlreadyExisting(), SALOMESDS::DataScopeServerTransaction::waitForKeyInVar(), and SALOMESDS::DataScopeServerTransaction::waitForKeyInVarAndKillIt().

std::string DataScopeServerBase::BuildTmpVarNameFrom ( const std::string &  varName)
staticinherited
SALOME::PickelizedPyObjRdExtServer_ptr DataScopeServer::createRdExtVar ( const char varName,
const SALOME::ByteVec constValue 
)
SALOME::PickelizedPyObjRdOnlyServer_ptr DataScopeServer::createRdOnlyVar ( const char varName,
const SALOME::ByteVec constValue 
)
SALOME::PickelizedPyObjRdWrServer_ptr DataScopeServer::createRdWrVar ( const char typeName,
const char varName 
)
CORBA::Boolean DataScopeServerBase::existVar ( const char varName)
inherited
PyObject* SALOMESDS::DataScopeServerBase::getGlobals ( ) const
inherited
PyObject* SALOMESDS::DataScopeServerBase::getLocals ( ) const
inherited
CORBA::ORB_var SALOMESDS::DataScopeServerBase::getORB ( )
inherited
PyObject* SALOMESDS::DataScopeServerBase::getPickler ( ) const
inherited
char * DataScopeServerBase::getScopeName ( )
inherited

Called remotely -> to protect against throw.

References SALOMESDS::DataScopeServerBase::_name.

Referenced by SALOMESDS::BasicDataServer::getScopeName().

std::string SALOMESDS::DataScopeServerBase::getScopeNameCpp ( ) const
inherited
void DataScopeServerBase::initializePython ( int  argc,
char argv[] 
)
inherited
SALOME::StringVec * DataScopeServerBase::listVars ( )
inherited

Called remotely -> to protect against throw.

References SALOMESDS::DataScopeServerBase::_vars, and SALOMESDS::BasicDataServer::getVarNameCpp().

void DataScopeServerBase::ping ( )
inherited

Called remotely -> to protect against throw.

void DataScopeServerBase::registerToSalomePiDict ( ) const
inherited
SALOME::BasicDataServer_ptr SALOMESDS::DataScopeServer::retrieveVar ( const char varName)
SALOME::BasicDataServer_ptr DataScopeServerBase::retrieveVarInternal ( const char varName)
inherited
std::list< std::pair< SALOME::BasicDataServer_var, BasicDataServer * > >::const_iterator DataScopeServerBase::retrieveVarInternal3 ( const std::string &  varName) const
protectedinherited
void DataScopeServerBase::setPOA ( PortableServer::POA_var  poa)
inherited

Field Documentation

PyObject* SALOMESDS::DataScopeServerBase::_globals
protectedinherited
SALOME::DataScopeKiller_var SALOMESDS::DataScopeServerBase::_killer
protectedinherited
PyObject* SALOMESDS::DataScopeServerBase::_locals
protectedinherited
PyObject* SALOMESDS::DataScopeServerBase::_pickler
protectedinherited
PortableServer::POA_var SALOMESDS::DataScopeServerBase::_poa
protectedinherited
std::size_t DataScopeServerBase::COUNTER =0
staticprotectedinherited