|
|
| ComponentSerializer (BaseComponent *comp) |
|
void | serialize () |
|
bool | hasSerialized () const |
| std::string | getType () const final override |
| | Returns type of the deferred object.
|
| void * | getAddr () const final override |
| | Returns nullptr since there is no underlying object being represented.
|
| const ObjectMultimap & | getVariables () const final override |
| | Get the list of child variables contained in this ObjectMap.
|
| void | addVariable (const std::string &name, ObjectMap *obj) final override |
| | For the Deferred Build, the only variable that gets added will be the "real" ObjectMap.
|
|
| ObjectMapDeferred (BaseComponent *addr, const std::string &type) |
| | ObjectMap ()=default |
| | Default constructor primarily used for the "top" object in the hierarchy.
|
| bool | isReadOnly () const |
| | Check to see if this object is read-only.
|
| void | setReadOnly (bool state=true) |
| | Set the read-only state of the object.
|
| virtual bool | checkValue (const std::string &UNUSED(value)) const |
| | Check if value string is valid for this type.
|
| std::string | getName () const |
| | Get the name of the variable represented by this ObjectMap.
|
| std::string | getFullName () const |
| | Get the full hierarchical name of the variable represented by this ObjectMap, based on the path taken to get to this object.
|
| void | incRefCount () |
| | Increment the reference counter for this ObjectMap.
|
| void | decRefCount () |
| | Decrement the reference counter for this ObjectMap.
|
| size_t | getRefCount () const |
| | Get the current reference count.
|
|
ObjectCategory | getCategory () const |
|
void | setCategory (ObjectCategory cat) |
| virtual ObjectMapComparison * | getComparison (const std::string &UNUSED(name), ObjectMapComparison::Op UNUSED(op), const std::string &UNUSED(value)) const |
| | Get a watch point for this object.
|
|
virtual ObjectMapComparison * | getComparisonVar (const std::string &UNUSED(name), ObjectMapComparison::Op UNUSED(op), const std::string &UNUSED(name2), ObjectMap *UNUSED(var2)) const |
|
virtual ObjectBuffer * | getObjectBuffer (const std::string &UNUSED(name), size_t UNUSED(sz)) |
| ObjectMap * | selectParent () |
| | Get the parent for this ObjectMap.
|
| ObjectMap * | selectVariable (std::string name, bool &loop_detected, bool confirm=false) |
| | Get the ObjectMap for the specified variable.
|
| virtual void | addVariable (const std::string &UNUSED(name), ObjectMap *UNUSED(obj)) |
| | Adds a variable to this ObjectMap.
|
| virtual void | removeVariable (const std::string &UNUSED(name)) |
| | Removes a variable from this ObjectMap.
|
| virtual std::string | get () const |
| | Get the value of the variable as a string.
|
| void | set (const std::string &value) |
| | Sets the value of the variable represented by the ObjectMap to the specified value, which is represented as a string.
|
| virtual std::string | get (const std::string &var) |
| | Gets the value of the specified variable as a string.
|
| virtual void | set (const std::string &var, const std::string &value, bool &found, bool &read_only) |
| | Sets the value of the specified variable to the specified value, which is represented as a string.
|
| virtual bool | isFundamental () const |
| | Check to see if this ObjectMap represents a fundamental or a class treated as a fundamental.
|
| virtual bool | isContainer () const |
| | Check to see if this ObjectMap represents a container.
|
| virtual | ~ObjectMap ()=default |
| | Destructor.
|
| | ObjectMap (const ObjectMap &)=delete |
| | Disallow copying and assignment.
|
|
ObjectMap & | operator= (const ObjectMap &)=delete |
| virtual std::string | listVariable (std::string name, bool &found, int recurse=0) |
| | Create a string that lists information for the specified variable.
|
| virtual std::string | list (int recurse=0) |
| | Create a string that lists information for the current object.
|
| ObjectMap * | findVariable (const std::string &name, bool confirm=false) const |
| | Find a variable in this object map.
|
| virtual void | refresh () |
| | Refresh the ObjectMap, reconstructing children.
|
| virtual SST::Core::Serialization::ObjTreeCont * | buildTreeNode (const std::string &UNUSED(name)) |
| | Helper function to build an ObjTreeCont representation of this ObjectMap, if the subclass has type-specific knowledge of how to do so.
|
|
| enum class | ObjectCategory : uint8_t { Generic = 0
, Component
, SubComponent
, Module
} |
| static std::string | demangle_name (const char *name) |
| | Static function to demangle type names returned from typeid(T).name().
|
| void | activate_callback () final override |
| | Function that will get called when this object is selected.
|
| void | deactivate_callback () final override |
| | Function that will get called when this object is deactivated (i.e selectParent() is called).
|
| virtual void | set_impl (const std::string &UNUSED(value)) |
| | Function implemented by derived classes to implement set().
|
| ObjectMapMetaData * | mdata_ = nullptr |
| | Metadata object for walking the object hierarchy.
|
|
ObjectCategory | category_ = ObjectCategory::Generic |
| bool | read_only_ = false |
| | Indicates whether or not the variable is read-only.
|