Version: 8.3.0
SALOMESDS::DataScopeServerBase Class Reference

#include <SALOMESDS_DataScopeServer.hxx>

Inheritance diagram for SALOMESDS::DataScopeServerBase:

Public Member Functions

 DataScopeServerBase (CORBA::ORB_ptr orb, SALOME::DataScopeKiller_var killer, const std::string &scopeName)
 
 DataScopeServerBase (const DataScopeServerBase &other)
 
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)
 
 ~DataScopeServerBase ()
 
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

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

Member Function Documentation

CORBA::Object_var SALOMESDS::POAHolder::activate ( )
inherited
std::string DataScopeServerBase::BuildTmpVarNameFrom ( const std::string &  varName)
static
void DataScopeServerBase::checkExistingVar ( const std::string &  varName) const
void DataScopeServerBase::deleteVar ( const char varName)
CORBA::Boolean DataScopeServerBase::existVar ( const char varName)
std::vector< std::string > DataScopeServerBase::getAllVarNames ( ) const
PyObject* SALOMESDS::DataScopeServerBase::getGlobals ( ) const
PyObject* SALOMESDS::DataScopeServerBase::getLocals ( ) const
CORBA::ORB_var SALOMESDS::DataScopeServerBase::getORB ( )
PyObject* SALOMESDS::DataScopeServerBase::getPickler ( ) const
char * DataScopeServerBase::getScopeName ( )

Called remotely -> to protect against throw.

References _name.

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

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

Called remotely -> to protect against throw.

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

void DataScopeServerBase::moveStatusOfVarFromRdOnlyToRdWr ( const std::string &  varName)
void DataScopeServerBase::moveStatusOfVarFromRdWrToRdOnly ( const std::string &  varName)
void DataScopeServerBase::ping ( )

Called remotely -> to protect against throw.

void DataScopeServerBase::registerInNS ( SALOME::DataScopeServerBase_ptr  ptr)
void DataScopeServerBase::registerToSalomePiDict ( ) const
SALOME::BasicDataServer_ptr DataScopeServerBase::retrieveVarInternal ( const char varName)
std::list< std::pair< SALOME::BasicDataServer_var, BasicDataServer * > >::const_iterator DataScopeServerBase::retrieveVarInternal3 ( const std::string &  varName) const
protected
std::list< std::pair< SALOME::BasicDataServer_var, BasicDataServer * > >::iterator DataScopeServerBase::retrieveVarInternal4 ( const std::string &  varName)
protected
void DataScopeServerBase::setPOA ( PortableServer::POA_var  poa)

Field Documentation

PyObject* SALOMESDS::DataScopeServerBase::_globals
protected
SALOME::DataScopeKiller_var SALOMESDS::DataScopeServerBase::_killer
protected
PyObject* SALOMESDS::DataScopeServerBase::_locals
protected
std::string SALOMESDS::DataScopeServerBase::_name
protected
CORBA::ORB_var SALOMESDS::DataScopeServerBase::_orb
protected
PyObject* SALOMESDS::DataScopeServerBase::_pickler
protected
PortableServer::POA_var SALOMESDS::DataScopeServerBase::_poa
protected
std::size_t DataScopeServerBase::COUNTER =0
staticprotected

Referenced by BuildTmpVarNameFrom().