The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
ConsoleProgress Struct Reference
Inheritance diagram for ConsoleProgress:
Wizt::VActionNotifier MemCore::ReferenceBase< VActionNotifier >

Public Member Functions

void createVObject (const RefPtr< VObject > &vobj, const Intercube &CreationContext, const WeakPtr< VCreatorBase > &crec) override
 Virtual action of a notifier object which is hereby informed about the new creation of an object.
 
bool progress (progress_id_t Pid, const string &name, int CurrentValue, int MaxValue) override
 Implement display of some progress.
 
void status (const string &name) override
 Implement displaying some status.
 
- Public Member Functions inherited from Wizt::VActionNotifier
bool activate ()
 Activate the current notifier object to receive notification callbacks.
 
virtual bool attachPrefix (const RefPtr< VParameter > &ProvidedParam, const RefPtr< VSlot > &DestSlot)
 The attach() function is called whenever a parameter is attached to the slot of an object.
 
virtual void deleteVObject (const string &name)
 Virtual action of a notifier object which is hereby informed about the deletion of an object.
 
virtual void terminate (const string &reason)
 Implement some function that is to be called during termination.
 
 VActionNotifier ()
 Constructs a notify callback object.
 
 ~VActionNotifier ()
 Destructor.
 
- Public Member Functions inherited from MemCore::ReferenceBase< VActionNotifier >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
 
bool isIdentical (const WeakPtr< VActionNotifier, VActionNotifier > &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 (VActionNotifier *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< VActionNotifier >
using reference_domain_t = VActionNotifier
 The type of the base class.
 
using SelfPtr_t = WeakPtr< VActionNotifier, VActionNotifier >
 Type for a pointer to this object itself.
 
- Static Public Member Functions inherited from Wizt::VActionNotifier
static bool AttachParameterPrefix (const RefPtr< VParameter > &ProvidedParam, const RefPtr< VSlot > &DestSlot)
 Announce the intended attachment the provided parameter to the given Slot.
 
static progress_id_t getNewProgressID ()
 Get new progress identifier.
 
static bool ProgressInfo (progress_id_t Pid, const string &name, int CurrentValue, int MaxValue)
 Display some progress.
 
static void StatusInfo (const string &name)
 Show some status.
 
static void Terminate (const string &reason={})
 Terminate the application, optionally with some reason.
 
static void VObjectCreation (const RefPtr< VObject > &vobj, const Intercube &CreationContext, const WeakPtr< VCreatorBase > &crec=NullPtr())
 When a new VObject is created, call all of the registered Notifier objects.
 
static void VObjectDeletion (const string &name)
 Global call to inform that an object has been deleted.
 
static void Warning (const string &name)
 Issue a warning.
 
- Protected Member Functions inherited from MemCore::ReferenceBase< VActionNotifier >
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.
 

Member Function Documentation

◆ createVObject()

void ConsoleProgress::createVObject ( const RefPtr< VObject > &  vobj,
const Intercube CreationContext,
const WeakPtr< VCreatorBase > &  crec 
)
inlineoverridevirtual

Virtual action of a notifier object which is hereby informed about the new creation of an object.

Parameters
CreationContextSome context information specific to this creation. It may hold arbitrary Interfaces.
crecThe Creator object. It may be Null if the VObject was created by other means.

Reimplemented from Wizt::VActionNotifier.

References Wizt::VActionNotifier::StatusInfo().