The Vish Visualization Shell 0.3
Vish
Wizt::RenderBasin::RenderParameter::TypedUpdater< Type, Modifier > Class Template Reference

Helper class for automatic updates of render parameters from input slots. More...

#include <ocean/Anemonia/RenderBasin.hpp>

Inheritance diagram for Wizt::RenderBasin::RenderParameter::TypedUpdater< Type, Modifier >:
Wizt::RenderBasin::RenderParameter::Updater MemCore::ReferenceBase< Updater >

Public Member Functions

 TypedUpdater (const TypedSlot< Type > &theSlot, const Type &theDefaultValue, const Modifier &theModifier)
 Initialize a typed updater, remembering the default value.
bool updateValue (VRenderContext &Context, RenderParameter &RP) override
 Virtual update function, reads the typed slot relative to the context and sends it to the render parameter.
Public Member Functions inherited from MemCore::ReferenceBase< Updater >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
bool isIdentical (const WeakPtr< Updater, Updater > &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 (Updater *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::ReferenceBase< Updater >
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< Updater >
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

template<class Type, class Modifier = void>
class Wizt::RenderBasin::RenderParameter::TypedUpdater< Type, Modifier >

Helper class for automatic updates of render parameters from input slots.