Minsky
minsky::VariableCaches Class Reference

caches need copy operations to be nobbled, because they hold a reference to the derived variable More...

#include <variable.h>

Inheritance diagram for minsky::VariableCaches:
Inheritance graph
Collaboration diagram for minsky::VariableCaches:
Collaboration graph

Public Member Functions

 VariableCaches ()=default
 
 VariableCaches (const VariableCaches &)
 
VariableCachesoperator= (const VariableCaches &)
 

Protected Attributes

classdesc::Exclude< std::shared_ptr< RenderVariable > > cachedNameRender
 cached Pango objects More...
 
classdesc::Exclude< std::shared_ptr< ecolab::Pango > > cachedMantissa
 
classdesc::Exclude< std::shared_ptr< ecolab::Pango > > cachedExponent
 
double cachedValue
 
double cachedTime
 

Private Member Functions

 CLASSDESC_ACCESS (VariableCaches)
 

Detailed Description

caches need copy operations to be nobbled, because they hold a reference to the derived variable

Definition at line 72 of file variable.h.

Constructor & Destructor Documentation

◆ VariableCaches() [1/2]

minsky::VariableCaches::VariableCaches ( )
default

◆ VariableCaches() [2/2]

minsky::VariableCaches::VariableCaches ( const VariableCaches )
inline

Definition at line 83 of file variable.h.

83 {}

Member Function Documentation

◆ CLASSDESC_ACCESS()

minsky::VariableCaches::CLASSDESC_ACCESS ( VariableCaches  )
private

◆ operator=()

VariableCaches& minsky::VariableCaches::operator= ( const VariableCaches )
inline

Definition at line 84 of file variable.h.

Referenced by minsky::Variable< VariableType::constant >::operator=().

84 {return *this;}
Here is the caller graph for this function:

Member Data Documentation

◆ cachedExponent

classdesc::Exclude<std::shared_ptr<ecolab::Pango> > minsky::VariableCaches::cachedExponent
mutableprotected

Definition at line 79 of file variable.h.

Referenced by minsky::VariableBase::draw().

◆ cachedMantissa

classdesc::Exclude<std::shared_ptr<ecolab::Pango> > minsky::VariableCaches::cachedMantissa
mutableprotected

Definition at line 78 of file variable.h.

Referenced by minsky::VariableBase::draw().

◆ cachedNameRender

classdesc::Exclude<std::shared_ptr<RenderVariable> > minsky::VariableCaches::cachedNameRender
mutableprotected

◆ cachedTime

double minsky::VariableCaches::cachedTime
mutableprotected

Definition at line 80 of file variable.h.

Referenced by minsky::VariableBase::draw().

◆ cachedValue

double minsky::VariableCaches::cachedValue
mutableprotected

Definition at line 80 of file variable.h.

Referenced by minsky::VariableBase::draw().


The documentation for this class was generated from the following file: