OpendTect  7.0
Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
visBase::DataManager Class Reference

the visBase Data Manager More...

Inheritance diagram for visBase::DataManager:
[legend]

Public Member Functions

 DataManager ()
 
virtual ~DataManager ()
 
const char * errMsg () const
 
void fillPar (IOPar &) const
 
VisID getID (const osg::Node *) const
 Returns VisID::udf() if not found. More...
 
void getIDs (const std::type_info &, TypeSet< VisID > &) const
 
DataObjectgetIndexedObject (int idx)
 
const DataObjectgetIndexedObject (int idx) const
 
DataObjectgetObject (VisID)
 
const DataObjectgetObject (VisID) const
 
VisID highestID () const
 
int nrObjects () const
 
SelectionManagerselMan ()
 
bool usePar (const IOPar &)
 
- 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 Attributes

Notifier< DataManagerremoveallnotify
 

Protected Member Functions

void addObject (DataObject *)
 
void removeObject (DataObject *)
 

Static Protected Member Functions

static const char * sKeyFreeID ()
 
static const char * sKeySelManPrefix ()
 

Protected Attributes

BufferString errmsg_
 
int freeid_
 
ObjectSet< DataObjectobjects_
 
int prevobjectidx_
 
SelectionManagerselman_
 

Friends

class DataObject
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

the visBase Data Manager

<>

Constructor & Destructor Documentation

◆ DataManager()

visBase::DataManager::DataManager ( )

◆ ~DataManager()

virtual visBase::DataManager::~DataManager ( )
virtual

Member Function Documentation

◆ addObject()

void visBase::DataManager::addObject ( DataObject )
protected

◆ errMsg()

const char* visBase::DataManager::errMsg ( ) const

◆ fillPar()

void visBase::DataManager::fillPar ( IOPar ) const

◆ getID()

VisID visBase::DataManager::getID ( const osg::Node *  ) const

Returns VisID::udf() if not found.

◆ getIDs()

void visBase::DataManager::getIDs ( const std::type_info &  ,
TypeSet< VisID > &   
) const

◆ getIndexedObject() [1/2]

DataObject* visBase::DataManager::getIndexedObject ( int  idx)

◆ getIndexedObject() [2/2]

const DataObject* visBase::DataManager::getIndexedObject ( int  idx) const

◆ getObject() [1/2]

DataObject* visBase::DataManager::getObject ( VisID  )

◆ getObject() [2/2]

const DataObject* visBase::DataManager::getObject ( VisID  ) const

◆ highestID()

VisID visBase::DataManager::highestID ( ) const

◆ nrObjects()

int visBase::DataManager::nrObjects ( ) const

◆ removeObject()

void visBase::DataManager::removeObject ( DataObject )
protected

◆ selMan()

SelectionManager& visBase::DataManager::selMan ( )
inline

◆ sKeyFreeID()

static const char* visBase::DataManager::sKeyFreeID ( )
staticprotected

◆ sKeySelManPrefix()

static const char* visBase::DataManager::sKeySelManPrefix ( )
staticprotected

◆ usePar()

bool visBase::DataManager::usePar ( const IOPar )

Friends And Related Function Documentation

◆ DataObject

friend class DataObject
friend

Member Data Documentation

◆ errmsg_

BufferString visBase::DataManager::errmsg_
protected

◆ freeid_

int visBase::DataManager::freeid_
protected

◆ objects_

ObjectSet<DataObject> visBase::DataManager::objects_
protected

◆ prevobjectidx_

int visBase::DataManager::prevobjectidx_
mutableprotected

◆ removeallnotify

Notifier<DataManager> visBase::DataManager::removeallnotify

◆ selman_

SelectionManager& visBase::DataManager::selman_
protected

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