-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
namespace SALOMESDS
{
- class DataScopeServer;
+ class DataScopeServerBase;
class BasicDataServer : public RefCountServ, public virtual POA_SALOME::BasicDataServer
{
public:
- BasicDataServer(DataScopeServer *father, const std::string& varName);
+ BasicDataServer(DataScopeServerBase *father, const std::string& varName);
SALOME::DataScopeServer_ptr getMyDataScopeServer();
char *getVarName();
char *getScopeName();
void Register();
void UnRegister();
void Destroy();
+ CORBA::Long getRCValue();
public:
+ DataScopeServerBase *getFather() const { return _father; }
std::string getVarNameCpp() const { return _var_name; }
protected:
- PortableServer::POA_var getPOA();
+ PortableServer::POA_var getPOA() const;
protected:
- DataScopeServer *_father;
+ DataScopeServerBase *_father;
private:
std::string _var_name;
};