Isle
|
[AI] Manages the lifecycle, lookup, and sharing of ViewLODList instances for different ROI names. More...
#include <viewlodlist.h>
Public Member Functions | |
ViewLODListManager () | |
[AI] Constructs a ViewLODListManager; initializes internal structures. More... | |
virtual | ~ViewLODListManager () |
[AI] Destroys the manager and all ViewLODLists it owns, ensuring proper cleanup of all managed instances. More... | |
ViewLODList * | Create (const ROIName &rROIName, int lodCount) |
[AI] Creates and registers a new ViewLODList for a named ROI, with space for the specified number of LODs. More... | |
ViewLODList * | Lookup (const ROIName &) const |
[AI] Looks up an existing ViewLODList by ROI name, incrementing its reference count. More... | |
unsigned char | Destroy (ViewLODList *lodList) |
[AI] Destroys (removes and deletes) the given ViewLODList from the manager. More... | |
[AI] Manages the lifecycle, lookup, and sharing of ViewLODList instances for different ROI names.
[AI] Ensures that ViewLODList objects are created uniquely per ROI name and shared using reference counting. Responsible for deletion and lifetime management of all shared ViewLODLists.
Definition at line 111 of file viewlodlist.h.
ViewLODListManager::ViewLODListManager | ( | ) |
[AI] Constructs a ViewLODListManager; initializes internal structures.
Definition at line 32 of file viewlodlist.cpp.
|
virtual |
[AI] Destroys the manager and all ViewLODLists it owns, ensuring proper cleanup of all managed instances.
Definition at line 39 of file viewlodlist.cpp.
ViewLODList * ViewLODListManager::Create | ( | const ROIName & | rROIName, |
int | lodCount | ||
) |
[AI] Creates and registers a new ViewLODList for a named ROI, with space for the specified number of LODs.
rROIName | [AI] Name of the ROI to associate with the new LOD list. Must be unique. |
lodCount | [AI] How many LODs to reserve space for. |
[AI] Caller must call Release() when done with the returned list; if a list with the same name already exists, a new unique name is generated.
Definition at line 67 of file viewlodlist.cpp.
unsigned char ViewLODListManager::Destroy | ( | ViewLODList * | lodList | ) |
[AI] Destroys (removes and deletes) the given ViewLODList from the manager.
Called automatically via ViewLODList reference counting.
lodList | [AI] The ViewLODList to remove and deallocate. |
Definition at line 128 of file viewlodlist.cpp.
ViewLODList * ViewLODListManager::Lookup | ( | const ROIName & | p_roiName | ) | const |
[AI] Looks up an existing ViewLODList by ROI name, incrementing its reference count.
[in] | [AI] | ROI name key. |
[AI] Caller is responsible for calling Release() on the returned ViewLODList.
Definition at line 108 of file viewlodlist.cpp.