Contains component flags.
More...
#include <Component.h>
Contains component flags.
Definition at line 25 of file Component.h.
◆ EComponentFlags
Component flags describing the state of a component instance.
| Enumerator |
|---|
| None | The component has not been initialized.
|
| Active | The component has been initialized and is currently allocated.
|
| Changed | The components data has changed.
|
| DisableTracking | No change tracking should be performed on the component.
|
| CarryChanged | Set when fields are marked changed by setChanged or setFieldChanged.. Field prevents the Changed flag to reset when calling resetChanged(). Typical loop: Client updates Components calling SetXXXChanged() setting CarryChanged. System redraw starts. All CarryChanged cleared. Components are drawn. Any changes while redrawing will set CarryChanged causing requiring a new redraw to clear. When redraw ends resetChanged() is called.
|
| OverflowFieldChange | Field change bit for fields outside range of individual change tracking bit. Field 24++.
|
| FieldChange | Flags above reserved for field change storage. Field0=FieldChange, Field 1 = FieldChange<<1.
|
| AllFieldChanged | Mark all fields changed. Sets FieldChange + all bits above + OverflowFieldChange.
|
Definition at line 30 of file Component.h.
The documentation for this struct was generated from the following file:
- D:/a/1/s/Cogs/Cogs.Foundation/Source/ComponentModel/Component.h