OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::StoredObjAccess Class Reference

Access to stored EM Objects. More...

Public Member Functions

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

Protected Member Functions

StoredObjAccessData * get (const MultiID &)
 

Protected Attributes

ObjectSet< StoredObjAccessData > data_
 
SurfaceIODataSelectionsurfiodsel_
 

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

◆ StoredObjAccess() [1/2]

EM::StoredObjAccess::StoredObjAccess ( )

◆ StoredObjAccess() [2/2]

EM::StoredObjAccess::StoredObjAccess ( const MultiID )

◆ ~StoredObjAccess()

virtual EM::StoredObjAccess::~StoredObjAccess ( )
virtual

Member Function Documentation

◆ add()

bool EM::StoredObjAccess::add ( const MultiID )

◆ dismiss()

void EM::StoredObjAccess::dismiss ( const MultiID )

◆ finishRead()

bool EM::StoredObjAccess::finishRead ( )

may take a long time

◆ get()

StoredObjAccessData* EM::StoredObjAccess::get ( const MultiID )
protected

◆ getError()

uiString EM::StoredObjAccess::getError ( int  iobj = -1) const

◆ isEmpty()

bool EM::StoredObjAccess::isEmpty ( ) const
inline

◆ isError()

bool EM::StoredObjAccess::isError ( int  iobj = -1) const

◆ isReady()

bool EM::StoredObjAccess::isReady ( int  iobj = -1) const

◆ object() [1/2]

EMObject* EM::StoredObjAccess::object ( int  iobj = 0)

returns null until ready

◆ object() [2/2]

const EMObject* EM::StoredObjAccess::object ( int  iobj = 0) const

◆ ratioDone()

float EM::StoredObjAccess::ratioDone ( int  iobj = -1) const

◆ reader()

Executor* EM::StoredObjAccess::reader ( )

will 'run' until reading is finished

◆ set()

bool EM::StoredObjAccess::set ( const MultiID )

◆ setLoadHint()

void EM::StoredObjAccess::setLoadHint ( const SurfaceIODataSelection )

◆ size()

int EM::StoredObjAccess::size ( ) const
inline

Member Data Documentation

◆ data_

ObjectSet<StoredObjAccessData> EM::StoredObjAccess::data_
protected

◆ surfiodsel_

SurfaceIODataSelection* EM::StoredObjAccess::surfiodsel_
protected

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