RigsofRods
Soft-body Physics Simulation
Public Member Functions | Private Attributes
SkyX::CloudsManager Class Reference

#include <CloudsManager.h>

+ Collaboration diagram for SkyX::CloudsManager:

Public Member Functions

 CloudsManager (SkyX *h)
 Constructor. More...
 
 ~CloudsManager ()
 Destructor. More...
 
void update ()
 Update cloud layers. More...
 
CloudLayeradd (const CloudLayer::Options &o)
 Add a cloud layer. More...
 
void remove (CloudLayer *cl)
 Remove the specified cloud layer. More...
 
void removeAll ()
 Remove all cloud layers. More...
 
void registerAll ()
 Register all. More...
 
void unregister (CloudLayer *cl)
 Unregister cloud layer. More...
 
void unregisterAll ()
 Unregister all cloud layers. More...
 
const std::vector< CloudLayer * > & getCloudLayers () const
 Get cloud layers. More...
 

Private Attributes

std::vector< CloudLayer * > mCloudLayers
 Cloud layers std::vector. More...
 
std::vector< CloudLayer * >::iterator CloudLayersIt
 Cloud layers iterator. More...
 
SkyXmSkyX
 SkyX parent pointer. More...
 

Detailed Description

Definition at line 224 of file CloudsManager.h.

Constructor & Destructor Documentation

◆ CloudsManager()

SkyX::CloudsManager::CloudsManager ( SkyX h)

Constructor.

----------— CloudsManager ------------—

Parameters
sSkyX parent pointer

Definition at line 210 of file CloudsManager.cpp.

◆ ~CloudsManager()

SkyX::CloudsManager::~CloudsManager ( )

Destructor.

Definition at line 215 of file CloudsManager.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ add()

CloudLayer * SkyX::CloudsManager::add ( const CloudLayer::Options o)

Add a cloud layer.

Parameters
oCloud layer options
Returns
Cloud layer

Definition at line 220 of file CloudsManager.cpp.

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

◆ getCloudLayers()

const std::vector<CloudLayer*>& SkyX::CloudsManager::getCloudLayers ( ) const
inline

Get cloud layers.

Returns
Cloud layers

Definition at line 270 of file CloudsManager.h.

+ Here is the caller graph for this function:

◆ registerAll()

void SkyX::CloudsManager::registerAll ( )

Register all.

Definition at line 283 of file CloudsManager.cpp.

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

◆ remove()

void SkyX::CloudsManager::remove ( CloudLayer cl)

Remove the specified cloud layer.

Definition at line 260 of file CloudsManager.cpp.

◆ removeAll()

void SkyX::CloudsManager::removeAll ( )

Remove all cloud layers.

Definition at line 273 of file CloudsManager.cpp.

+ Here is the caller graph for this function:

◆ unregister()

void SkyX::CloudsManager::unregister ( CloudLayer cl)

Unregister cloud layer.

Parameters
clCloud layer to be unregistered

Definition at line 293 of file CloudsManager.cpp.

◆ unregisterAll()

void SkyX::CloudsManager::unregisterAll ( )

Unregister all cloud layers.

Definition at line 304 of file CloudsManager.cpp.

+ Here is the caller graph for this function:

◆ update()

void SkyX::CloudsManager::update ( )

Update cloud layers.

Definition at line 312 of file CloudsManager.cpp.

+ Here is the caller graph for this function:

Field Documentation

◆ CloudLayersIt

std::vector<CloudLayer*>::iterator SkyX::CloudsManager::CloudLayersIt
private

Cloud layers iterator.

Definition at line 279 of file CloudsManager.h.

◆ mCloudLayers

std::vector<CloudLayer*> SkyX::CloudsManager::mCloudLayers
private

Cloud layers std::vector.

Definition at line 277 of file CloudsManager.h.

◆ mSkyX

SkyX* SkyX::CloudsManager::mSkyX
private

SkyX parent pointer.

Definition at line 282 of file CloudsManager.h.


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