Sly Engine
DrawableManager Class Reference

#include <DrawableManager.h>

Inheritance diagram for DrawableManager:
Inheritance graph
Collaboration diagram for DrawableManager:
Collaboration graph

Public Types

typedef StorageList::iterator StorageListRef
 Defines an alias representing the storage list reference. More...
 

Public Member Functions

 DrawableManager ()
 Default constructor. More...
 
 DrawableManager (const DrawableManager &)=delete
 Copy constructor. More...
 
 DrawableManager (DrawableManager &&)=delete
 Move constructor. More...
 
DrawableManageroperator= (const DrawableManager &)=delete
 Assignment operator. More...
 
DrawableManageroperator= (DrawableManager &&)=delete
 Move assignment operator. More...
 
 ~DrawableManager ()
 Deconstructor. More...
 
void ProcessElements ()
 Process the elements. More...
 
void Register (Drawable *dr, StorageListRef &pStorageDeleteRef)
 Registers this. More...
 
void Deregister (Drawable *dr)
 Deregisters this. More...
 

Private Types

using StorageList = std::list< Drawable * >
 

Private Attributes

StorageListstorageList
 

Member Typedef Documentation

◆ StorageList

using DrawableManager::StorageList = std::list<Drawable*>
private

◆ StorageListRef

StorageList::iterator DrawableManager::StorageListRef

Defines an alias representing the storage list reference.

Constructor & Destructor Documentation

◆ DrawableManager() [1/3]

DrawableManager::DrawableManager ( )

Default constructor.

Here is the caller graph for this function:

◆ DrawableManager() [2/3]

DrawableManager::DrawableManager ( const DrawableManager )
delete

Copy constructor.

◆ DrawableManager() [3/3]

DrawableManager::DrawableManager ( DrawableManager &&  )
delete

Move constructor.

◆ ~DrawableManager()

DrawableManager::~DrawableManager ( )

Deconstructor.

Member Function Documentation

◆ Deregister()

void DrawableManager::Deregister ( Drawable dr)

Deregisters this.

Parameters
[in,out]drIf non-null, the drawable pointer.
Here is the caller graph for this function:

◆ operator=() [1/2]

DrawableManager& DrawableManager::operator= ( const DrawableManager )
delete

Assignment operator.

◆ operator=() [2/2]

DrawableManager& DrawableManager::operator= ( DrawableManager &&  )
delete

Move assignment operator.

◆ ProcessElements()

void DrawableManager::ProcessElements ( )

Process the elements.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Register()

void DrawableManager::Register ( Drawable dr,
DrawableManager::StorageListRef pStorageDeleteRef 
)

Registers this.

Parameters
[in,out]drIf non-null, the drawable pointer.
[in,out]pStorageDeleteRefThe storage delete reference.
Here is the caller graph for this function:

Member Data Documentation

◆ storageList

StorageList* DrawableManager::storageList
private

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