|
ACF $AcfVersion:0$
|
Help class which provides the group of changes for update mechanism of the model. More...
#include <CChangeGroup.h>
Public Member Functions | |
| CChangeGroup (IChangeable *changeablePtr, const IChangeable::ChangeSet *changeSetPtr=&IChangeable::GetNoChanges()) | |
| Constructs the group. | |
| ~CChangeGroup () | |
| bool | IsValid () const |
| Check if this pointer is valid. | |
| void | Reset () |
| Call update on attached object and detach it. | |
Help class which provides the group of changes for update mechanism of the model.
Definition at line 21 of file CChangeGroup.h.
|
inlineexplicit |
Constructs the group.
| changeablePtr | Your object prepared to change. If it is NULL, nothing will be done. |
| changeSetPtr | Pointer to set of change flags (its IDs). It cannot be NULL. |
Definition at line 54 of file CChangeGroup.h.
References istd::IChangeable::BeginChangeGroup(), and NULL.
|
inline |
Definition at line 66 of file CChangeGroup.h.
References istd::IChangeable::EndChangeGroup(), and NULL.
| bool istd::CChangeGroup::IsValid | ( | ) | const |
Check if this pointer is valid.
It will be invalid after Reset() and Abort() only.
| void istd::CChangeGroup::Reset | ( | ) |
Call update on attached object and detach it.