#include <SALOMESDS_DataScopeServer.hxx>
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... | |
char * | getScopeName () |
Called remotely -> to protect against throw. More... | |
SALOME::StringVec * | listVars () |
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::ByteVec * | fetchSerializedContent (const char *varName) |
SALOME::SeqOfByteVec * | getAllKeysOfVarWithTypeDict (const char *varName) |
BasicDataServer * | retrieveVarInternal2 (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 |
PickelizedPyObjServer * | checkVarExistingAndDict (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 |
DataScopeServer::DataScopeServer | ( | CORBA::ORB_ptr | orb, |
SALOME::DataScopeKiller_var | killer, | ||
const std::string & | scopeName | ||
) |
DataScopeServer::DataScopeServer | ( | const DataScopeServer & | other | ) |
DataScopeServer::~DataScopeServer | ( | ) |
|
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().
|
staticinherited |
|
inherited |
|
inherited |
References SALOMESDS::DataScopeServerBase::getAllVarNames().
Referenced by 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(), and SALOMESDS::DataScopeServerTransaction::createWorkingVarTransac().
|
inherited |
References SALOMESDS::DataScopeServerBase::checkExistingVar(), SALOMESDS::PickelizedPyObjServer::isDict(), and SALOMESDS::DataScopeServerBase::retrieveVarInternal2().
Referenced by SALOMESDS::DataScopeServerTransaction::addKeyValueInVarErrorIfAlreadyExisting(), SALOMESDS::TransactionMultiKeyAddSession::addKeyValueInVarErrorIfAlreadyExistingNow(), SALOMESDS::DataScopeServerTransaction::addKeyValueInVarHard(), SALOMESDS::DataScopeServerTransaction::addMultiKeyValueSession(), SALOMESDS::TransactionDictModify::checkVarExistingAndDict(), SALOMESDS::DataScopeServerTransaction::removeKeyInVarErrorIfNotAlreadyExisting(), SALOMESDS::DataScopeServerTransaction::waitForKeyInVar(), and SALOMESDS::DataScopeServerTransaction::waitForKeyInVarAndKillIt().
SALOME::PickelizedPyObjRdExtServer_ptr DataScopeServer::createRdExtVar | ( | const char * | varName, |
const SALOME::ByteVec & | constValue | ||
) |
SALOME::PickelizedPyObjRdOnlyServer_ptr DataScopeServer::createRdOnlyVar | ( | const char * | varName, |
const SALOME::ByteVec & | constValue | ||
) |
|
inherited |
|
inherited |
References SALOMESDS::POAHolder::getPOA().
Referenced by SALOMESDS::RefCountServ::decrRef(), SALOMESDS::BasicDataServer::Destroy(), SALOMESDS::DataScopeServerBase::shutdownIfNotHostedByDSM(), SALOMESDS::DataScopeServerTransaction::waitForAndKill(), and SALOMESDS::DataScopeServerTransaction::waitForMonoThrRev().
|
inherited |
References SALOMESDS::DataScopeServerBase::_vars.
Referenced by SALOMESDS::TransactionVarCreate::rollBack().
|
inherited |
|
inherited |
|
inherited |
References SALOMESDS::DataScopeServerBase::_vars.
Referenced by SALOMESDS::DataScopeServerBase::checkExistingVar(), SALOMESDS::DataScopeServerBase::checkNotAlreadyExistingVar(), SALOMESDS::DataScopeServerBase::deleteVar(), SALOMESDS::DataScopeServerBase::retrieveVarInternal3(), and SALOMESDS::DataScopeServerBase::retrieveVarInternal4().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
|
inherited |
Called remotely -> to protect against throw.
References SALOMESDS::DataScopeServerBase::_name.
Referenced by SALOMESDS::BasicDataServer::getScopeName().
|
inherited |
|
inherited |
|
inherited |
Called remotely -> to protect against throw.
References SALOMESDS::DataScopeServerBase::_vars, and SALOMESDS::BasicDataServer::getVarNameCpp().
|
inherited |
References SALOMESDS::POAHolder::activate(), SALOMESDS::PickelizedPyObjRdExtInitServer::decrNbClients(), SALOMESDS::RefCountServ::decrRef(), SALOMESDS::PickelizedPyObjServer::getPyObj(), and SALOMESDS::DataScopeServerBase::retrieveVarInternal4().
Referenced by SALOMESDS::TransactionMultiKeyAddSession::perform().
|
inherited |
References SALOMESDS::POAHolder::activate(), SALOMESDS::RefCountServ::decrRef(), SALOMESDS::PickelizedPyObjServer::getPyObj(), SALOMESDS::PickelizedPyObjRdExtInitServer::incrNbClients(), and SALOMESDS::DataScopeServerBase::retrieveVarInternal4().
Referenced by SALOMESDS::TransactionMultiKeyAddSession::TransactionMultiKeyAddSession().
|
inherited |
|
inherited |
|
inherited |
Called remotely -> to protect against throw.
|
inherited |
|
inherited |
SALOME::BasicDataServer_ptr SALOMESDS::DataScopeServer::retrieveVar | ( | const char * | varName | ) |
|
inherited |
References SALOMESDS::DataScopeServerBase::retrieveVarInternal3().
Referenced by SALOMESDS::TransactionMorphRdWrIntoRdOnly::getVar().
|
inherited |
References SALOMESDS::DataScopeServerBase::retrieveVarInternal3().
Referenced by SALOMESDS::DataScopeServerBase::checkVarExistingAndDict(), SALOMESDS::DataScopeServerBase::fetchSerializedContent(), SALOMESDS::DataScopeServerTransaction::getAccessOfVar(), SALOMESDS::DataScopeServerBase::getAllKeysOfVarWithTypeDict(), and SALOMESDS::TransactionMorphRdWrIntoRdOnly::prepareRollBackInCaseOfFailure().
|
protectedinherited |
|
protectedinherited |
References SALOMESDS::DataScopeServerBase::_vars, and SALOMESDS::DataScopeServerBase::getAllVarNames().
Referenced by SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdExtOrRdExtInitToRdExt(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdExtOrRdExtInitToRdExtInit(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdOnlyToRdWr(), and SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdWrToRdOnly().
|
inherited |
References SALOMESDS::DataScopeServerBase::_poa.
Referenced by SALOMESDS::DataServerManager::DataServerManager().
|
inherited |
References SALOMESDS::DataScopeServerBase::_killer, SALOMESDS::DataScopeServerBase::_name, SALOMESDS::DataScopeServerBase::_orb, SALOMESDS::DataScopeServerBase::_poa, SALOMESDS::DataServerManager::CreateAbsNameInNSFromScopeName(), SALOME_NamingService::Destroy_Name(), SALOMESDS::POAHolder::enforcedRelease(), SALOMESDS::DataServerManager::NAME_IN_NS, and SALOME_NamingService::Resolve().
|
protectedinherited |
|
protectedinherited |
Referenced by SALOMESDS::DataScopeServerBase::shutdownIfNotHostedByDSM().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by SALOMESDS::DataScopeServerTransaction::createRdExtInitVarInternal(), createRdExtVar(), SALOMESDS::DataScopeServerTransaction::createRdExtVarInternal(), createRdOnlyVar(), SALOMESDS::DataScopeServerTransaction::createRdOnlyVarInternal(), createRdWrVar(), SALOMESDS::DataScopeServerTransaction::createRdWrVarInternal(), SALOMESDS::DataScopeServerTransaction::createWorkingVarTransac(), SALOMESDS::DataScopeServerBase::deleteVar(), SALOMESDS::DataScopeServerBase::existVar(), SALOMESDS::DataScopeServerBase::getAllVarNames(), SALOMESDS::DataScopeServerBase::listVars(), SALOMESDS::DataScopeServerBase::retrieveVarInternal3(), SALOMESDS::DataScopeServerBase::retrieveVarInternal4(), and SALOMESDS::DataScopeServerBase::~DataScopeServerBase().
|
staticprotectedinherited |
Referenced by SALOMESDS::DataScopeServerBase::BuildTmpVarNameFrom().