OpendTect  6.6
Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
visBase::DataManager Class Reference
Inheritance diagram for visBase::DataManager:
[legend]

Public Member Functions

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

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_
 
SelectionManagerselman_
 

Friends

class DataObject
 

Additional Inherited Members

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

Detailed Description

<>

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()

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

Returns -1 if not found.

◆ getIDs()

void visBase::DataManager::getIDs ( const std::type_info &  ,
TypeSet< int > &   
) 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 ( int  id)

◆ getObject() [2/2]

const DataObject* visBase::DataManager::getObject ( int  id) const

◆ highestID()

int 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

◆ 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-2022