The Vish Visualization Shell 0.3
Vish
Public Attributes | List of all members
Wizt::VActionNotifier::CreationSource Struct Reference

An optional property of the VObjectCreation()'s CreationContext telling why the object was created, meaning: which slot requested the creation of this object. More...

#include <ocean/plankton/VActionNotifier.hpp>

Inheritance diagram for Wizt::VActionNotifier::CreationSource:
MemCore::Interface< CreationSource > MemCore::InterfaceBase MemCore::ReferenceBase< InterfaceBase >

Public Attributes

WeakPtr< VSlotmyRequestingSlot
 The slot that triggered the creation of the new object.
 

Additional Inherited Members

- Public Types inherited from MemCore::Interface< CreationSource >
using InterfaceDomain_t = CreationSource
 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 Member Functions inherited from MemCore::Interface< CreationSource >
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.
 
- 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.
 
ReferenceBaseoperator= (const ReferenceBase &R)
 Protected assignment operator (should not be called).
 
void suicide ()
 Delete this.
 
virtual ~ReferenceBase ()
 Virtual destructor.
 

Detailed Description

An optional property of the VObjectCreation()'s CreationContext telling why the object was created, meaning: which slot requested the creation of this object.

This property is set by VObject::createInput, for instance.

Member Data Documentation

◆ myRequestingSlot

WeakPtr<VSlot> Wizt::VActionNotifier::CreationSource::myRequestingSlot

The slot that triggered the creation of the new object.

The newly created object will be a parent of this slot's owning object (VSlot::SlotOwner() ), providing an output type which will be used as an input of this slot.