Go to the documentation of this file.
13 #ifndef RTCTK_RTCSUPERVISOR_POPULATECONFIG_HPP
14 #define RTCTK_RTCSUPERVISOR_POPULATECONFIG_HPP
203 struct IoFunctionMapEntry {
204 using CopyFunction = std::function<void(
207 CopyFunction m_copy_function;
210 using IoFunctionMap = std::map<std::type_index, IoFunctionMapEntry>;
216 template <
typename T>
217 static auto MakeMapEntry();
220 static const IoFunctionMap S_IO_FUNCTIONS;
225 #endif // RTCTK_RTCSUPERVISOR_POPULATECONFIG_HPP
Definition: rtcCommandRequest.hpp:19
Definition: persistentRepoIf.hpp:19
PopulateConfig(const PopulateConfig &)=delete
This class cannot be copy constructed.
Header file for PersistentRepoIf, which defines the API for PersistentRepoAdapter.
bool IsSimplePopulateFlagSet()
Checks if the simple_populate_runtime_repo flag has been set.
Definition: populateConfig.cpp:101
The RtctkException class is the base class for all Rtctk exceptions.
Definition: exceptions.hpp:207
target
Definition: wscript:16
InvalidConfigException(const DataPointPath &path)
Constructs the exception indicating an invalid datapoint.
Definition: populateConfig.cpp:78
PopulateConfig & operator=(const PopulateConfig &)=delete
This class cannot be copy assigned.
The InvalidConfigException is thrown when datapoints in the Persistent Configuration Repository are d...
Definition: populateConfig.hpp:44
PopulateConfig()=delete
Do not allow construction with no arguments.
A utility class used to populate the Runtime Configuration Repository.
Definition: populateConfig.hpp:34
PopulateConfig(PopulateConfig &&)=default
Objects of this class can be moved.
void CopyDataPoint(const DataPointPath &source, const DataPointPath &target)
Copy a single datapoint from the source to the target repository.
Definition: populateConfig.cpp:166
void CopyHierarchy(const DataPointPath &source, const DataPointPath &target)
Copy a hierarchy of datapoints from the source to the target repository.
Definition: populateConfig.cpp:154
void CopyActiveDeploymentSet()
Copies the active Deployment Set to the Runtime Configuration Repository.
Definition: populateConfig.cpp:110
Definition: runtimeRepoIf.hpp:20
bool IsDisablePopulateFlagSet()
Checks if the disable_populate_runtime_repo flag has been set.
Definition: populateConfig.cpp:92
This class provides a wrapper for a data point path.
Definition: dataPointPath.hpp:65
Header file for RuntimeRepoIf, which defines the API for RuntimeRepoAdapters.
PopulateConfig & operator=(PopulateConfig &&)=default
Objects of this class can be moved with the move assignment operator.