OpendTect
7.0
|
Public Member Functions | |
uiSetupGroupFactory () | |
~uiSetupGroupFactory () | |
void | addFactory (uiSetupGrpCreationFunc f, const char *name) |
uiSetupGroup * | create (const char *nm, uiParent *, const char *typestr) |
void | remove (const char *nm) |
Protected Attributes | |
TypeSet< uiSetupGrpCreationFunc > | funcs |
BufferStringSet | names_ |
Factory that is able to create MPE::uiSetupGroup* given a uiParent*, and an Attrib::DescSet*. Each class that wants to be able to procuce instances of itself must register itself with the addFactory startup.
<>
MPE::uiSetupGroupFactory::uiSetupGroupFactory | ( | ) |
MPE::uiSetupGroupFactory::~uiSetupGroupFactory | ( | ) |
void MPE::uiSetupGroupFactory::addFactory | ( | uiSetupGrpCreationFunc | f, |
const char * | name | ||
) |
uiSetupGroup* MPE::uiSetupGroupFactory::create | ( | const char * | nm, |
uiParent * | , | ||
const char * | typestr | ||
) |
Iterates through all added factory functions until one of the returns a non-zero pointer.
void MPE::uiSetupGroupFactory::remove | ( | const char * | nm | ) |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024