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

Base class for spaces that may be used for mapping domains to fiber spaces. More...

#include <BaseSpace.hpp>

Inheritance diagram for Fiber::BaseSpace:
Fiber::Ownable< BaseSpace > MemCore::Intercube Fiber::OwnerBase Fiber::Chart Fiber::Skeleton Fiber::CartesianChart3D Fiber::RGBAChart Fiber::TextureChart< 2 > Fiber::TimePolar2DChart

Public Member Functions

void addDependency (const MemCore::WeakPtr< BaseSpaceDependency > &)
 Add an object that will be dependent on the existence of this base space.
 BaseSpace ()
 Constructor.
virtual ~BaseSpace ()
 Virtual destructor.
virtual int Dims () const =0
 Dimensionality of this base space.
virtual std::string xml () const =0
virtual std::string Name () const =0
Public Member Functions inherited from Fiber::Ownable< BaseSpace >
void x_updateOwnershipAge (const MemCore::Ageable &theNewAge) override
 Forward some age to all Owners.
void insertOwner (const Container &theOwner)
 Add some owner.
void addOwner (const Container &theOwner, const MemCore::Ageable &theNewAge)
 Add some owner and broadcast a new age to all Ownerrs.
 Ownable ()
 Default constructor, empty Ownership list.
Ownableoperator= (const Ownable &)
 Assignment, does NOT copy any ownership information, the assigned Ownable will retain all its ownership information.
MemCore::WeakPtr< Container > getPrimaryOwner () const
 Get the first valid owner.
size_t getNumberOfValidOwners () const
 Get the first valid owner.
bool processOwnership (MemCore::Intercube &Output, const MemCore::Intercube &Input) const override
 Process some ownership action.
Public Member Functions inherited from Fiber::OwnerBase
bool processOwnership (MemCore::Intercube &OutputAndInput) const
 Process ownership where the input information is shared with the output information in the same Intercube.
Public Member Functions inherited from MemCore::Intercube
void addInterface (const RefPtr< InterfaceBase > &I) const
void addInterfaceData (const Data &D)
void addInterfaceData (const Data &D)
void clearInterfaces ()
bool const_iterateInterfaces (const RefPtr< InterfaceIterationParameter > &IIP) const
virtual RefPtr< InterfaceBasecreateInterface (const type_info &) const
RefPtr< InterfaceBasefindInterface (const type_info &t) const
RefPtr< InterfaceBasegetInterface (const type_info &t)
std::string getInterfaceNames (const char delim=';') const
bool gotNewInterfaceData (const Data &D)
bool gotNewInterfaceData (mutex &M, const Data &D)
bool gotNewInterfaceData (mutex &M, const Data &D)
bool gotNewInterfaceData (mutex &M, const Data &D, const Selector &S)
bool gotNewInterfaceData (mutex &M, const Data &D, const Selector *S)
bool hasChangedInterfaceData (const Data &D) const
bool hasChangedInterfaceData (const Data &D) const
bool hasChangedInterfaceData (const Data &D, const Selector &) const
bool hasChangedInterfaceData (const Data &D, const Selector *) const
bool hasInterface (const type_info &t) const
bool iterateInterfaces (const RefPtr< InterfaceIterationParameter > &IIP)
void printInterfaces () const
void registerInterface (const type_info &t)
void removeInterface ()
void removeInterfaceBase (const type_info &InterfaceBaseID)

Additional Inherited Members

Public Types inherited from Fiber::OwnerBase
template<class ItemType>
using Item = MemCore::InterfaceData<ItemType>
 An optional convenience class that allows to easily add arbitrary types to Intercubes .
Public Attributes inherited from Fiber::Ownable< BaseSpace >
std::unordered_set< MemCore::WeakPtr< Container > > Owners
 The (internal) list of owners.

Detailed Description

Base class for spaces that may be used for mapping domains to fiber spaces.

Member Function Documentation

◆ addDependency()

void Fiber::BaseSpace::addDependency ( const MemCore::WeakPtr< BaseSpaceDependency > & )

Add an object that will be dependent on the existence of this base space.

If this base space is ceasing to exist, it will also eliminate all of its dependencies.

◆ Dims()

virtual int Fiber::BaseSpace::Dims ( ) const
pure virtual

Dimensionality of this base space.

Implemented in Fiber::Chart, and Fiber::Skeleton.

◆ Name()

virtual std::string Fiber::BaseSpace::Name ( ) const
pure virtual

Implemented in Fiber::Chart.