NDEVR
API Documentation
DesignObjectSorterManager

Allows for sorting models when supported. More...

Inheritance diagram for DesignObjectSorterManager:
[legend]
Collaboration diagram for DesignObjectSorterManager:
[legend]

Static Public Member Functions

static void AddSorter (DesignObjectSorter *sorter)
 Registers a new sorter with the manager.
static void RemoveSorter (UUID id)
 Removes a sorter from the manager by its unique identifier.
static const Buffer< DesignObjectSorter * > & Sorters ()
 Returns the list of all registered sorters.

Detailed Description

Allows for sorting models when supported.


This can be used to augment the order in which objects appear in the SceneTree or in DesignObjectTables.

Definition at line 40 of file DesignObjectSorter.h.

Member Function Documentation

◆ AddSorter()

void DesignObjectSorterManager::AddSorter ( DesignObjectSorter * sorter)
static

Registers a new sorter with the manager.

Parameters
[in]sorterThe sorter to add to the global list of available sorters.

◆ RemoveSorter()

void DesignObjectSorterManager::RemoveSorter ( UUID id)
static

Removes a sorter from the manager by its unique identifier.

Parameters
[in]idThe UUID of the sorter to remove.

◆ Sorters()

const Buffer< DesignObjectSorter * > & DesignObjectSorterManager::Sorters ( )
static

Returns the list of all registered sorters.

Returns
A reference to the buffer of all currently registered sorters.

The documentation for this class was generated from the following file: