28 virtual void setParameters(std::unique_ptr<ParameterSet> params)
override final;
30 virtual ParameterSet * getYamlOnlyParameters()
override final;
35 std::shared_ptr<Impl> impl_;
48 void setNodeLocation(
const std::string & location);
50 void setName(
const std::string & name);
52 void addParameterAsString(
const std::string & prm_name,
53 const std::string & prm_value);
55 const std::string & getNodeLocation()
const;
57 const std::string & getName()
const;
59 std::unique_ptr<ParameterSet> cloneParameters()
const;
63 std::shared_ptr<Impl> impl_;
71 const std::string & def_file,
79 const std::string & def_string,
Basic Node framework in sparta device tree composite pattern.
Descriptor class which provides basic information about an extended tree node: device tree location,...
Helper class used to trivially extend TreeNode parameter sets (but not any additional functionality b...
Generic container of Parameters.
Base class used to extend TreeNode parameter sets.
Node in a composite tree representing a sparta Tree item.
Macros for handling exponential backoff.
ExtensionDescriptorVec createExtensionDescriptorsFromFile(const std::string &def_file, TreeNode *context)
Given a tree node extension YAML file, parse it out into individual descriptors, one for each extensi...
ExtensionDescriptorVec createExtensionDescriptorsFromDefinitionString(const std::string &def_string, TreeNode *context)
Given a tree node extension definition string, parse it out into individual descriptors.