|
Omnidome
Fulldome Mapping Software Toolkit
|
Helper class to store objects with a certain type id in QBuffer Used in GUI for storing previously selected mapping or canvas types. More...
#include <TypeIdMemory.h>

Public Types | |
| typedef INTERFACE | interface_type |
| Our interface type. More... | |
Public Member Functions | |
| void | clear () |
| Clear memory. More... | |
| void | store (interface_type const *_t) |
| Store object with interface in memory. More... | |
| void | restore (interface_type *_t) const |
| Restore object with interface in memory, if exists. More... | |
Private Attributes | |
| std::map< Id, QByteArray > | memory_ |
Helper class to store objects with a certain type id in QBuffer Used in GUI for storing previously selected mapping or canvas types.
| typedef INTERFACE omni::TypeIdMemory< INTERFACE >::interface_type |
Our interface type.
|
inline |
Clear memory.
|
inline |
Restore object with interface in memory, if exists.
No exception is thrown
Deserialize from QByteArray
|
inline |
Store object with interface in memory.
Serialize to QByteArray
|
private |
1.8.6