OpendTect-6_4  6.4
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 getIDs (const std::type_info &, TypeSet< int > &) const
 
int highestID () const
 
DataObjectgetObject (int id)
 
const DataObjectgetObject (int id) const
 
int getID (const osg::Node *) const
 Returns -1 if not found. More...
 
int nrObjects () const
 
DataObjectgetIndexedObject (int idx)
 
const DataObjectgetIndexedObject (int idx) const
 
SelectionManagerselMan ()
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
 mDefineFactoryInClass (DataObject, factory)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Public Attributes

Notifier< DataManagerremoveallnotify
 

Protected Member Functions

void addObject (DataObject *)
 
void removeObject (DataObject *)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Static Protected Member Functions

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

Protected Attributes

ObjectSet< DataObjectobjects_
 
int freeid_
 
SelectionManagerselman_
 
BufferString errmsg_
 

Friends

class DataObject
 

Detailed Description

Constructor & Destructor Documentation

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

Member Function Documentation

void visBase::DataManager::addObject ( DataObject )
protected
const char* visBase::DataManager::errMsg ( ) const
void visBase::DataManager::fillPar ( IOPar ) const
int visBase::DataManager::getID ( const osg::Node *  ) const

Returns -1 if not found.

void visBase::DataManager::getIDs ( const std::type_info &  ,
TypeSet< int > &   
) const
DataObject* visBase::DataManager::getIndexedObject ( int  idx)
const DataObject* visBase::DataManager::getIndexedObject ( int  idx) const
DataObject* visBase::DataManager::getObject ( int  id)
const DataObject* visBase::DataManager::getObject ( int  id) const
int visBase::DataManager::highestID ( ) const
visBase::DataManager::mDefineFactoryInClass ( DataObject  ,
factory   
)
int visBase::DataManager::nrObjects ( ) const
void visBase::DataManager::removeObject ( DataObject )
protected
SelectionManager& visBase::DataManager::selMan ( )
inline
static const char* visBase::DataManager::sKeyFreeID ( )
staticprotected
static const char* visBase::DataManager::sKeySelManPrefix ( )
staticprotected
bool visBase::DataManager::usePar ( const IOPar )

Friends And Related Function Documentation

friend class DataObject
friend

Member Data Documentation

BufferString visBase::DataManager::errmsg_
protected
int visBase::DataManager::freeid_
protected
ObjectSet<DataObject> visBase::DataManager::objects_
protected
Notifier<DataManager> visBase::DataManager::removeallnotify
SelectionManager& visBase::DataManager::selman_
protected

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