The Vish Visualization Shell 0.3
Vish
Public Member Functions | Protected Member Functions | List of all members
MemCore::InterfaceBase Class Referenceabstract

Base class for Interfaces. More...

#include <elementary/memcore/Interface.hpp>

Inheritance diagram for MemCore::InterfaceBase:
MemCore::ReferenceBase< InterfaceBase > MemCore::Interface< A > MemCore::Interface< AnalyticFunctionBase > MemCore::Interface< BoundingBall > MemCore::Interface< KDTree< N, T > > MemCore::Interface< ViewPoints > MemCore::Interface< VObjectSystemExecutor > MemCore::Interface< Producer > MemCore::Interface< InterfaceData< Data, void > > MemCore::Interface< LifeSupporter< Object > > MemCore::Interface< LoaderProgress > MemCore::Interface< StreamSaver > MemCore::Interface< ColormapReference > MemCore::Interface< GLCacheFactory > MemCore::Interface< MultiviewOVR > MemCore::Interface< RenderSlice > MemCore::Interface< SSBOManager > MemCore::Interface< StorageBufferID > MemCore::Interface< CreationSource > MemCore::Interface< RealTime > MemCore::Interface< VCreationPreferences > MemCore::Interface< VGLShaderPlatformDefines > MemCore::Interface< VObjectInfo > MemCore::Interface< VObjectUserInfo > MemCore::Interface< Cache > MemCore::Interface< VParameterObjectCreator > MemCore::Interface< VScriptParser > MemCore::Interface< VUndoStack > MemCore::Interface< ValueCache > MemCore::Interface< int > MemCore::Interface< Domain >

Public Member Functions

virtual bool apply (Intercube &I, const RefPtr< InterfaceIterationParameter > &)
 modifyable callback function
 
virtual bool apply_const (const Intercube &I, const RefPtr< InterfaceIterationParameter > &)
 constant callback function
 
virtual const type_info & getInterfaceDomain () const =0
 Get the domain of this interface.
 
 InterfaceBase () throw ()
 Constructor.
 
- Public Member Functions inherited from MemCore::ReferenceBase< InterfaceBase >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
 
bool isIdentical (const WeakPtr< InterfaceBase, InterfaceBase > &PossibleSelf) const noexcept
 Check if this object is identical to the one used by the given pointer.
 
void mkAutoDestructive ()
 Marks this object as being automatically destructed, e.g.
 
refcount_t refcount () const noexcept
 The strong reference count.
 
 ReferenceBase (InterfaceBase *that) noexcept
 Constructor, initializes reference counter to zero.
 
const auto & self () const
 Return weak pointer to the object self.
 
refcount_t wrefcount () const noexcept
 The weak reference count.
 

Protected Member Functions

 ~InterfaceBase ()
 Destructor.
 
- Protected Member Functions inherited from MemCore::ReferenceBase< InterfaceBase >
virtual void extremeUnction ()
 A virtual function that will be called just before the object is destroyed.
 
ReferenceBaseoperator= (const ReferenceBase &R)
 Protected assignment operator (should not be called).
 
void suicide ()
 Delete this.
 
virtual ~ReferenceBase ()
 Virtual destructor.
 

Additional Inherited Members

- Public Types inherited from MemCore::ReferenceBase< InterfaceBase >
using reference_domain_t = InterfaceBase
 The type of the base class.
 
using SelfPtr_t = WeakPtr< InterfaceBase, InterfaceBase >
 Type for a pointer to this object itself.
 

Detailed Description

Base class for Interfaces.

This are properties which can be added to Intercubes dynamically at runtime. Their role is like (virtual) base classes and multiple inheritance, but they are determined at runtime, not compile-time.