|
The Vish Visualization Shell 0.3
Vish
|
Base class for Interfaces. More...
#include <elementary/memcore/Interface.hpp>
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. | |
| ReferenceBase & | operator= (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. | |
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.