OpendTect-6_4  6.4
Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
EM::StoredObjAccess Class Reference

Access to stored EM Objects. More...

Protected Member Functions

StoredObjAccessData * get (const MultiID &)
 

Protected Attributes

ObjectSet< StoredObjAccessData > data_
 
SurfaceIODataSelectionsurfiodsel_
 

Private Member Functions

mODTextTranslationClass(StoredObjAccess) public StoredObjAccess (const MultiID &)
 
virtual ~StoredObjAccess ()
 
void setLoadHint (const SurfaceIODataSelection &)
 
bool set (const MultiID &)
 
bool isReady (int iobj=-1) const
 
bool isError (int iobj=-1) const
 
float ratioDone (int iobj=-1) const
 
uiString getError (int iobj=-1) const
 
bool finishRead ()
 may take a long time More...
 
Executorreader ()
 will 'run' until reading is finished More...
 
EMObjectobject (int iobj=0)
 returns null until ready More...
 
const EMObjectobject (int iobj=0) const
 
int size () const
 
bool isEmpty () const
 
bool add (const MultiID &)
 
void dismiss (const MultiID &)
 

Detailed Description

Access to stored EM Objects.

Will read object(s) in the background. Can load many objects, but works intuitively with a single object, too.

Constructor & Destructor Documentation

mODTextTranslationClass (StoredObjAccess) public EM::StoredObjAccess::StoredObjAccess ( const MultiID )
private
virtual EM::StoredObjAccess::~StoredObjAccess ( )
privatevirtual

Member Function Documentation

bool EM::StoredObjAccess::add ( const MultiID )
private
void EM::StoredObjAccess::dismiss ( const MultiID )
private
bool EM::StoredObjAccess::finishRead ( )
private

may take a long time

StoredObjAccessData* EM::StoredObjAccess::get ( const MultiID )
protected
uiString EM::StoredObjAccess::getError ( int  iobj = -1) const
private
bool EM::StoredObjAccess::isEmpty ( ) const
inlineprivate
bool EM::StoredObjAccess::isError ( int  iobj = -1) const
private
bool EM::StoredObjAccess::isReady ( int  iobj = -1) const
private
EMObject* EM::StoredObjAccess::object ( int  iobj = 0)
private

returns null until ready

const EMObject* EM::StoredObjAccess::object ( int  iobj = 0) const
private
float EM::StoredObjAccess::ratioDone ( int  iobj = -1) const
private
Executor* EM::StoredObjAccess::reader ( )
private

will 'run' until reading is finished

bool EM::StoredObjAccess::set ( const MultiID )
private
void EM::StoredObjAccess::setLoadHint ( const SurfaceIODataSelection )
private
int EM::StoredObjAccess::size ( ) const
inlineprivate

Member Data Documentation

ObjectSet<StoredObjAccessData> EM::StoredObjAccess::data_
protected
SurfaceIODataSelection* EM::StoredObjAccess::surfiodsel_
protected

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