API
4.2
For C++ developers
|
A cache variable containing a value of type T. More...
Public Member Functions | |
CacheVariable ()=default | |
Friends | |
class | Component |
A cache variable containing a value of type T.
CacheVariable
is a handle to the cache variable's value and validityCacheVariable
members (ideally, as private
members), which grants them strongly-typed access to cache variable valuesCacheVariable
should be initialized with Component::addCacheVariable
; usually, in the Component::extendAddToSystem
method. A cache variable's value will not be valid until after Component::realizeTopology
is calledT | Type of data held in the cache variable |
|
default |
|
friend |