22#ifndef ObjectRepository_H_
23#define ObjectRepository_H_
26#include <omniORB4/CORBA.h>
27#include <omniORB4/Naming.hh>
29#include "UniSetTypes.h"
30#include "Exceptions.h"
31#include "Configuration.h"
68 void unregistration(
const std::string& name,
const std::string& section)
const;
85 bool isExist(
const std::string& fullName )
const;
113 bool createSection(
const std::string& name,
const std::string& in_section )
const;
124 bool removeSection(
const std::string& fullName,
bool recursive =
false)
const;
127 bool renameSection(
const std::string& newName,
const std::string& fullName)
const;
138 mutable std::string nsName;
139 std::shared_ptr<uniset::Configuration> uconf;
144 bool createContext(
const std::string& cname, CosNaming::NamingContext_ptr ctx)
const;
148 mutable CosNaming::NamingContext_var localctx;
Definition ObjectRepository.h:46
void registration(const std::string &name, const uniset::ObjectPtr oRef, const std::string §ion, bool force=false) const
Definition ObjectRepository.cc:87
bool isExist(const uniset::ObjectPtr &oref) const
Definition ObjectRepository.cc:419
void unregistration(const std::string &name, const std::string §ion) const
Definition ObjectRepository.cc:202
uniset::ObjectPtr resolve(const std::string &name, const std::string &NSName="NameService") const
Definition ObjectRepository.cc:250
ObjectType
Definition ObjectRepository.h:94
bool renameSection(const std::string &newName, const std::string &fullName) const
Функция переименования секции
Definition ObjectRepository.cc:699
bool listSections(const std::string &in_section, uniset::ListObjectName *ls, size_t how_many=300) const
Definition ObjectRepository.cc:321
void printSection(const std::string &fullName) const
Definition ObjectRepository.cc:561
bool createSectionF(const std::string &fullName) const
Definition ObjectRepository.cc:478
bool list(const std::string §ion, uniset::ListObjectName *ls, size_t how_many=300) const
Definition ObjectRepository.cc:307
bool removeSection(const std::string &fullName, bool recursive=false) const
Функция удаления секции
Definition ObjectRepository.cc:590
bool createSection(const std::string &name, const std::string &in_section) const
Definition ObjectRepository.cc:448
bool createRootSection(const std::string &name) const
Функция создания секции в корневом 'каталоге'.
Definition ObjectRepository.cc:497
bool createContext(const std::string &cname, CosNaming::NamingContext_ptr ctx) const
Definition ObjectRepository.cc:504
@ Section
Definition ObjectRepository.h:96
@ ObjectRef
Definition ObjectRepository.h:95
Definition Calibration.h:27
std::list< std::string > ListObjectName
Definition UniSetTypes.h:92
CORBA::Object_ptr ObjectPtr
Definition UniSetTypes.h:94
string< SizeOfObjectType > ObjectType
Definition UniSetTypes_i.idl:33