|
musica (C++)
|
#include <cachedvariable.hpp>


Public Member Functions | |
| void | initialize () override |
| Initialize the cached value. | |
| Public Member Functions inherited from constitutive::CachedVariable< Eigen::Matrix< T, 6, 1 > > | |
| CachedVariable ()=default | |
| Default constructor. | |
| virtual | ~CachedVariable ()=default |
| Destructor. | |
| bool | empty () const |
| Whether the state variable is empty. | |
| void | set (const T &new_value) |
| Set the cached value. | |
| const T & | value () const |
| Get the value (const). | |
Additional Inherited Members | |
| Public Attributes inherited from constitutive::CachedVariable< Eigen::Matrix< T, 6, 1 > > | |
| bool | cached |
| whether the state variable has been cached | |
| std::shared_ptr< T > | value_ |
| cached value | |
|
inlineoverridevirtual |
Initialize the cached value.
Implements constitutive::CachedVariable< Eigen::Matrix< T, 6, 1 > >.
References constitutive::CachedVariable< Eigen::Matrix< T, 6, 1 > >::empty(), and constitutive::CachedVariable< Eigen::Matrix< T, 6, 1 > >::set().
