24#ifndef _GEMA_PLUGIN_CELL_DATA_DUMP_H_
25#define _GEMA_PLUGIN_CELL_DATA_DUMP_H_
41template <
template <
class>
class Vector>
47 : _cd(cd), _state(NULL), _cellDumpTypeActiveData(NULL), _cellDumpGhostData(NULL),
48 _cellDumpTypeActiveDataSize(0), _cellDumpGhostDataSize(0), _cellDumpLoadedMap(NULL) {}
58 void releaseDumpMemory();
60 void setState(
GmStateDump* state) { _state = state; }
64 bool fillAuxCellBuffers (
int* cellSavedData,
int* baseCellType,
GmMesh* mesh,
const GmLogCategory& logger);
A helper class to implement state dump operations for a GmpCellMeshData<Vector> object.
Definition gmpCellDataDump.h:43
GmpCellMeshData< Vector > * _cd
The cell mesh data object being dumped / recovered.
Definition gmpCellDataDump.h:67
unsigned char * _cellDumpTypeActiveData
A vector storing temporary cell types + active data when needed for dumping code. If different from N...
Definition gmpCellDataDump.h:76
QVariantMap * _cellDumpLoadedMap
The map with loaded control data. Filled (different from NULL) only during the load process.
Definition gmpCellDataDump.h:92
GmStateDump * _state
The state dump object when loading mesh data during Lua mesh model loading (always NULL during orches...
Definition gmpCellDataDump.h:68
int * _cellDumpGhostData
A vector storing temporary information about ghost nodes when needed for dumping code....
Definition gmpCellDataDump.h:86
GmpCellDataDump(GmpCellMeshData< Vector > *cd)
Constructor.
Definition gmpCellDataDump.h:46
int _cellDumpTypeActiveDataSize
The size of the vector _cellDumpTypeActiveData. Needed since _numCells is not zero when the vector is...
Definition gmpCellDataDump.h:79
~GmpCellDataDump()
Destructor.
Definition gmpCellDataDump.h:51
int _cellDumpGhostDataSize
The size of the vector _cellDumpGhostData.
Definition gmpCellDataDump.h:89
Auxiliar structure used to share data between GmpCellMesh and GmpMeshLoader. All fields are public si...
Definition gmpCellMeshData.h:121
Declaration of useful configuration definitions for the plugin library.