Class SubTreeVars#
Defined in File SubTree.h
Inheritance Relationships#
Base Type#
public Karana::Core::LockingBaseVars(Class LockingBaseVars)
Derived Type#
public Karana::Dynamics::SubGraphVars(Class SubGraphVars)
Class Documentation#
-
class SubTreeVars : public Karana::Core::LockingBaseVars#
The Vars for the SubTree class.
Subclassed by Karana::Dynamics::SubGraphVars
Public Functions
-
SubTreeVars(const kc::ks_ptr<SubTree> &body)#
SubTreeVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.
- Parameters:
body – The body associated with this SubTreeVars.
-
~SubTreeVars()#
Destructor.
-
virtual kc::NestedVars getAllVars() const override#
Get all the Vars that this VarHolder has.
- Returns:
A map of Vars, where the Var name is the key and the Var is the value.
Public Members
Public Static Functions
-
static kc::ks_ptr<SubTreeVars> create(const kc::ks_ptr<SubTree> &body)#
Create an instance of the SubTreeVars.
- Parameters:
body – The body associated with this SubTreeVars.
- Returns:
A pointer to the newly created instance of SubTreeVars.
-
SubTreeVars(const kc::ks_ptr<SubTree> &body)#