OpendTect-6_4  6.4
Classes | Macros | Functions
datapack.h File Reference
Include dependency graph for datapack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DataPack
 A data packet: data+positioning and more that needs to be shared. More...
 
class  BufferDataPack
 Simple DataPack based on an unstructured char array buffer. More...
 
class  DataPackMgr
 Manages DataPacks. More...
 
class  ConstDataPackRef< T >
 
class  DataPackRef< T >
 

Macros

#define mObtainDataPack(var, type, mgrid, newid)
 
#define mObtainDataPackToLocalVar(var, type, mgrid, newid)
 

Functions

DataPackMgrDPM (DataPackMgr::ID)
 will create a new mgr if needed More...
 
DataPackMgrDPM (const DataPack::FullID &)
 will return empty dummy mgr if mgr ID not found More...
 

Macro Definition Documentation

#define mObtainDataPack (   var,
  type,
  mgrid,
  newid 
)
Value:
{ \
if ( var ) \
{ \
DPM( mgrid ).release( var->id() ); \
var = 0; \
} \
\
DataPack* __dp = DPM( mgrid ).obtain( newid ); \
mDynamicCastGet( type, __dummy, __dp ); \
if ( !__dummy && __dp ) \
DPM( mgrid ).release( __dp->id() ); \
else \
var = __dummy; \
}
void release(DataPack::ID)
DataPack * obtain(DataPack::ID dpid)
Definition: datapack.h:161
DataPackMgr & DPM(DataPackMgr::ID)
will create a new mgr if needed
#define mObtainDataPackToLocalVar (   var,
  type,
  mgrid,
  newid 
)
Value:
type var = 0; \
mObtainDataPack( var, type, mgrid, newid ); \
#define mObtainDataPack(var, type, mgrid, newid)
Definition: datapack.h:308

Function Documentation

will create a new mgr if needed

DataPackMgr& DPM ( const DataPack::FullID )

will return empty dummy mgr if mgr ID not found


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