OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Vel::FunctionSource Class Referenceabstract
Inheritance diagram for Vel::FunctionSource:
[legend]

Public Member Functions

virtual BinID changeBinID () const
 
virtual NotifierAccesschangeNotifier ()
 
virtual FunctioncreateFunction (const BinID &)=0
 
const char * errMsg () const
 
virtual void fillPar (IOPar &) const
 
virtual void getAvailablePositions (BinIDValueSet &) const
 
virtual const VelocityDescgetDesc () const =0
 
ConstRefMan< FunctiongetFunction (const BinID &)
 
virtual void getSurroundingPositions (const BinID &, BinIDValueSet &) const
 
const MultiIDmultiID () const
 
virtual bool usePar (const IOPar &)
 
virtual BufferString userName () const
 
const UnitOfMeasurevelUnit () const
 
const ZDomain::InfozDomain () const
 
bool zInFeet () const
 
bool zInMeter () const
 
bool zIsTime () const
 
- Public Member Functions inherited from SharedObject
 SharedObject (const char *nm=nullptr)
 
 SharedObject (const SharedObject &)
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) 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 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 ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 

Protected Member Functions

 FunctionSource ()
 
 ~FunctionSource ()
 
int findFunction (const BinID &) const
 Caller must readlock before calling. More...
 
void removeFunction (const Function *)
 
FunctionSourcesetZDomain (const ZDomain::Info &)
 
const ZDomain::Infozdomaininfo_ ()
 
- Protected Member Functions inherited from SharedObject
virtual ~SharedObject ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

Protected Attributes

BufferString errmsg_
 
ObjectSet< Functionfunctions_
 
Threads::Lock lock_
 
MultiID mid_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Friends

class Function
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from SharedObject
static Notifier< SharedObject > & instanceCreated ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 

Detailed Description

A source of Velocity functions of a certain sort. The FunctionSource can create Functions at certain BinID locations.

<>

Constructor & Destructor Documentation

◆ FunctionSource()

Vel::FunctionSource::FunctionSource ( )
protected

◆ ~FunctionSource()

Vel::FunctionSource::~FunctionSource ( )
protected

Member Function Documentation

◆ changeBinID()

virtual BinID Vel::FunctionSource::changeBinID ( ) const
inlinevirtual

Reimplemented in Vel::IntervalSource, and Vel::GriddedSource.

◆ changeNotifier()

virtual NotifierAccess* Vel::FunctionSource::changeNotifier ( )
inlinevirtual

Reimplemented in Vel::IntervalSource, and Vel::GriddedSource.

◆ createFunction()

virtual Function* Vel::FunctionSource::createFunction ( const BinID )
pure virtual

◆ errMsg()

const char* Vel::FunctionSource::errMsg ( ) const

◆ fillPar()

virtual void Vel::FunctionSource::fillPar ( IOPar ) const
inlinevirtual

Reimplemented in Vel::GriddedSource.

◆ findFunction()

int Vel::FunctionSource::findFunction ( const BinID ) const
protected

Caller must readlock before calling.

◆ getAvailablePositions()

virtual void Vel::FunctionSource::getAvailablePositions ( BinIDValueSet ) const
inlinevirtual

◆ getDesc()

virtual const VelocityDesc& Vel::FunctionSource::getDesc ( ) const
pure virtual

◆ getFunction()

ConstRefMan<Function> Vel::FunctionSource::getFunction ( const BinID )

◆ getSurroundingPositions()

virtual void Vel::FunctionSource::getSurroundingPositions ( const BinID ,
BinIDValueSet  
) const
virtual

◆ multiID()

const MultiID& Vel::FunctionSource::multiID ( ) const
inline

◆ removeFunction()

void Vel::FunctionSource::removeFunction ( const Function )
protected

◆ setZDomain()

FunctionSource& Vel::FunctionSource::setZDomain ( const ZDomain::Info )
protected

◆ usePar()

virtual bool Vel::FunctionSource::usePar ( const IOPar )
inlinevirtual

Reimplemented in Vel::GriddedSource.

◆ userName()

virtual BufferString Vel::FunctionSource::userName ( ) const
virtual

◆ velUnit()

const UnitOfMeasure* Vel::FunctionSource::velUnit ( ) const

◆ zDomain()

const ZDomain::Info& Vel::FunctionSource::zDomain ( ) const

◆ zdomaininfo_()

const ZDomain::Info* Vel::FunctionSource::zdomaininfo_ ( )
protected

◆ zInFeet()

bool Vel::FunctionSource::zInFeet ( ) const

◆ zInMeter()

bool Vel::FunctionSource::zInMeter ( ) const

◆ zIsTime()

bool Vel::FunctionSource::zIsTime ( ) const

Friends And Related Function Documentation

◆ Function

friend class Function
friend

Member Data Documentation

◆ errmsg_

BufferString Vel::FunctionSource::errmsg_
protected

◆ functions_

ObjectSet<Function> Vel::FunctionSource::functions_
protected

◆ lock_

Threads::Lock Vel::FunctionSource::lock_
protected

◆ mid_

MultiID Vel::FunctionSource::mid_
protected

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