The Vish Visualization Shell 0.3
Vish
Wizt::DisplayListCreator Class Reference
Inheritance diagram for Wizt::DisplayListCreator:
MemCore::CreatorBase< DisplayList >

Public Member Functions

RefPtr< DisplayListget () const override
 Try to get data if possible.
const type_info & getType () override
 Query the associated value type of this creator object.
Public Member Functions inherited from MemCore::CreatorBase< DisplayList >
RefPtr< DisplayList > create (bool CreateAsOld=false)
 Actually create the object, using an existing one if existent via the get() function, otherwise calling the virtual produce() function.
RefPtr< DisplayList > createAsOld ()
 Get and possibly create data here without touching it, which is useful if the data is required only temporary.
 CreatorBase (const WCachePtr &theCache)
 Construct with Cache object given.
RefPtr< DisplayList > get_or_request (const result &R=nullptr)
 Asynchronous data access: Get the data if available, otherwise request them if possible and return nullptr.
bool isUnderCreation () const override
 return true while a request issued by the producer is still ongoing
virtual bool request (const result &R=nullptr)
 Asynchron mode: Request data to be created.
virtual RefPtr< DisplayList > take ()
 Take the data out of this creator and yield it as return value.

Member Function Documentation

◆ getType()

const type_info & Wizt::DisplayListCreator::getType ( )
inlineoverridevirtual

Query the associated value type of this creator object.

This type information can possibly be determined without actually loading any data. Whether or not this is the case is up to the implementation of the child class.

Implements MemCore::CreatorBase< DisplayList >.