OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
MPE::uiSetupGroupFactory Class Reference

Public Member Functions

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

Protected Attributes

BufferStringSet names_
 
TypeSet< uiSetupGrpCreationFuncfuncs
 

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.

Member Function Documentation

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.

Member Data Documentation

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

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