Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Fiber::LeaftletCreator Class Reference

http://b.tile.openstreetmap.org/0/0/0.png More...

#include <LeafletCreator.hpp>

Inheritance diagram for Fiber::LeaftletCreator:
Fiber::FunctionalCreatorBase MemCore::AlzheimerCreator< Fiber::MemBase, CreativeArrayBase > MemCore::Creator< RefType, MyCreatorBase > MemCore::CreatorBase< Domain >

Public Types

using color = Eagle::rgb_t
using MemArray_t = MemArray<3, color>
Public Types inherited from Fiber::FunctionalCreatorBase
using Base_t = AlzheimerCreator<MemBase, CreativeArrayBase>

Public Member Functions

 LeaftletCreator (int x, int y, int z)
const type_infogetType () override
RefPtr< MemBasecompute () const override
Public Member Functions inherited from Fiber::FunctionalCreatorBase
 FunctionalCreatorBase (bool DataReProductionIsCheaperThanFunctor=true, const MemCore::WeakPtr< MemCore::Cache > &theCache=MemCore::Cache::MemCache())
bool isUnderCreation () const override
bool request (const result &R) 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)

Static Public Member Functions

static RefPtr< MemBasegetTile (int x, int y, int z)
static RefPtr< MemBasereadPNG (FILE *fp, const std::string &filename)

Public Attributes

const int x
const int y
const int z
Public Attributes inherited from Fiber::FunctionalCreatorBase
bool DataProductionIsCheaperThanFunctor = true

Additional Inherited Members

Protected Member Functions inherited from Fiber::FunctionalCreatorBase
RefPtr< MemBaseproduce () override
 Called from CreatureBase<MemBase>::create() : Actually allocate memory and load data from disc, if not yet loaded.
Protected Member Functions inherited from MemCore::Creator< RefType, MyCreatorBase >
RefPtr< RefType > produce () override
Protected Attributes inherited from Fiber::FunctionalCreatorBase
std::future< RefPtr< MemBase > > AsynchroneouslyComputedData
std::mutex production_mutex

Detailed Description

Member Function Documentation

◆ compute()

RefPtr< MemBase > Fiber::LeaftletCreator::compute ( ) const
overridevirtual

◆ getType()

const type_info & Fiber::LeaftletCreator::getType ( )
inlineoverridevirtual