#include <SALOMESDS_BasicDataServer.hxx>
Public Member Functions | |
BasicDataServer (DataScopeServerBase *father, const std::string &varName) | |
SALOME::DataScopeServer_ptr | getMyDataScopeServer () |
char * | getVarName () |
Called remotely -> to protect against throw. More... | |
char * | getScopeName () |
void | Register () |
void | UnRegister () |
void | Destroy () |
CORBA::Long | getRCValue () |
DataScopeServerBase * | getFather () const |
std::string | getVarNameCpp () const |
void | incrRef () const |
bool | decrRef () const |
int | getCounter () const |
CORBA::Object_var | activate () |
void | enforcedRelease () |
Protected Member Functions | |
PortableServer::POA_var | getPOA () const |
Protected Attributes | |
DataScopeServerBase * | _father |
Private Attributes | |
std::string | _var_name |
BasicDataServer::BasicDataServer | ( | DataScopeServerBase * | father, |
const std::string & | varName | ||
) |
|
inherited |
References SALOMESDS::POAHolder::getPOA().
Referenced by SALOMESDS::DataScopeServerTransaction::addKeyValueInVarErrorIfAlreadyExisting(), SALOMESDS::DataScopeServerTransaction::addKeyValueInVarHard(), SALOMESDS::DataScopeServerTransaction::addMultiKeyValueSession(), SALOMESDS::DataScopeServerTransaction::createRdExtInitVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdExtInitVarTransac(), SALOMESDS::DataScopeServer::createRdExtVar(), SALOMESDS::DataScopeServerTransaction::createRdExtVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdExtVarTransac(), SALOMESDS::DataScopeServer::createRdOnlyVar(), SALOMESDS::DataScopeServerTransaction::createRdOnlyVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdOnlyVarTransac(), SALOMESDS::DataScopeServer::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().
|
inherited |
References SALOMESDS::RefCountServ::_cnt, and SALOMESDS::POAHolder::enforcedRelease().
Referenced by SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdExtOrRdExtInitToRdExt(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdExtOrRdExtInitToRdExtInit(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdOnlyToRdWr(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdWrToRdOnly(), UnRegister(), and SALOMESDS::DataScopeServerBase::~DataScopeServerBase().
void BasicDataServer::Destroy | ( | ) |
References SALOMESDS::POAHolder::enforcedRelease().
|
inherited |
|
inherited |
References SALOMESDS::RefCountServ::_cnt.
Referenced by getRCValue().
DataScopeServerBase* SALOMESDS::BasicDataServer::getFather | ( | ) | const |
References _father.
Referenced by SALOMESDS::KeyWaiter::KeyWaiter(), SALOMESDS::KeyWaiter::waitForAndKill(), and SALOMESDS::KeyWaiter::waitForMonoThr().
SALOME::DataScopeServer_ptr BasicDataServer::getMyDataScopeServer | ( | ) |
References _father, and SALOMESDS::DataScopeServerBase::getPOA().
|
protectedvirtual |
Implements SALOMESDS::POAHolder.
References _father, and SALOMESDS::DataScopeServerBase::getPOA().
CORBA::Long BasicDataServer::getRCValue | ( | ) |
References SALOMESDS::RefCountServ::getCounter().
char * BasicDataServer::getScopeName | ( | ) |
References _father, and SALOMESDS::DataScopeServerBase::getScopeName().
char * BasicDataServer::getVarName | ( | ) |
Called remotely -> to protect against throw.
References _var_name.
std::string SALOMESDS::BasicDataServer::getVarNameCpp | ( | ) | const |
References _var_name.
Referenced by SALOMESDS::PickelizedPyObjServer::addKeyValueHard(), SALOMESDS::PickelizedPyObjRdExtServer::invokePythonMethodOn(), SALOMESDS::PickelizedPyObjRdWrServer::invokePythonMethodOn(), SALOMESDS::DataScopeServerBase::listVars(), and SALOMESDS::PickelizedPyObjServer::removeKeyInVarErrorIfNotAlreadyExisting().
|
inherited |
References SALOMESDS::RefCountServ::_cnt.
Referenced by Register().
void BasicDataServer::Register | ( | ) |
References SALOMESDS::RefCountServ::incrRef().
void BasicDataServer::UnRegister | ( | ) |
References SALOMESDS::RefCountServ::decrRef().
|
protected |
Referenced by getFather(), getMyDataScopeServer(), getPOA(), SALOMESDS::PickelizedPyObjServer::getPyObjFromPickled(), getScopeName(), SALOMESDS::PickelizedPyObjRdExtServer::invokePythonMethodOn(), SALOMESDS::PickelizedPyObjRdWrServer::invokePythonMethodOn(), and SALOMESDS::PickelizedPyObjServer::pickelize().
|
private |
Referenced by getVarName(), and getVarNameCpp().