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

Loading progress callback functor. More...

#include <Bundle.hpp>

Inheritance diagram for Fiber::BundleLoaderProgress:
MemCore::LoaderProgress MemCore::Interface< LoaderProgress > MemCore::InterfaceBase MemCore::ReferenceBase< InterfaceBase > Fiber::HDF5BindingIndicator MyProgress MyProgress MyProgress MyProgress MyProgress MyProgressor

Public Member Functions

virtual bool OpenFile (const string &fname)
 Callback when opening a file; if return value is false, the load process is terminated.
virtual bool CreateSlice (double t)
 Callback when a new time slice is created; if return value is false, the load process is terminated.
virtual bool CreateGrid (const RefPtr< GridID > &gname, Grid &G, double t)
 Callback when a new Grid object is created; if return value is false, the load process is terminated.
virtual bool CreateField (const RefPtr< GridID > &gname, Grid &G, double t, const string &fieldname)
 Callback when a new field object is created on a Grid; if return value is false, the load process is terminated.
Public Member Functions inherited from MemCore::LoaderProgress
virtual bool abort_on_issue (const string &what)
virtual bool OpenFile (const string &fname)
virtual bool tryLoader (const WeakPtrLoaderBase &WhichLoader, const type_info &LoadWhat, int loadernumber, int howmanyloaders)
Public Member Functions inherited from MemCore::Interface< LoaderProgress >
const type_info & getInterfaceDomain () const
Public Member Functions inherited from MemCore::InterfaceBase
virtual bool apply (Intercube &I, const RefPtr< InterfaceIterationParameter > &)
virtual bool apply_const (const Intercube &I, const RefPtr< InterfaceIterationParameter > &)
Public Member Functions inherited from MemCore::ReferenceBase< InterfaceBase >
auto getObjectCountID () const noexcept
bool isIdentical (const WeakPtr< Object, Object > &PossibleSelf) const noexcept
void mkAutoDestructive ()
refcount_t refcount () const noexcept
 ReferenceBase (Object *that) noexcept
const auto & self () const
refcount_t wrefcount () const noexcept

Additional Inherited Members

Public Types inherited from MemCore::Interface< LoaderProgress >
typedef Domain InterfaceDomain_t
Public Types inherited from MemCore::ReferenceBase< InterfaceBase >
typedef Object reference_domain_t
typedef WeakPtr< Object, Object > SelfPtr_t
Protected Member Functions inherited from MemCore::ReferenceBase< InterfaceBase >
virtual void extremeUnction ()
ReferenceBaseoperator= (const ReferenceBase &R)
void suicide ()

Detailed Description

Loading progress callback functor.

Member Function Documentation

◆ CreateField()

bool Fiber::BundleLoaderProgress::CreateField ( const RefPtr< GridID > & gname,
Grid & G,
double t,
const string & fieldname )
virtual

Callback when a new field object is created on a Grid; if return value is false, the load process is terminated.

Reimplemented in Fiber::HDF5BindingIndicator.

◆ CreateGrid()

bool Fiber::BundleLoaderProgress::CreateGrid ( const RefPtr< GridID > & gname,
Grid & G,
double t )
virtual

Callback when a new Grid object is created; if return value is false, the load process is terminated.

Reimplemented in Fiber::HDF5BindingIndicator, MyProgress, MyProgress, MyProgress, MyProgress, and MyProgress.

◆ CreateSlice()

bool Fiber::BundleLoaderProgress::CreateSlice ( double t)
virtual

Callback when a new time slice is created; if return value is false, the load process is terminated.

Reimplemented in Fiber::HDF5BindingIndicator, and MyProgressor.

◆ OpenFile()

bool Fiber::BundleLoaderProgress::OpenFile ( const string & fname)
virtual

Callback when opening a file; if return value is false, the load process is terminated.

Reimplemented in Fiber::HDF5BindingIndicator.

References MemCore::LoaderProgress::OpenFile().