roviz  0.7
Code Documentation of roviz
Protected Member Functions | Friends | List of all members
AbstractSingleton Class Referenceabstract

The AbstractSingleton class defines functions that every singleton must implement Every Singleton must provide a constructor, destructor a postInit() and a preDestroy() method. More...

#include <singleton.h>

Inheritance diagram for AbstractSingleton:
Inheritance graph
Collaboration diagram for AbstractSingleton:
Collaboration graph

Protected Member Functions

virtual bool postInit ()=0
 postInit will be called after all components and singletons have been constructed/initialized More...
 
virtual bool preDestroy ()=0
 preDestroy will be called before any of the components and singletons will be destructed/deinitailized More...
 

Friends

class ObjectState
 

Detailed Description

The AbstractSingleton class defines functions that every singleton must implement Every Singleton must provide a constructor, destructor a postInit() and a preDestroy() method.

Member Function Documentation

◆ postInit()

virtual bool AbstractSingleton::postInit ( )
protectedpure virtual

postInit will be called after all components and singletons have been constructed/initialized

Returns
true if post initialization was successfull

Implemented in GuiManager, Livedoc, PluginManager, Item_Manager, and ProjectManagerGui.

Here is the caller graph for this function:

◆ preDestroy()

virtual bool AbstractSingleton::preDestroy ( )
protectedpure virtual

preDestroy will be called before any of the components and singletons will be destructed/deinitailized

Returns
true if pre destruction was successfull

Implemented in GuiManager, Livedoc, PluginManager, Item_Manager, and ProjectManagerGui.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: