|
The Vish Visualization Shell 0.3
Vish
|
Creator for VBO objects. More...
#include <ocean/GLvish/VBO.hpp>
Public Member Functions | |
| RefPtr< VBO > | get () const override |
| Try to get data if possible. | |
| const std::type_info & | getType () override |
| Query the associated value type of this creator object. | |
| RefPtr< VBO > | produce () override |
| why not insert into cache automatically??? | |
| Public Member Functions inherited from MemCore::CreatorBase< VBO > | |
| RefPtr< VBO > | 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< VBO > | 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< VBO > | 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< VBO > | take () |
| Take the data out of this creator and yield it as return value. | |
|
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< VBO >.