OpendTect  6.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GatherSetDataPack Class Reference

A DataPack containing an objectset of gathers. More...

Inheritance diagram for GatherSetDataPack:
[legend]

Public Member Functions

 GatherSetDataPack (const char *ctgery, const ObjectSet< Gather > &)
 
 GatherSetDataPack (const char *cat)
 
 mDeclMonitorableAssignment (GatherSetDataPack)
 
void fill (Array2D< float > &, int offsetidx) const
 
void fill (SeisTrcBuf &, int offsetidx) const
 
void fill (SeisTrcBuf &, Interval< float > stackrg) const
 
void fillGatherBuf (SeisTrcBuf &, const BinID &)
 
SeisTrcgetTrace (int gatheridx, int offsetidx)
 
const SeisTrcgetTrace (int gatheridx, int offsetidx) const
 
const SeisTrcgetTrace (const BinID &, int offsetidx) const
 
const GathergetGather (const BinID &) const
 
const ObjectSet< Gather > & getGathers () const
 
ObjectSet< Gather > & getGathers ()
 
void addGather (Gather *)
 
void setGathers (RefObjectSet< Gather > &gathers)
 
- Public Member Functions inherited from DataPack
 DataPack (const char *categry)
 
 DataPack (const DataPack &)
 
DataPackoperator= (const DataPack &)
 
bool operator== (const DataPack &) const
 
bool operator!= (const DataPack &oth) const
 
virtual DataPackclone () const
 
ChangeType compareWith (const Monitorable &) const
 
int isOK () const
 
ID id () const
 
FullID fullID (MgrID mgrid) const
 
const char * category () const
 
float nrKBytes () const
 
bool dumpInfo (IOPar &iop) const
 
DBKey dbKey () const
 
void setDBKey (const DBKey &_set_to_)
 
int nrArrays () const
 
const ArrayND< float > * arrayData (int iarr) const
 
void release ()
 
DataPackobtain ()
 
- Public Member Functions inherited from SharedObject
 SharedObject (const char *nm=0)
 
 SharedObject (const SharedObject &)
 
SharedObjectoperator= (const SharedObject &)
 
bool operator== (const SharedObject &) const
 
bool operator!= (const SharedObject &oth) const
 
ChangeType compareWith (const Monitorable &) const
 
- Public Member Functions inherited from NamedMonitorable
 NamedMonitorable (const char *nm=0)
 
 NamedMonitorable (const NamedObject &)
 
virtual ~NamedMonitorable ()
 
 NamedMonitorable (const NamedMonitorable &)
 
NamedMonitorableoperator= (const NamedMonitorable &)
 
bool operator== (const NamedMonitorable &) const
 
bool operator!= (const NamedMonitorable &oth) const
 
virtual NamedMonitorablegetClone () const
 
virtual BufferString getName () const
 
virtual void setName (const char *)
 
- Public Member Functions inherited from Monitorable
 Monitorable (const Monitorable &)
 
virtual ~Monitorable ()
 
Monitorableoperator= (const Monitorable &)
 
bool operator== (const Monitorable &) const
 
virtual ChangeDataNotifierobjectChanged () const
 
virtual Notifier< Monitorable > & objectToBeDeleted () const
 
virtual void touch () const
 
virtual DirtyCountType dirtyCount () const
 
void sendChangeNotification (const ChangeData &) const
 
void sendEntireObjectChangeNotification () const
 
void transferNotifsTo (const Monitorable &, const CallBacker *onlyfor=0) const
 
- 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

Protected Member Functions

 ~GatherSetDataPack ()
 
SeisTrcgtTrace (int gatheridx, int offsetidx) const
 
virtual float gtNrKBytes () const
 
- Protected Member Functions inherited from DataPack
void copyAll (const DataPack &)
 
virtual ~DataPack ()
 
virtual const char * gtCategory () const
 
virtual void doDumpInfo (IOPar &) const
 
virtual int gtNrArrays () const
 
virtual const ArrayND< float > * gtArrayData (int) const
 
void setManager (const DataPackMgr *)
 
void setCategory (const char *c)
 
- Protected Member Functions inherited from SharedObject
void copyAll (const SharedObject &)
 
virtual ~SharedObject ()
 
- Protected Member Functions inherited from NamedMonitorable
void copyAll (const NamedMonitorable &)
 
- Protected Member Functions inherited from Monitorable
 Monitorable ()
 
