|
|
| GmStateDumpDiscontinuityStreamItem (int id, GmDiscontinuitySet *item, const GmLogCategory &logger) |
| |
|
| GmStateDumpStreamableItem (int id, GmDiscontinuitySet *item, const GmLogCategory &logger, QString prefix="") |
| |
| virtual bool | canCompress () const |
| | Should this item be compressed if the MemoryDump object is configured with compression?
|
| |
| virtual int | itemType () const |
| | Returns the item type.
|
| |
| virtual bool | partialOp () const |
| | Does this item supports partial load / save operations?
|
| |
| virtual bool | fillDataHeader (char *header) |
| | Function called together with getDataBuffer() to provide a "header information" with fixed size (equal to GM_MEMORY_DUMP_ITEM_DATA_SIZE) that is also saved for the dump item. This information is then made available when setDataBuffer() is called.
|
| |
| virtual bool | fixedSize () const |
| | Is this dump item a fixed size item that probably won't grow in the future? If so, extra space will NOT be reserved on file for growing even if growing is configured on the memory dump object.
|
| |
| virtual bool | opStart (int op) |
| | Function called by GmMemoryDump::load(), GmMemoryDump::save(), GmMemoryDump::loadItem() and GmMemoryDump::saveItem() to indicate that a load (op == 1) or save (op == 0) operation on this item will begin.
|
| |
| virtual bool | opEnd (int op) |
| | Function called by GmMemoryDump::load(), GmMemoryDump::save(), GmMemoryDump::loadItem() and GmMemoryDump::saveItem() to indicate that a load (op == 1) or save (op == 0) operation was completed succesfully (it won't be called if the operation failed).
|
| |
| virtual qint64 | size () const |
| | Returns the current item size (in bytes)
|
| |
| virtual void | getDataBuffer (GmMemoryBufferList &bufferList, qint64 size=0, qint64 offset=0) |
| | Fills the provided bufferList object with the set of buffers that together define the dump item data.
|
| |
| virtual bool | setDataBuffer (GmMemoryBufferList &bufferList, const char *header, qint64 size, qint64 offset=0) |
| | Fills the provided bufferList object with the set of buffers that should be used to update the dump item data.
|
| |
| virtual void | bufferReleased (int op, bool ok) |
| | Function called once after a call to getDataBuffer() / setDataBuffer() to inform the item data that the returned buffer will not be used anymore by the memory dump object.
|
| |
|
| GmStateDumpBaseDataItem (int id, QString prefix, const GmLogCategory &logger) |
| | Constructor.
|
| |
|
int | id () |
| | Returns the internal dump item id.
|
| |
| virtual int | itemSize () const |
| | The item size needed for calculating sizes and offsets in bytes for partial updates. Includes the dimension.
|
| |
| virtual QString | itemName () const |
| | Returns the default item name composed of the object prefix + '' + the object id, optionally followed by '' + the name suffix (if nameSuffix returns a string different from "")
|
| |
|
virtual | ~GmMemoryDumpItem () |
| | Virtual destructor.
|
| |