![]() |
OpendTect
6.3
|
Simple DataPack based on an unstructured char array buffer. More...
Public Member Functions | |
| BufferDataPack (char *b=0, int64_t s=0, const char *catgry="Buffer") | |
| BufferDataPack (const BufferDataPack &) | |
| BufferDataPack & | operator= (const BufferDataPack &) |
| bool | operator== (const BufferDataPack &) const |
| bool | operator!= (const BufferDataPack &oth) const |
| virtual BufferDataPack * | clone () const |
| ChangeType | compareWith (const Monitorable &) const |
| virtual BufferDataPack * | getClone () const |
| char * | buf () |
| char const * | buf () const |
| int64_t | size () const |
| void | setBuf (char *, int64_t) |
| bool | mkNewBuf (int64_t) |
Public Member Functions inherited from DataPack | |
| DataPack (const char *categry) | |
| DataPack (const DataPack &) | |
| DataPack & | operator= (const DataPack &) |
| bool | operator== (const DataPack &) const |
| bool | operator!= (const DataPack &oth) const |
| int | isOK () const |
| ID | id () const |
| FullID | fullID (MgrID mgrid) const |
| const char * | category () const |
| float | nrKBytes () const |
| bool | dumpInfo (IOPar &iop) const |
| DBKey | dbKey () const |
| void | setDBKey (const DBKey &_set_to_) |
| int | nrArrays () const |
| const ArrayND< float > * | arrayData (int iarr) const |
| void | release () |
| DataPack * | obtain () |
Public Member Functions inherited from SharedObject | |
| SharedObject (const char *nm=0) | |
| SharedObject (const SharedObject &) | |
| SharedObject & | operator= (const SharedObject &) |
| bool | operator== (const SharedObject &) const |
| bool | operator!= (const SharedObject &oth) const |
| ChangeType | compareWith (const Monitorable &) const |
Public Member Functions inherited from NamedMonitorable | |
| NamedMonitorable (const char *nm=0) | |
| NamedMonitorable (const NamedObject &) | |
| virtual | ~NamedMonitorable () |
| NamedMonitorable (const NamedMonitorable &) | |
| NamedMonitorable & | operator= (const NamedMonitorable &) |
| bool | operator== (const NamedMonitorable &) const |
| bool | operator!= (const NamedMonitorable &oth) const |
| virtual BufferString | getName () const |
| virtual void | setName (const char *) |
Public Member Functions inherited from Monitorable | |
| Monitorable (const Monitorable &) | |
| virtual | ~Monitorable () |
| Monitorable & | operator= (const Monitorable &) |
| bool | operator== (const Monitorable &) const |
| virtual ChangeDataNotifier & | objectChanged () const |
| virtual Notifier< Monitorable > & | objectToBeDeleted () const |
| virtual void | touch () const |
| virtual DirtyCountType | dirtyCount () const |
| void | sendChangeNotification (const ChangeData &) const |
| void | sendEntireObjectChangeNotification () const |
| void | transferNotifsTo (const Monitorable &, const CallBacker *onlyfor=0) 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 | detachCB (const NotifierAccess &, const CallBack &) const |
| void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
| bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
| virtual bool | isCapsule () const |
| void | stopReceivingNotifications () const |
Public Member Functions inherited from NamedObject | |
| NamedObject (const char *nm=0) | |
| NamedObject (const NamedObject &oth) | |
| virtual | ~NamedObject () |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual const OD::String & | name () const |
| bool | getNameFromPar (const IOPar &) |
| void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
| static char * | createBuf (int64_t) |
Static Public Member Functions inherited from DataPack | |
| static Notifier< DataPack > & | instanceCreated () |
| static const char * | sKeyCategory () |
| static ID | cNoID () |
| static ChangeType | cDBKeyChg () |
Static Public Member Functions inherited from SharedObject | |
| static Notifier< SharedObject > & | instanceCreated () |
Static Public Member Functions inherited from NamedMonitorable | |
| static Notifier< NamedMonitorable > & | instanceCreated () |
| static ChangeType | cNameChange () |
Static Public Member Functions inherited from Monitorable | |
| static Notifier< Monitorable > & | instanceCreated () |
| defines static instanceCreated() More... | |
| static ChangeType | cEntireObjectChange () |
| static ChangeType | cNoChange () |
| static IDType | cUnspecChgID () |
| static IDType | cEntireObjectChgID () |
| static ChangeType | changeNotificationTypeOf (CallBacker *) |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Protected Member Functions | |
| void | copyAll (const BufferDataPack &) |
| ~BufferDataPack () | |
| virtual float | gtNrKBytes () const |
Protected Member Functions inherited from DataPack | |
| void | copyAll (const DataPack &) |
| virtual | ~DataPack () |
| virtual const char * | gtCategory () const |
| virtual void | doDumpInfo (IOPar &) const |
| virtual int | gtNrArrays () const |
| virtual const ArrayND< float > * | gtArrayData (int) const |
| void | setManager (const DataPackMgr *) |
| void | setCategory (const char *c) |
Protected Member Functions inherited from SharedObject | |
| void | copyAll (const SharedObject &) |
| virtual | ~SharedObject () |
Protected Member Functions inherited from NamedMonitorable | |
| void | copyAll (const NamedMonitorable &) |
Protected Member Functions inherited from Monitorable | |
| Monitorable () | |
| void | copyAll (const Monitorable &) |
| void | sendChgNotif (AccessLocker &, const ChangeData &) const |
| calls objectChanged with released lock More... | |
| void | sendChgNotif (AccessLocker &, ChangeType, IDType) const |
| calls objectChanged with released lock More... | |
| void | sendDelNotif () const |
| void | stopChangeNotifications () const |
| void | resumeChangeNotifications () const |
| template<class T > | |
| T | getMemberSimple (const T &) const |
| the get function used by mImplSimpleMonitoredGet More... | |
| template<class TMember , class TSetTo > | |
| void | setMemberSimple (TMember &, TSetTo, ChangeType, IDType) |
| the set function used by mImplSimpleMonitoredSet More... | |
Protected Member Functions inherited from CallBacker | |
| void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More... | |
Protected Attributes | |
| char * | buf_ |
| int64_t | sz_ |
Protected Attributes inherited from DataPack | |
| const ID | id_ |
| const BufferString | category_ |
| DBKey | dbkey_ |
| const DataPackMgr * | manager_ |
Protected Attributes inherited from Monitorable | |
| Threads::Lock | accesslock_ |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
Private Member Functions | |
| void | copyClassData (const BufferDataPack &) |
| ChangeType | compareClassData (const BufferDataPack &) const |
Additional Inherited Members | |
Public Types inherited from DataPack | |
| typedef FullID::PackID | ID |
| typedef FullID::MgrID | MgrID |
Public Types inherited from Monitorable | |
| typedef int | ChangeType |
| typedef int64_t | IDType |
| typedef int64_t | DirtyCountType |
| typedef CNotifier< Monitorable, ChangeData > | ChangeDataNotifier |
Protected Types inherited from Monitorable | |
| typedef Threads::Atomic< DirtyCountType > | DirtyCounter |
Static Protected Member Functions inherited from DataPack | |
| static ID | getNewID () |
| ensures a global data pack ID More... | |
| static float | sKb2MbFac () |
| 1 / 1024 More... | |
Simple DataPack based on an unstructured char array buffer.
| BufferDataPack::BufferDataPack | ( | char * | b = 0, |
| int64_t | s = 0, |
||
| const char * | catgry = "Buffer" |
||
| ) |
| BufferDataPack::BufferDataPack | ( | const BufferDataPack & | ) |
|
protected |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from DataPack.
|
private |
|
virtual |
Reimplemented from DataPack.
|
protected |
|
private |
|
static |
|
inlinevirtual |
Reimplemented from NamedMonitorable.
|
inlineprotectedvirtual |
Implements DataPack.
| bool BufferDataPack::mkNewBuf | ( | int64_t | ) |
|
inline |
| BufferDataPack& BufferDataPack::operator= | ( | const BufferDataPack & | ) |
| bool BufferDataPack::operator== | ( | const BufferDataPack & | ) | const |
| void BufferDataPack::setBuf | ( | char * | , |
| int64_t | |||
| ) |
|
inline |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017