void copyAll (const Monitorable &)
 
void sendChgNotif (AccessLocker &, const ChangeData &) const
 calls objectChanged with released lock More...
 
void sendChgNotif (AccessLocker &, ChangeType, IDType) const
 calls objectChanged with released lock More...
 
void sendDelNotif () const
 
void stopChangeNotifications () const
 
void resumeChangeNotifications () const
 
template<class T >
getMemberSimple (const T &) const
 the get function used by mImplSimpleMonitoredGet More...
 
template<class TMember , class TSetTo >
void setMemberSimple (TMember &, TSetTo, ChangeType, IDType)
 the set function used by mImplSimpleMonitoredSet More...
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Protected Attributes

RefObjectSet< Gathergathers_
 
- Protected Attributes inherited from DataPack
const ID id_
 
const BufferString category_
 
DBKey dbkey_
 
const DataPackMgrmanager_
 
- Protected Attributes inherited from Monitorable
Threads::Lock accesslock_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from DataPack
typedef FullID::PackID ID
 
typedef FullID::MgrID MgrID
 
- Public Types inherited from Monitorable
typedef int ChangeType
 
typedef int64_t IDType
 
typedef int64_t DirtyCountType
 
typedef CNotifier< Monitorable, ChangeDataChangeDataNotifier
 
- Static Public Member Functions inherited from DataPack
static Notifier< DataPack > & instanceCreated ()
 
static const char * sKeyCategory ()
 
static ID cNoID ()
 
static ChangeType cDBKeyChg ()
 
- Static Public Member Functions inherited from SharedObject
static Notifier< SharedObject > & instanceCreated ()
 
- Static Public Member Functions inherited from NamedMonitorable
static Notifier< NamedMonitorable > & instanceCreated ()
 
static ChangeType cNameChange ()
 
- Static Public Member Functions inherited from Monitorable
static Notifier< Monitorable > & instanceCreated ()
 defines static instanceCreated() More...
 
static ChangeType cEntireObjectChange ()
 
static ChangeType cNoChange ()
 
static IDType cUnspecChgID ()
 
static IDType cEntireObjectChgID ()
 
static ChangeType changeNotificationTypeOf (CallBacker *)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Protected Types inherited from Monitorable
typedef Threads::Atomic< DirtyCountTypeDirtyCounter
 
- Static Protected Member Functions inherited from DataPack
static ID getNewID ()
 ensures a global data pack ID More...
 
static float sKb2MbFac ()
 1 / 1024 More...
 

Detailed Description

A DataPack containing an objectset of gathers.

Constructor & Destructor Documentation

GatherSetDataPack::GatherSetDataPack ( const char *  ctgery,
const ObjectSet< Gather > &   
)
GatherSetDataPack::GatherSetDataPack ( const char *  cat)
inline
GatherSetDataPack::~GatherSetDataPack ( )
protected

Member Function Documentation

void GatherSetDataPack::addGather ( Gather )
void GatherSetDataPack::fill ( Array2D< float > &  ,
int  offsetidx 
) const
void GatherSetDataPack::fill ( SeisTrcBuf ,
int  offsetidx 
) const
void GatherSetDataPack::fill ( SeisTrcBuf ,
Interval< float >  stackrg 
) const
void GatherSetDataPack::fillGatherBuf ( SeisTrcBuf ,
const BinID  
)
const Gather* GatherSetDataPack::getGather ( const BinID ) const
const ObjectSet<Gather>& GatherSetDataPack::getGathers ( ) const
inline
ObjectSet<Gather>& GatherSetDataPack::getGathers ( )
inline
SeisTrc* GatherSetDataPack::getTrace ( int  gatheridx,
int  offsetidx 
)
const SeisTrc* GatherSetDataPack::getTrace ( int  gatheridx,
int  offsetidx 
) const
const SeisTrc* GatherSetDataPack::getTrace ( const BinID ,
int  offsetidx 
) const
virtual float GatherSetDataPack::gtNrKBytes ( ) const
protectedvirtual

Implements DataPack.

SeisTrc* GatherSetDataPack::gtTrace ( int  gatheridx,
int  offsetidx 
) const
protected
GatherSetDataPack::mDeclMonitorableAssignment ( GatherSetDataPack  )
void GatherSetDataPack::setGathers ( RefObjectSet< Gather > &  gathers)
inline

Member Data Documentation

RefObjectSet<Gather> GatherSetDataPack::gathers_
protected

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