CFx SDK Documentation 2024 SP0
|
#include <SaveState.h>
Public Member Functions | |
OdSaveStateFunc (ObjType *pObj, ValType(ObjType::*getFunc)() const, void(ObjType::*setFunc)(ValType)) | |
OdSaveStateFunc (ObjType *pObj, ValType(ObjType::*getFunc)() const, void(ObjType::*setFunc)(ValType), ValType newValue) | |
~OdSaveStateFunc () | |
Protected Attributes | |
ObjType * | m_pObj |
ValType(ObjType::* | m_getFunc )() const |
void(ObjType::* | m_setFunc )(ValType) |
ValType | m_oldValue |
This template class implements SaveState objects which save and restore functions.
<group Other_Classes>
Definition at line 216 of file SaveState.h.
|
inline |
Constructor for objects of the OdSaveStateFunc class.
Definition at line 222 of file SaveState.h.
|
inline |
Constructor for objects of the OdSaveStateFunc class.
Definition at line 232 of file SaveState.h.
|
inline |
Destructor for objects of the OdSaveStateFunc class. Restores the old value of a function.
Definition at line 244 of file SaveState.h.
|
protected |
Definition at line 250 of file SaveState.h.
|
protected |
Definition at line 252 of file SaveState.h.
|
protected |
Definition at line 249 of file SaveState.h.
|
protected |
Definition at line 251 of file SaveState.h.