The Vish Visualization Shell 0.3
Vish
Wizt::ValuePoolProvider Class Reference

Procedural interface for requesting a ValuePool. More...

#include <ocean/plankton/ValuePool.hpp>

Inheritance diagram for Wizt::ValuePoolProvider:
MemCore::ReferenceBase< ValuePoolProvider >

Public Member Functions

void activate (const RefPtr< ValuePool > &NewPool)
 Switch from the current value pool to another one.
 ValuePoolProvider ()
 Constructor.
 ValuePoolProvider (const WeakPtr< ValuePool > &CurrentPool)
 Constructor with a Value Pool.
 ~ValuePoolProvider ()
 Destructor.
Public Member Functions inherited from MemCore::ReferenceBase< ValuePoolProvider >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
bool isIdentical (const WeakPtr< ValuePoolProvider, ValuePoolProvider > &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 (ValuePoolProvider *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.

Static Public Member Functions

static WeakPtr< ValuePoolgetPool (const RefPtr< ValuePoolProvider, ValuePoolProvider > &theProvider)
 Gets a value pool from a value pool provider.

Public Attributes

WeakPtr< ValuePoolCurrentPool
 Reference to the current pool.

Additional Inherited Members

Public Types inherited from MemCore::ReferenceBase< ValuePoolProvider >
using reference_domain_t
 The type of the base class.
using SelfPtr_t
 Type for a pointer to this object itself.
Protected Member Functions inherited from MemCore::ReferenceBase< ValuePoolProvider >
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.

Detailed Description

Procedural interface for requesting a ValuePool.

Stores a weak pointer to the ValuePool.