OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
MPE::uiSetupGroupFactory Class Referencefinal

Public Member Functions

 uiSetupGroupFactory ()
 
 ~uiSetupGroupFactory ()
 
void addFactory (uiSetupGrpCreationFunc f, const char *name)
 
uiSetupGroupcreate (const char *nm, uiParent *, const char *typestr)
 
void remove (const char *nm)
 

Protected Attributes

TypeSet< uiSetupGrpCreationFuncfuncs
 
BufferStringSet names_
 

Detailed Description

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.

<>

Constructor & Destructor Documentation

◆ uiSetupGroupFactory()

MPE::uiSetupGroupFactory::uiSetupGroupFactory ( )

◆ ~uiSetupGroupFactory()

MPE::uiSetupGroupFactory::~uiSetupGroupFactory ( )

Member Function Documentation

◆ addFactory()

void MPE::uiSetupGroupFactory::addFactory ( uiSetupGrpCreationFunc  f,
const char *  name 
)

◆ create()

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.

◆ remove()

void MPE::uiSetupGroupFactory::remove ( const char *  nm)

Member Data Documentation

◆ funcs

TypeSet<uiSetupGrpCreationFunc> MPE::uiSetupGroupFactory::funcs
protected

◆ names_

BufferStringSet MPE::uiSetupGroupFactory::names_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024