The Sparta Modeling Framework
Loading...
Searching...
No Matches
TreeNodeExtensions.hpp File Reference
#include <memory>
#include <string>
#include "sparta/simulation/TreeNode.hpp"

Go to the source code of this file.

Classes

class  sparta::ExtensionsParamsOnly
 Helper class used to trivially extend TreeNode parameter sets (but not any additional functionality beyond that) More...
 
class  sparta::ExtensionDescriptor
 Descriptor class which provides basic information about an extended tree node: device tree location, extension name, and parameter name-values. More...
 

Namespaces

namespace  sparta
 Macros for handling exponential backoff.
 

Functions

ExtensionDescriptorVec sparta::createExtensionDescriptorsFromFile (const std::string &def_file, TreeNode *context)
 Given a tree node extension YAML file, parse it out into individual descriptors, one for each extension defined in the file.
 
ExtensionDescriptorVec sparta::createExtensionDescriptorsFromDefinitionString (const std::string &def_string, TreeNode *context)
 Given a tree node extension definition string, parse it out into individual descriptors.