Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Fiber::TypedAsynchronCreator< Type > Class Template Reference
Inheritance diagram for Fiber::TypedAsynchronCreator< Type >:
Fiber::AsynchronCreator MemCore::AlzheimerCreator< MemBase, CreativeArrayBase > MemCore::Creator< RefType, MyCreatorBase > MemCore::CreatorBase< Domain >

Public Member Functions

const type_infogetType ()
Public Member Functions inherited from Fiber::AsynchronCreator
 AsynchronCreator (const std::function< DataPtr_t(const std::atomic< bool > &) > &CreationFunctor, const RefPtr< MemCore::Cache > &theCache=MemCore::Cache::MemCache())
void setup (const DynamicSize &theSize, const RefPtr< FiberTypeBase > &MyFiberType)
RefPtr< MemBaseproduce () override
bool request (const result &R) override
bool isUnderCreation () const override
bool discardCreation () override
Creature::ReasonForReleasal release () override
Public Member Functions inherited from MemCore::Creator< RefType, MyCreatorBase >
 Creator (const RefPtr< RefType > &D, const WCachePtr &MyCache)
RefPtr< RefType > get () const override
CacheablePtr getCacheable () const override
bool hasData () const override
Creature::ReasonForReleasal release () override
bool supersede (const RefPtr< Domain > &NewData, bool CreateAsOld=false)
RefPtr< RefType > take () override
Public Member Functions inherited from MemCore::CreatorBase< Domain >
RefPtr< Domain > create (bool CreateAsOld=false)
RefPtr< Domain > createAsOld ()
 CreatorBase (const WCachePtr &theCache)
RefPtr< Domain > get_or_request (const result &R=nullptr)
bool isUnderCreation () const override
virtual bool request (const result &R=nullptr)

Additional Inherited Members

Protected Types inherited from Fiber::AsynchronCreator
typedef AlzheimerCreator< MemBase, CreativeArrayBaseBase_t
Protected Member Functions inherited from Fiber::AsynchronCreator
DataPtr_t create_data () const
Protected Member Functions inherited from MemCore::Creator< RefType, MyCreatorBase >
RefPtr< RefType > produce () override
Static Protected Member Functions inherited from Fiber::AsynchronCreator
static bool createData (const MemCore::WeakPtr< AsynchronCreator > &TheCreator, const result &R)
Protected Attributes inherited from Fiber::AsynchronCreator
volatile long NumberOfLoadingOperations { 0 }
std::atomic< bool > isLoading { false }
std::atomic< bool > discardCreationFlag { false }
std::mutex CreationMutex
std::mutex LoadingFlagMutex
std::function< DataPtr_t(const std::atomic< bool > &Stop) > myDataCreator
std::future< bool > AsynchroneouslyComputedData

Member Function Documentation

◆ getType()

template<class Type>
const type_info & Fiber::TypedAsynchronCreator< Type >::getType ( )
inlinevirtual

Reimplemented from Fiber::AsynchronCreator.