MIRA
|
Stores mappings from type names to Visualization classes of Visualizations that are able to show the data. More...
#include <visualization/VisualizationRegistry.h>
Classes | |
struct | Entry |
Public Types | |
typedef Base::Type | Type |
Public Member Functions | |
std::list< ClassProxy > | getVisualizationsFor (const Typename &type, const Class &visualizationType) |
Static Public Member Functions | |
static Type & | instance () |
Returns a reference to the singleton instance. More... | |
static bool | isDestroyed () |
Returns true, if the singleton was already destroyed. More... | |
Static Protected Member Functions | |
static Type * | makeInstance () |
static void | destroyInstance (void) |
Stores mappings from type names to Visualization classes of Visualizations that are able to show the data.
When a visualization to a yet unknown type is requested, the registry performs an indexing. To do so, it tries to instantiate all available visualization classes that are newly available since the last indexing step. For each instantiated visualization, it queries the important information and destroys the instances afterwards. Note that this indexing usually will be done only once after the process queries a visualization for the first time. Hence, the overhead caused by the instantiation of all available visualizations is small.
|
inherited |
std::list<ClassProxy> getVisualizationsFor | ( | const Typename & | type, |
const Class & | visualizationType | ||
) |
|
inlinestaticinherited |
Returns a reference to the singleton instance.
XSingleton | If the singleton was already destroyed (dead reference) or not yet created (when using ExplicitInstantiation). |
|
inlinestaticinherited |
Returns true, if the singleton was already destroyed.
Trying to access it will result in an exception.
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |