OpendTect  7.0
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
 
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
 
virtual CallBackertrueCaller ()
 

Static Public Member Functions

static void addInsertersToDlg (uiParent *, CtxtIOObj &, ObjectSet< uiIOObjInserter > &, ObjectSet< uiButton > &, const BufferStringSet &)
 
static bool allDisabled ()
 
static uiIOObjInsertercreate (const Translator &t)
 
static uiButtoncreateInsertButton (uiParent *, const CtxtIOObj &, ObjectSet< uiIOObjInserter > &, const BufferStringSet &)
 
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

CNotifier< uiIOObjInserter, const MultiID & > objInserterd
 

Protected Attributes

IOObjContextctxt_
 
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()

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

◆ allDisabled()

static bool uiIOObjInserter::allDisabled ( )
static

◆ create()

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

◆ createInsertButton()

static uiButton* uiIOObjInserter::createInsertButton ( uiParent ,
const CtxtIOObj ,
ObjectSet< uiIOObjInserter > &  ,
const BufferStringSet  
)
static

◆ factoryName()

const char* uiIOObjInserter::factoryName ( ) const
inline

◆ getButtonSetup()

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

◆ 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

◆ ctxt_

IOObjContext& uiIOObjInserter::ctxt_
protected

◆ objInserterd

CNotifier<uiIOObjInserter,const MultiID&> uiIOObjInserter::objInserterd

◆ transl_

const Translator& uiIOObjInserter::transl_
protected

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