OpendTect  7.0
Public Member Functions | Public Attributes | Protected Attributes | List of all members
uiTreeFactorySet Class Reference
Inheritance diagram for uiTreeFactorySet:
[legend]

Public Member Functions

 uiTreeFactorySet ()
 
 ~uiTreeFactorySet ()
 
void addFactory (uiTreeItemFactory *ptr, int placementindex=-1, OD::Pol2D3D pol2d=OD::Both2DAnd3D)
 
const uiTreeItemFactorygetFactory (int) const
 
int getPlacementIdx (int) const
 
OD::Pol2D3D getPol2D (int idx) const
 
OD::Pol2D3D getPol2D3D (int) const
 
int nrFactories () const
 
void remove (const char *)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Public Attributes

CNotifier< uiTreeFactorySet, int > addnotifier
 
CNotifier< uiTreeFactorySet, int > removenotifier
 

Protected Attributes

ObjectSet< uiTreeItemFactoryfactories_
 
TypeSet< int > placementidxs_
 
TypeSet< int > pol2ds_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiTreeFactorySet()

uiTreeFactorySet::uiTreeFactorySet ( )

◆ ~uiTreeFactorySet()

uiTreeFactorySet::~uiTreeFactorySet ( )

Member Function Documentation

◆ addFactory()

void uiTreeFactorySet::addFactory ( uiTreeItemFactory ptr,
int  placementindex = -1,
OD::Pol2D3D  pol2d = OD::Both2DAnd3D 
)
Parameters
ptrpointer to new factory. Object is managed by me.
placementindexIndicates how the created treeitems should be placed when making a new tree.
pol2d

◆ getFactory()

const uiTreeItemFactory* uiTreeFactorySet::getFactory ( int  ) const

◆ getPlacementIdx()

int uiTreeFactorySet::getPlacementIdx ( int  ) const

◆ getPol2D()

OD::Pol2D3D uiTreeFactorySet::getPol2D ( int  idx) const
inline

◆ getPol2D3D()

OD::Pol2D3D uiTreeFactorySet::getPol2D3D ( int  ) const

◆ nrFactories()

int uiTreeFactorySet::nrFactories ( ) const

◆ remove()

void uiTreeFactorySet::remove ( const char *  )

Member Data Documentation

◆ addnotifier

CNotifier<uiTreeFactorySet,int> uiTreeFactorySet::addnotifier

◆ factories_

ObjectSet<uiTreeItemFactory> uiTreeFactorySet::factories_
protected

◆ placementidxs_

TypeSet<int> uiTreeFactorySet::placementidxs_
protected

◆ pol2ds_

TypeSet<int> uiTreeFactorySet::pol2ds_
protected

◆ removenotifier

CNotifier<uiTreeFactorySet,int> uiTreeFactorySet::removenotifier

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