The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
Wizt::TypedSlot< T >::SlotCreator Class Reference

The associated Slot Creator. More...

#include <ocean/plankton/TypedSlot.hpp>

Inheritance diagram for Wizt::TypedSlot< T >::SlotCreator:
Wizt::TypedSlotCreator MemCore::ReferenceBase< TypedSlotCreator >

Public Member Functions

RefPtr< VSlotnewSlot (VSlotContainer *that, const string &name, const string &InitialValueAsText, bool &Initialized, const RefPtr< VCreationPreferences > &VP, int ExpertLevel) const override
 Implementation of the slot creation function.
 
 SlotCreator (const string &name)
 Default constructor, registers the creator.
 
 ~SlotCreator ()
 Destructor.
 
- Public Member Functions inherited from Wizt::TypedSlotCreator
 TypedSlotCreator ()
 default constructor
 
 ~TypedSlotCreator ()
 Destructor, cleans up registry.
 
- Public Member Functions inherited from MemCore::ReferenceBase< TypedSlotCreator >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
 
bool isIdentical (const WeakPtr< TypedSlotCreator, TypedSlotCreator > &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 (TypedSlotCreator *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< TypedSlotCreator >
using reference_domain_t = TypedSlotCreator
 The type of the base class.
 
using SelfPtr_t = WeakPtr< TypedSlotCreator, TypedSlotCreator >
 Type for a pointer to this object itself.
 
- Static Public Member Functions inherited from Wizt::TypedSlotCreator
static WeakPtr< TypedSlotCreator, TypedSlotCreatorgetTypedSlotCreator (const string &Typename)
 Lookup a slot creator by name of the type.
 
static WeakPtr< TypedSlotCreator, TypedSlotCreatorgetTypedSlotCreator (const type_info &theTypeID)
 Lookup a slot creator by type ID.
 
static void registerTypedSlotCreator (const type_info &theType, const WeakPtr< TypedSlotCreator, TypedSlotCreator > &who, const string &name)
 Add an instance of a type-specific SlotCreator to the registry.
 
- Protected Member Functions inherited from MemCore::ReferenceBase< TypedSlotCreator >
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 T>
class Wizt::TypedSlot< T >::SlotCreator

The associated Slot Creator.