|
CFx SDK Documentation 2024 SP0
|
#include <GsOverlayDefs.h>
Classes | |
| struct | Allocator |
| struct | ForEach |
| class | Iterator |
| struct | OverlayData |
Public Member Functions | |
| OdGsOverlayDataContainer () | |
| ~OdGsOverlayDataContainer () | |
| void | substituteAllocator (Allocator *pAllocator) |
| void | resetAllocator () |
| bool | activateOverlay (OdGsOverlayId id) |
| bool | deactivateOverlay (OdGsOverlayId id) |
| OdUInt32 | overlayNumRefs (OdGsOverlayId id) const |
| OdUInt32 | activeOverlays () const |
| bool | isOverlayActive (OdGsOverlayId id) const |
| bool | isMultipleOverlays () const |
| OverlayDataType * | getOverlayData (OdGsOverlayId id, bool bActivate=false) |
| const OverlayDataType * | getOverlayData (OdGsOverlayId id, bool bActivate=false) const |
| bool | execForEach (ForEach &impl, OdUInt32 nMask=kGsAllOverlays) const |
| Iterator | newIterator (OdUInt32 nMask=kGsAllOverlays) const |
| OdUInt32 | invalidOverlays () const |
| bool | isOverlayInvalid (OdGsOverlayId id) const |
| void | setOverlayInvalid (OdGsOverlayId id, bool bSet=true) |
| void | setOverlaysInvalid (bool bSet=true) |
| void | setOverlaysInvalid (OdUInt32 nOverlays, bool bSet=true) |
| bool | isAnyOverlayInvalid () const |
| bool | isAllOverlaysIvalid () const |
Protected Types | |
| typedef OdArray< OverlayData > | OverlayDataArray |
Protected Member Functions | |
| void | subAllocator (Allocator *pAllocator) |
| void | activate (OdGsOverlayId id) const |
| void | deactivate (OdGsOverlayId id) |
Protected Attributes | |
| OverlayDataArray | m_overlaysData |
| Allocator | m_defAllocator |
| Allocator * | m_pAllocator |
| OdUInt32 | m_uActiveOverlays |
| OdUInt32 | m_uInvalidOverlays |
Definition at line 209 of file GsOverlayDefs.h.
|
protected |
Definition at line 234 of file GsOverlayDefs.h.
|
inline |
Default constructor for the OdGsOverlayDataContainer class. Sets the allocator and activates main overlay.
Definition at line 292 of file GsOverlayDefs.h.
|
inline |
Destructor for the OdGsOverlayDataContainer class. Frees resources allocated for overlays.
Definition at line 304 of file GsOverlayDefs.h.
|
inlineprotected |
Definition at line 260 of file GsOverlayDefs.h.
|
inline |
Activates the passed overlay.
| id | [in] Overlay index. |
Definition at line 340 of file GsOverlayDefs.h.
|
inline |
Returns a number of active overlays.
Definition at line 381 of file GsOverlayDefs.h.
|
inlineprotected |
Definition at line 270 of file GsOverlayDefs.h.
|
inline |
Deactivates the passed overlay and removes overlay data from the allocator.
| id | [in] Overlay index. |
Definition at line 354 of file GsOverlayDefs.h.
|
inline |
Definition at line 439 of file GsOverlayDefs.h.
|
inline |
Retrieves a pointer to the overlay data.
| id | [in] Overlay index. |
| bActivate | [in] Flag that specifies whether to activate overlay if it is not currently active. |
Definition at line 405 of file GsOverlayDefs.h.
|
inline |
Retrieves a pointer to the overlay data.
| id | [in] Overlay index. |
| bActivate | [in] Flag that specifies whether to activate overlay if it is not currently active. |
Definition at line 423 of file GsOverlayDefs.h.
|
inline |
Returns a number that represents set of invalid overlays.
Definition at line 529 of file GsOverlayDefs.h.
|
inline |
Checks whether all overlay are invalid.
Definition at line 575 of file GsOverlayDefs.h.
|
inline |
Checks whether there is any invalid overlay.
Definition at line 567 of file GsOverlayDefs.h.
|
inline |
Checks whether multiple overlays are used.
Definition at line 397 of file GsOverlayDefs.h.
|
inline |
Checks whether the passed overlay is active.
| id | [in] Overlay index. |
Definition at line 390 of file GsOverlayDefs.h.
|
inline |
Checks whether overlay by the specified index is invalid.
| id | [in] Overlay index. |
Definition at line 536 of file GsOverlayDefs.h.
|
inline |
Creates and returns new overlay iterator.
| nMask | [in] Overlay mask. |
Definition at line 521 of file GsOverlayDefs.h.
|
inline |
Retrives the overlay number of references.
| id | [in] Overlay index. |
Definition at line 368 of file GsOverlayDefs.h.
|
inline |
Replaces current allocator with standard allocator. Current overlay data is not destroyed.
Definition at line 328 of file GsOverlayDefs.h.
|
inline |
Sets overlay by the specified index as invalid or valid.
| id | [in] Overlay index. |
| bSet | [in] Flag that specifies whether overlay should be invalid. |
Definition at line 544 of file GsOverlayDefs.h.
|
inline |
Specifies whether currently active overlays should be invalid.
| bSet | [in] Flag that specifies whether overlays should be invalid. |
Definition at line 551 of file GsOverlayDefs.h.
|
inline |
Specifies whether currently active overlays should be invalid.
| nOverlays | [in] Mask for active overlays. |
| bSet | [in] Flag that specifies whether overlays should be invalid. |
Definition at line 559 of file GsOverlayDefs.h.
|
inlineprotected |
Definition at line 241 of file GsOverlayDefs.h.
|
inline |
Replaces current allocator with the passed allocator. Current overlay data is not destroyed.
| pAllocator | [in] Pointer to a new allocator to set. |
Definition at line 320 of file GsOverlayDefs.h.
|
protected |
Definition at line 236 of file GsOverlayDefs.h.
|
mutableprotected |
Definition at line 235 of file GsOverlayDefs.h.
|
protected |
Definition at line 237 of file GsOverlayDefs.h.
|
mutableprotected |
Definition at line 238 of file GsOverlayDefs.h.
|
protected |
Definition at line 239 of file GsOverlayDefs.h.