Class GravityVars#

Inheritance Relationships#

Base Type#

Class Documentation#

class GravityVars : public Karana::Models::KModelVars<Gravity>#

The Vars for the Gravity class.

Public Functions

GravityVars(const kc::ks_ptr<const Gravity> &kmodel)#

GravityVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.

Parameters:

kmodel – The kmodel associated with this GravityVars.

~GravityVars()#

Destructor.

virtual kc::NestedVars getAllVars() const override#

Get all the Vars that this GravityVars has.

Returns:

A map of Vars, where the Var name is the key and the Var is the value.

Public Static Functions

static kc::ks_ptr<GravityVars> create(const kc::ks_ptr<const Gravity> &kmodel)#

Create an instance of the GravityVars.

Parameters:

kmodel – The kmodel associated with this GravityVars.

Returns:

A pointer to the newly created instance of GravityVars.

Protected Attributes

kc::ks_ptr<const Gravity> _gravity#

Pointer to the gravity model.