FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Classes | Public Member Functions | List of all members

Base class to allow binding a Fiber Bundle data structure to some storage device, similar to swapping data from in and out of memory. More...

#include <Binder.hpp>

Inheritance diagram for Fiber::Binder:
Fiber::BinderBase MemCore::ReferenceBase< BinderBase > Fiber::HDF5Binder

Classes

struct  Parameters
 Parameters for file binding. More...
 

Public Member Functions

 Binder (const std::string &url)
 
virtual bool save (const Bundle &theBundle, const MemCore::RefPtr< MemBase > &TheTriggerItem, const MemCore::Intercube &Hierarchy, const RefPtr< MemCore::LoaderProgress > &SaveProgress)=0
 
- Public Member Functions inherited from Fiber::BinderBase
 BinderBase (const std::string &url)
 
const std::string & getUrl () const
 
- Public Member Functions inherited from MemCore::ReferenceBase< BinderBase >
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::ReferenceBase< BinderBase >
typedef Object reference_domain_t
 
typedef WeakPtr< Object, Object > SelfPtr_t
 
- Protected Member Functions inherited from MemCore::ReferenceBase< BinderBase >
virtual void extremeUnction ()
 
ReferenceBaseoperator= (const ReferenceBase &R)
 
void suicide ()
 
- Protected Attributes inherited from Fiber::BinderBase
std::string url
 

Detailed Description

Base class to allow binding a Fiber Bundle data structure to some storage device, similar to swapping data from in and out of memory.

Member Function Documentation

◆ save()

virtual bool Fiber::Binder::save ( const Bundle theBundle,
const MemCore::RefPtr< MemBase > &  TheTriggerItem,
const MemCore::Intercube Hierarchy,
const RefPtr< MemCore::LoaderProgress > &  SaveProgress 
)
pure virtual
Parameters
TheTriggerItemThe creator that triggered the save process. (should it be rather a weakptr ? )