RTC Toolkit  0.1.0-alpha
operations.hpp
Go to the documentation of this file.
1 
9 #ifndef RTCTK_STANDALONETOOLS_OPERATIONS_HPP
10 #define RTCTK_STANDALONETOOLS_OPERATIONS_HPP
11 
14 
15 #include <string>
16 std::unique_ptr<::rtctk::componentFramework::RepositoryIf> GetRepository(std::string repo);
17 
18 int DoList(std::unique_ptr<::rtctk::componentFramework::RepositoryIf>&& rtr, const ::rtctk::componentFramework::DataPointPath& path);
19 int GetData(std::unique_ptr<::rtctk::componentFramework::RepositoryIf>&& rtr, const ::rtctk::componentFramework::DataPointPath& path);
20 int SetData(std::unique_ptr<::rtctk::componentFramework::RepositoryIf>&& rtr, const ::rtctk::componentFramework::DataPointPath& path, std::string type, std::string value);
21 int Delete(std::unique_ptr<::rtctk::componentFramework::RepositoryIf>&& rtr, const ::rtctk::componentFramework::DataPointPath& path);
22 int DoRead(std::unique_ptr<::rtctk::componentFramework::RepositoryIf>&& rtr, const ::rtctk::componentFramework::DataPointPath& path, const std::string& file);
23 int DoWrite(std::unique_ptr<::rtctk::componentFramework::RepositoryIf>&& rtr, const ::rtctk::componentFramework::DataPointPath& path, std::string type, const std::string& file);
24 int GetType(std::unique_ptr<::rtctk::componentFramework::RepositoryIf>&& rtr, const ::rtctk::componentFramework::DataPointPath& path);
25 
26 #endif //RTCTK_STANDALONETOOLS_OPERATIONS_HPP
DoWrite
int DoWrite(std::unique_ptr<::rtctk::componentFramework::RepositoryIf > &&rtr, const ::rtctk::componentFramework::DataPointPath &path, std::string type, const std::string &file)
GetType
int GetType(std::unique_ptr<::rtctk::componentFramework::RepositoryIf > &&rtr, const ::rtctk::componentFramework::DataPointPath &path)
DoRead
int DoRead(std::unique_ptr<::rtctk::componentFramework::RepositoryIf > &&rtr, const ::rtctk::componentFramework::DataPointPath &path, const std::string &file)
rtctkExampleDataTaskRobotTest.path
string path
Definition: rtctkExampleDataTaskRobotTest.py:228
SetData
int SetData(std::unique_ptr<::rtctk::componentFramework::RepositoryIf > &&rtr, const ::rtctk::componentFramework::DataPointPath &path, std::string type, std::string value)
repositoryIf.hpp
Header file for RepositoryIf and related base classes.
GetData
int GetData(std::unique_ptr<::rtctk::componentFramework::RepositoryIf > &&rtr, const ::rtctk::componentFramework::DataPointPath &path)
DoList
int DoList(std::unique_ptr<::rtctk::componentFramework::RepositoryIf > &&rtr, const ::rtctk::componentFramework::DataPointPath &path)
Delete
int Delete(std::unique_ptr<::rtctk::componentFramework::RepositoryIf > &&rtr, const ::rtctk::componentFramework::DataPointPath &path)
dataPointPath.hpp
Header file for RepositoryIf and related base classes.
GetRepository
std::unique_ptr<::rtctk::componentFramework::RepositoryIf > GetRepository(std::string repo)
Definition: operations.cpp:362