RTC Toolkit  1.0.0
operations.hpp
Go to the documentation of this file.
1 
12 #ifndef RTCTK_STANDALONETOOLS_OPERATIONS_HPP
13 #define RTCTK_STANDALONETOOLS_OPERATIONS_HPP
14 
15 #include <string>
18 
19 std::unique_ptr<rtctk::componentFramework::RepositoryIf> GetRepository(std::string repo);
20 
21 int DoList(std::unique_ptr<rtctk::componentFramework::RepositoryIf>&& rtr,
23 int GetData(std::unique_ptr<rtctk::componentFramework::RepositoryIf>&& rtr,
25 int SetData(std::unique_ptr<rtctk::componentFramework::RepositoryIf>&& rtr,
27  std::string type, std::string value);
28 int Delete(std::unique_ptr<rtctk::componentFramework::RepositoryIf>&& rtr,
30 int DoRead(std::unique_ptr<rtctk::componentFramework::RepositoryIf>&& rtr,
31  const rtctk::componentFramework::DataPointPath& path, const std::string& file);
32 int DoWrite(std::unique_ptr<rtctk::componentFramework::RepositoryIf>&& rtr,
34  std::string type, const std::string& file);
35 int GetType(std::unique_ptr<rtctk::componentFramework::RepositoryIf>&& rtr,
37 int DoPopulate(const std::string& persistent_repo, const std::string& runtime_repo);
38 int DoInitMetadata();
39 
40 #endif //RTCTK_STANDALONETOOLS_OPERATIONS_HPP
DoInitMetadata
int DoInitMetadata()
Initialises the type metadata in the CII configuration service for the OLDB and Runtime Configuration...
Definition: operations.cpp:515
DoRead
int DoRead(std::unique_ptr< rtctk::componentFramework::RepositoryIf > &&rtr, const rtctk::componentFramework::DataPointPath &path, const std::string &file)
Definition: operations.cpp:357
SetData
int SetData(std::unique_ptr< rtctk::componentFramework::RepositoryIf > &&rtr, const rtctk::componentFramework::DataPointPath &path, std::string type, std::string value)
Definition: operations.cpp:310
GetRepository
std::unique_ptr< rtctk::componentFramework::RepositoryIf > GetRepository(std::string repo)
Definition: operations.cpp:475
repositoryIf.hpp
Header file for RepositoryIf and related base classes.
Delete
int Delete(std::unique_ptr< rtctk::componentFramework::RepositoryIf > &&rtr, const rtctk::componentFramework::DataPointPath &path)
Definition: operations.cpp:291
DoWrite
int DoWrite(std::unique_ptr< rtctk::componentFramework::RepositoryIf > &&rtr, const rtctk::componentFramework::DataPointPath &path, std::string type, const std::string &file)
Definition: operations.cpp:394
DoPopulate
int DoPopulate(const std::string &persistent_repo, const std::string &runtime_repo)
Definition: operations.cpp:494
GetType
int GetType(std::unique_ptr< rtctk::componentFramework::RepositoryIf > &&rtr, const rtctk::componentFramework::DataPointPath &path)
Definition: operations.cpp:483
GetData
int GetData(std::unique_ptr< rtctk::componentFramework::RepositoryIf > &&rtr, const rtctk::componentFramework::DataPointPath &path)
Definition: operations.cpp:240
dataPointPath.hpp
Header file for RepositoryIf and related base classes.
rtctk::componentFramework::DataPointPath
This class provides a wraper for DataPoint paths which ensures that they only contain valid character...
Definition: dataPointPath.hpp:34
DoList
int DoList(std::unique_ptr< rtctk::componentFramework::RepositoryIf > &&rtr, const rtctk::componentFramework::DataPointPath &path)
Definition: operations.cpp:296