The Vish Visualization Shell 0.3
Vish
Static Public Member Functions | List of all members
Wizt::ValueCacheable Struct Reference

Base class for caching values of VSlots relative to an Intercube. More...

#include <ocean/plankton/ValueCache.hpp>

Inheritance diagram for Wizt::ValueCacheable:
Wizt::VSlotContainer< ExpertLevel > Wizt::VConnectable Wizt::VNutrition Wizt::TimeDependent Wizt::VObject Wizt::VSkale Wizt::AnemoneNutrition FloatsToPoint2D Wizt::CatchStatus Wizt::Coral Wizt::HTTPServer Wizt::MetaViewer Wizt::MovieRecorder Wizt::RemoteVish Wizt::RenderAble Wizt::VChartSelector Wizt::VProxyObject Wizt::VScene Wizt::VStreamObject Wizt::Viewer Wizt::Atlas Wizt::Interactive Wizt::VChartDependent

Static Public Member Functions

static ValueCacheconsider (MemCore::Intercube &IC, const WeakPtr< VSlot > &VS, const RefPtr< ValuePool > &Context)
 
static ValueCachegetValueCache (MemCore::Intercube &IC)
 Get, and possibly create, a ValueCache that will be stored at the given Intercube.
 
static bool hasChangedSlots (const WeakPtrToVSlotContainer &theSlotOwner, const MemCore::Intercube &IC, const RefPtr< ValuePool > &Context)
 Check if the given Intercube hosts any VSlots that have been changed relative to the given Context.
 

Detailed Description

Base class for caching values of VSlots relative to an Intercube.

Member Function Documentation

◆ consider()

static ValueCache & Wizt::ValueCacheable::consider ( MemCore::Intercube IC,
const WeakPtr< VSlot > &  VS,
const RefPtr< ValuePool > &  Context 
)
inlinestatic
       Make a note that the given Intercube will
       depend on the given slots' value and uses the
       value as retrieved from the given context.

       Synopsis:

Class members:

in<double> prescale,
gamma,
zero;

Code to specify dependency of an Intercube object on the given slot's values relative to a given Context:

.consider( gamma , Context)
.consider( prescale, Context)
.consider( zero , Context);
A set of variable names, with indices associated to each type.
Definition Context.hpp:18
A container that holds many Interfaces.
Definition Interface.hpp:151
A reference counting pointer class which keeps objects alive as long as strong pointers to these obje...
Definition RefPtr.hpp:405
static ValueCache & getValueCache(MemCore::Intercube &IC)
Get, and possibly create, a ValueCache that will be stored at the given Intercube.
Definition ValueCache.hpp:62