Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Engine::Scene::CameraStorage Class Referenceabstract

#include <Engine/Scene/CameraStorage.hpp>

+ Inheritance diagram for Ra::Engine::Scene::CameraStorage:
+ Collaboration diagram for Ra::Engine::Scene::CameraStorage:

Public Member Functions

virtual ~CameraStorage ()=default
 Destructor.
 
virtual size_t size () const =0
 Returns the container size.
 
virtual void add (CameraComponent *cam)=0
 Add a Camera to the container.
 
virtual void remove (CameraComponent *cam)=0
 Remove a Camera from the container.
 
virtual void clear ()=0
 Clear the container.
 
virtual CameraComponentoperator[] (unsigned int n)=0
 Access the container.
 

Detailed Description

Interface providing functions to access and store cameras in an implementation-defined way.

Definition at line 14 of file CameraStorage.hpp.

Member Function Documentation

◆ add()

virtual void Ra::Engine::Scene::CameraStorage::add ( CameraComponent * cam)
pure virtual

Add a Camera to the container.

Implemented in Ra::Engine::Scene::DefaultCameraStorage.

◆ clear()

virtual void Ra::Engine::Scene::CameraStorage::clear ( )
pure virtual

Clear the container.

Implemented in Ra::Engine::Scene::DefaultCameraStorage.

◆ operator[]()

virtual CameraComponent * Ra::Engine::Scene::CameraStorage::operator[] ( unsigned int n)
pure virtual

Access the container.

Implemented in Ra::Engine::Scene::DefaultCameraStorage.

◆ remove()

virtual void Ra::Engine::Scene::CameraStorage::remove ( CameraComponent * cam)
pure virtual

Remove a Camera from the container.

Implemented in Ra::Engine::Scene::DefaultCameraStorage.

◆ size()

virtual size_t Ra::Engine::Scene::CameraStorage::size ( ) const
pure virtual

Returns the container size.

Implemented in Ra::Engine::Scene::DefaultCameraStorage.


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