|
The Vish Visualization Shell 0.3
Vish
|
The Anemone Cache, called the Seagrass, is based on Anemone objects. More...
#include <ocean/Anemonia/Anemone.hpp>
Additional Inherited Members | |
| Public Member Functions inherited from MemCore::CreatorBase< Anemone > | |
| RefPtr< Anemone > | 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< Anemone > | 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. | |
| virtual RefPtr< Anemone > | get () const=0 |
| Try to get data if possible. | |
| RefPtr< Anemone > | get_or_request (const result &R=nullptr) |
| Asynchronous data access: Get the data if available, otherwise request them if possible and return nullptr. | |
| virtual const type_info & | getType ()=0 |
| Query the associated value type of this creator object. | |
| 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< Anemone > | take () |
| Take the data out of this creator and yield it as return value. | |