Class KModelParams#

Inheritance Relationships#

Base Type#

Derived Types#

Class Documentation#

class KModelParams : public Karana::Core::Base#

A base class for model params. Derive from this and add any parameters for your model. Override the isFinalized method to check whether the parameters are set. See the.

Model parameters section for more discussion about the KModel class.

Subclassed by Karana::Models::DataLoggerParams, Karana::Models::GraphicalSceneMovieParams, Karana::Models::NoParams, Karana::Models::PIDParams, Karana::Models::PinJointLimitsParams, Karana::Models::PointMassGravityParams, Karana::Models::ProjectConstraintErrorParams, Karana::Models::SpringDamperParams, Karana::Models::SubhingeForceLimitsParams, Karana::Models::SubhingeSpringDamperParams, Karana::Models::TimeDisplayParams, Karana::Models::UniformGravityParams

Public Functions

inline KModelParams(std::string_view name)#

Constructor.

Parameters:

name – the model param name

inline virtual bool isFinalized() const override#

Checks is the params for the object have been initialized.

Returns:

True if the params have set up.