OpendTect  6.6
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
uiIOObjInserter Class Referenceabstract

inserts a new object into the OD data store. More...

Inheritance diagram for uiIOObjInserter:
[legend]

Public Member Functions

 uiIOObjInserter (const Translator &)
 
virtual ~uiIOObjInserter ()
 
const char * factoryName () const
 
virtual uiToolButtonSetupgetButtonSetup () const =0
 
IOObjContextgetIOObjCtxt () const
 
bool hasTranslator (const Translator &trl) const
 
bool isDisabled () const
 
 mDefineFactoryInClasswKW (uiIOObjInserter, factory, factoryName()) const char *name() const
 
void setIOObjCtxt (const IOObjContext &)
 
- 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
 

Static Public Member Functions

static void addInsertersToDlg (uiParent *, CtxtIOObj &, ObjectSet< uiIOObjInserter > &, ObjectSet< uiButton > &)
 
static void addInsertersToDlg (uiParent *, CtxtIOObj &, ObjectSet< uiIOObjInserter > &, ObjectSet< uiButton > &, const BufferStringSet &trnotallowed)
 
static bool allDisabled ()
 
static uiIOObjInsertercreate (const Translator &t)
 
static bool isPresent (const Translator &t)
 
static bool isPresent (const TranslatorGroup &)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

Notifier< uiIOObjInserterobjectInserted
 pass a CBCapsule<MultiID> in trigger(), More...
 

Protected Attributes

const Translatortransl_
 

Detailed Description

inserts a new object into the OD data store.

The initial idea is to use it for external objects that are not imported. In time though, they could make 'import' menus (almost) obsolete.

<>

Constructor & Destructor Documentation

◆ uiIOObjInserter()

uiIOObjInserter::uiIOObjInserter ( const Translator )

◆ ~uiIOObjInserter()

virtual uiIOObjInserter::~uiIOObjInserter ( )
virtual

Member Function Documentation

◆ addInsertersToDlg() [1/2]

static void uiIOObjInserter::addInsertersToDlg ( uiParent ,
CtxtIOObj ,
ObjectSet< uiIOObjInserter > &  ,
ObjectSet< uiButton > &   
)
static

◆ addInsertersToDlg() [2/2]

static void uiIOObjInserter::addInsertersToDlg ( uiParent ,
CtxtIOObj ,
ObjectSet< uiIOObjInserter > &  ,
ObjectSet< uiButton > &  ,
const BufferStringSet trnotallowed 
)
static

◆ allDisabled()

static bool uiIOObjInserter::allDisabled ( )
static

◆ create()

static uiIOObjInserter* uiIOObjInserter::create ( const Translator t)
inlinestatic

◆ factoryName()

const char* uiIOObjInserter::factoryName ( ) const
inline

◆ getButtonSetup()

virtual uiToolButtonSetup* uiIOObjInserter::getButtonSetup ( ) const
pure virtual

◆ getIOObjCtxt()

IOObjContext* uiIOObjInserter::getIOObjCtxt ( ) const

◆ hasTranslator()

bool uiIOObjInserter::hasTranslator ( const Translator trl) const
inline

◆ isDisabled()

bool uiIOObjInserter::isDisabled ( ) const

◆ isPresent() [1/2]

static bool uiIOObjInserter::isPresent ( const Translator t)
inlinestatic

◆ isPresent() [2/2]

static bool uiIOObjInserter::isPresent ( const TranslatorGroup )
static

◆ mDefineFactoryInClasswKW()

uiIOObjInserter::mDefineFactoryInClasswKW ( uiIOObjInserter  ,
factory  ,
factoryName()   
) const
inline

◆ setIOObjCtxt()

void uiIOObjInserter::setIOObjCtxt ( const IOObjContext )

Member Data Documentation

◆ objectInserted

Notifier<uiIOObjInserter> uiIOObjInserter::objectInserted

pass a CBCapsule<MultiID> in trigger(),

◆ transl_

const Translator& uiIOObjInserter::transl_
protected

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