|
The Vish Visualization Shell 0.3
Vish
|
An interface for data. More...
#include <elementary/memcore/Interface.hpp>
Public Member Functions | |
| Data & | getData () |
| Helper function for explicit access to implicit base class. | |
| const Data & | getData () const |
| Helper function for explicit access to implicit base class. | |
Public Member Functions inherited from MemCore::Interface< Domain > | |
| const type_info & | getInterfaceDomain () const |
| Run-time information about the type used for InterCube registration. | |
Public Member Functions inherited from MemCore::InterfaceBase | |
| virtual bool | apply (Intercube &I, const RefPtr< InterfaceIterationParameter > &) |
| modifyable callback function | |
| virtual bool | apply_const (const Intercube &I, const RefPtr< InterfaceIterationParameter > &) |
| constant callback function | |
| 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. | |
Public Member Functions inherited from Data | |
| memsize_t | memsize () const override |
| Ask how many bytes this object occupies. | |
Public Member Functions inherited from MemCore::ReferenceBase< Data > | |
| auto | getObjectCountID () const noexcept |
| Get a unique ID for this object in the given domain. | |
| bool | isIdentical (const WeakPtr< Data, Data > &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 (Data *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. | |
Public Member Functions inherited from MemCore::Cacheable | |
| Cacheable (const WeakPtr< Creature > &C) | |
| Constructor. | |
| virtual void | DeferredConstructor () |
| A virtual function that is called on the first strong referencing of a Cacheable object. | |
| bool | isCached () const |
| Check whether this object is managed by a cache queue. | |
| bool | isUncached () const |
| Check whether this object is managed by a cache queue. | |
| bool | markAsUsed () |
| Mark this data object as being recently used. | |
| WeakPtr< CacheBase > | myCache () const |
| Return the associated Cache object as known from the associated Creator, if any. | |
| const WeakPtr< Creature > & | myCreator () const |
| Return the associated Creator, if any. | |
| int | NumberOfListEntries () const |
| Count the number of entries here. | |
| void | PreDestructor () |
| This class uses a predestructor to remove itself's size from the cache queue. | |
| void | push_back (CacheQueue &Q) |
| Put the current item onto the BACK of the given cache queue. | |
| void | push_front (CacheQueue &Q) |
| Put the current item onto the FRONT of the given cache queue. | |
| void | setCreator (const WeakPtr< Creature > &C) |
| Set and the creator. | |
Public Member Functions inherited from MemCore::ReferenceBase< Cacheable > | |
| auto | getObjectCountID () const noexcept |
| Get a unique ID for this object in the given domain. | |
| bool | isIdentical (const WeakPtr< Cacheable, Cacheable > &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 (Cacheable *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. | |
Additional Inherited Members | |
Public Types inherited from MemCore::Interface< Domain > | |
| using | InterfaceDomain_t = Domain |
| Compile-time information about the type used for InterCube registration. | |
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. | |
Public Types inherited from MemCore::ReferenceBase< Data > | |
| using | reference_domain_t = Data |
| The type of the base class. | |
| using | SelfPtr_t = WeakPtr< Data, Data > |
| Type for a pointer to this object itself. | |
Public Types inherited from MemCore::Cacheable | |
| using | cachecounter_t = unsigned long |
| The type to store repeated accesses to a cached object. | |
Public Types inherited from MemCore::ReferenceBase< Cacheable > | |
| using | reference_domain_t = Cacheable |
| The type of the base class. | |
| using | SelfPtr_t = WeakPtr< Cacheable, Cacheable > |
| Type for a pointer to this object itself. | |
Protected Member Functions inherited from MemCore::InterfaceBase | |
| ~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. | |
Protected Member Functions inherited from MemCore::ReferenceBase< Data > | |
| 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. | |
Protected Member Functions inherited from MemCore::Cacheable | |
| void | adjustCacheableSize (memsize_t memDiff) |
| In case this object changes its size after insertion to the CacheQueue, call this function to adjust. | |
| ~Cacheable () | |
| Destructor. | |
Protected Member Functions inherited from MemCore::ReferenceBase< Cacheable > | |
| 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. | |
An interface for data.
| TypeSelector | An additional typename that can be used to reduce data ambiguities. |