Sly Engine
Updatable Class Referenceabstract

#include <Updatable.h>

Inheritance diagram for Updatable:
Inheritance graph
Collaboration diagram for Updatable:
Collaboration graph

Public Member Functions

 Updatable ()
 Default constructor. More...
 
 Updatable (const Updatable &)=delete
 Copy constructor. More...
 
 Updatable (Updatable &&)=delete
 Move constructor. More...
 
Updatableoperator= (const Updatable &)=delete
 Assignment operator. More...
 
Updatableoperator= (Updatable &&)=delete
 Move assignment operator. More...
 
virtual ~Updatable ()
 Deconstructor. More...
 

Protected Member Functions

void SubmitUpdateRegistration ()
 Submit update registration. More...
 
void SubmitUpdateDeregistration ()
 Submit update deregistration. More...
 

Private Member Functions

virtual void Update ()=0
 Base class update. More...
 
void SceneRegistration ()
 Scene registration. More...
 
void SceneDeregistration ()
 Scene deregistration. More...
 
UpdatableManager::StorageListRef GetStorageRef ()
 Gets storage reference. More...
 

Private Attributes

RegistrationState RegStateCurr
 The register state curr. More...
 
UpdatableManager::StorageListRef pMyDeleteRef
 my delete reference More...
 
UpdateRegistrationCommandpRegistrationCmd
 The registration command. More...
 
UpdateDeregistrationCommandpDeregistrationCmd
 The deregistration command. More...
 

Friends

class UpdatableAttorney
 
class SceneAttorney
 

Constructor & Destructor Documentation

◆ Updatable() [1/3]

Updatable::Updatable ( )

Default constructor.

◆ Updatable() [2/3]

Updatable::Updatable ( const Updatable )
delete

Copy constructor.

◆ Updatable() [3/3]

Updatable::Updatable ( Updatable &&  )
delete

Move constructor.

◆ ~Updatable()

Updatable::~Updatable ( )
virtual

Deconstructor.

Member Function Documentation

◆ GetStorageRef()

UpdatableManager::StorageListRef Updatable::GetStorageRef ( )
private

Gets storage reference.

Returns
The storage reference.
Here is the caller graph for this function:

◆ operator=() [1/2]

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

Assignment operator.

◆ operator=() [2/2]

Updatable& Updatable::operator= ( Updatable &&  )
delete

Move assignment operator.

◆ SceneDeregistration()

void Updatable::SceneDeregistration ( )
private

Scene deregistration.

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

◆ SceneRegistration()

void Updatable::SceneRegistration ( )
private

Scene registration.

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

◆ SubmitUpdateDeregistration()

void Updatable::SubmitUpdateDeregistration ( )
protected

Submit update deregistration.

Here is the call graph for this function:

◆ SubmitUpdateRegistration()

void Updatable::SubmitUpdateRegistration ( )
protected

Submit update registration.

Here is the call graph for this function:

◆ Update()

void Updatable::Update ( )
privatepure virtual

Base class update.

Pure virtual function. Derived class must override.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ SceneAttorney

friend class SceneAttorney
friend

◆ UpdatableAttorney

friend class UpdatableAttorney
friend

Member Data Documentation

◆ pDeregistrationCmd

UpdateDeregistrationCommand* Updatable::pDeregistrationCmd
private

The deregistration command.

◆ pMyDeleteRef

UpdatableManager::StorageListRef Updatable::pMyDeleteRef
private

my delete reference

◆ pRegistrationCmd

UpdateRegistrationCommand* Updatable::pRegistrationCmd
private

The registration command.

◆ RegStateCurr

RegistrationState Updatable::RegStateCurr
private

The register state curr.


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