The Vish Visualization Shell 0.3
Vish
Wizt::AnemoneCreator< AnemoneInitializer > Struct Template Reference

The Anemone Cache, called the Seagrass, is based on Anemone objects. More...

#include <ocean/Anemonia/Seagrass.hpp>

Inheritance diagram for Wizt::AnemoneCreator< AnemoneInitializer >:
Wizt::AnemoneBasicCreator Wizt::DefaultAnemoneInitializer MemCore::AlzheimerCreator< Anemone, AnemoneCreatorBase > MemCore::Creator< Anemone, AnemoneCreatorBase >

Public Member Functions

template<class AnemoneInitializerArgument>
 AnemoneCreator (const Seagrass &theSeagrass, const AnemoneInitializerArgument &A, const MemCore::RefPtr< Anemone > &theAnemone=nullptr)
 Construct from Seagrass with optional intialization argument for the AnemoneInitializer.
template<class FirstAnemoneInitializerArgument, class SecondAnemoneInitializerArgument>
 AnemoneCreator (const Seagrass &theSeagrass, const FirstAnemoneInitializerArgument &A1, const SecondAnemoneInitializerArgument &A2, const MemCore::RefPtr< Anemone > &theAnemone=nullptr)
 Construct from Seagrass with two optional intialization arguments for the AnemoneInitializer.
 AnemoneCreator (const Seagrass &theSeagrass, const MemCore::RefPtr< Anemone > &theAnemone=nullptr)
 Construct from Seagrass.
MemCore::RefPtr< Anemoneproduce () override
 Create an Anemone object calling the initializer's initialize() function.
Public Member Functions inherited from Wizt::AnemoneBasicCreator
 AnemoneBasicCreator (const Seagrass &theSeagrass, const MemCore::RefPtr< Anemone > &theAnemone=nullptr)
 Construct from Seagrass.
Public Member Functions inherited from MemCore::Creator< Anemone, AnemoneCreatorBase >
RefPtr< Anemone > get () const override
 A passive function to return the current Data object if it exists.
CacheablePtr getCacheable () const override
 A passive function to return the current Data object if it exists.
const type_info & getType () override
 It is assumed that the Data object provides a getType() function retrieving the actual operational value type id.
bool hasData () const override
 Tell whether data exist here.
Creature::ReasonForReleasal release () override
 Release operation, nothing can be done here.
bool supersede (const RefPtr< Domain > &NewData, bool CreateAsOld=false)
 Replace the data stored here (if any) by another data set.
RefPtr< Anemone > take () override
 An active function to take the strong pointer out of here.

Additional Inherited Members

Protected Member Functions inherited from MemCore::Creator< Anemone, AnemoneCreatorBase >
 Creator (const WCachePtr &MyCache)
 Constructor for no data yet.
RefPtr< Anemone > produce () override
 Object creation function (just returns the object which was specified during construction).

Detailed Description

template<class AnemoneInitializer = DefaultAnemoneInitializer>
struct Wizt::AnemoneCreator< AnemoneInitializer >

The Anemone Cache, called the Seagrass, is based on Anemone objects.

The Seagrass class manages Anemone objects, which are referred to from creator objects that are stored in application code. All these creator objects are child classes of the AnemoneCreatorBase;

Examples
SeagrassBoundingVolume.cpp.