RTC Toolkit  1.0.0
populateConfig.hpp
Go to the documentation of this file.
1 
13 #ifndef RTCTK_RTCSUPERVISOR_POPULATECONFIG_HPP
14 #define RTCTK_RTCSUPERVISOR_POPULATECONFIG_HPP
15 
18 
19 namespace rtctk::rtcSupervisor {
20 
35 public:
39 
41  PopulateConfig() = delete;
42 
44  PopulateConfig(const PopulateConfig&) = delete;
45 
48 
51 
54 
69 
88 
102 
116  void CopyHierarchy(const DataPointPath& source, const DataPointPath& target);
117 
131  void CopyDataPoint(const DataPointPath& source, const DataPointPath& target);
132 
133 private:
135  const PersistentRepoIf& m_persistent_repo;
136 
138  RuntimeRepoIf& m_runtime_repo;
139 };
140 
141 } // namespace rtctk::rtcSupervisor
142 
143 #endif // RTCTK_RTCSUPERVISOR_POPULATECONFIG_HPP
rtctk::rtcSupervisor
Definition: rtcCommandRequest.hpp:18
rtctk::componentFramework::PersistentRepoIf
Definition: persistentRepoIf.hpp:19
rtctk::rtcSupervisor::PopulateConfig::PopulateConfig
PopulateConfig(const PopulateConfig &)=delete
This class cannot be copy constructed.
persistentRepoIf.hpp
Header file for PersistentRepoIf, which defines the API for PersistentRepoAdapter.
wscript.target
target
Definition: wscript:15
rtctk::rtcSupervisor::PopulateConfig::operator=
PopulateConfig & operator=(const PopulateConfig &)=delete
This class cannot be copy assigned.
rtctk::rtcSupervisor::PopulateConfig::PopulateConfig
PopulateConfig()=delete
Do not allow construction with no arguments.
rtctk::rtcSupervisor::PopulateConfig
A utility class used to populate the Runtime Configuration Repository.
Definition: populateConfig.hpp:34
rtctk::rtcSupervisor::PopulateConfig::PopulateConfig
PopulateConfig(PopulateConfig &&)=default
Objects of this class can be moved.
rtctk::rtcSupervisor::PopulateConfig::CopyDataPoint
void CopyDataPoint(const DataPointPath &source, const DataPointPath &target)
Copy a single datapoint from the source to the target repository.
Definition: populateConfig.cpp:86
rtctk::rtcSupervisor::PopulateConfig::CopyHierarchy
void CopyHierarchy(const DataPointPath &source, const DataPointPath &target)
Copy a hierarchy of datapoints from the source to the target repository.
Definition: populateConfig.cpp:74
rtctk::rtcSupervisor::PopulateConfig::CopyActiveDeploymentSet
void CopyActiveDeploymentSet()
Copies the active Deployment Set to the Runtime Configuration Repository.
Definition: populateConfig.cpp:70
rtctk::componentFramework::RuntimeRepoIf
Definition: runtimeRepoIf.hpp:20
rtctk::rtcSupervisor::PopulateConfig::IsDisablePopulateFlagSet
bool IsDisablePopulateFlagSet()
Checks if the disable_populate_runtime_repo flag has been set.
Definition: populateConfig.cpp:61
rtctk::componentFramework::DataPointPath
This class provides a wraper for DataPoint paths which ensures that they only contain valid character...
Definition: dataPointPath.hpp:34
runtimeRepoIf.hpp
Header file for RuntimeRepoIf, which defines the API for RuntimeRepoAdapters.
rtctk::rtcSupervisor::PopulateConfig::operator=
PopulateConfig & operator=(PopulateConfig &&)=default
Objects of this class can be moved with the move assignment operator.