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

An action object that allows to schedule objects for request execution, i.e. More...

#include <ocean/shrimp/Action.hpp>

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

Public Member Functions

bool emitAction (const RefPtr< ValuePool > &Context, const RefPtr< VParameter > &owner)
 Schedule an request() execution for all objects that use this same action object as parameter.
 VAction (double prec=1.0)
Public Member Functions inherited from MemCore::ReferenceBase< VAction >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
bool isIdentical (const WeakPtr< VAction, VAction > &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 (VAction *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< VAction >
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< VAction >
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

An action object that allows to schedule objects for request execution, i.e.

making them a data sink. A GUI may hook this Action object to some [apply] or [doit] button. The object will not be requested immediatly, but whenever the scheduler decides it wants execution.

Constructor & Destructor Documentation

◆ VAction()

Wizt::VAction::VAction ( double prec = 1.0)
inline
Parameters
precThe precision with which this object will be scheduled to be requested.

References VAction().

Referenced by emitAction(), and VAction().