RigsofRods
Soft-body Physics Simulation
Public Member Functions | Protected Attributes
RoR::DashBoardManager Class Reference

#include <DashBoardManager.h>

+ Collaboration diagram for RoR::DashBoardManager:

Public Member Functions

 DashBoardManager (void)
 
 ~DashBoardManager (void)
 
bool _getBool (size_t key)
 
int _getInt (size_t key)
 
float _getFloat (size_t key)
 
float getNumeric (size_t key)
 
char * getChar (size_t key)
 
bool getEnabled (size_t key)
 
void setBool (size_t key, bool val)
 
void setInt (size_t key, int val)
 
void setFloat (size_t key, float val)
 
void setChar (size_t key, const char *val)
 
void setEnabled (size_t key, bool val)
 
int getDataType (size_t key)
 
int getLinkIDForName (Ogre::String &str)
 
std::string getLinkNameForID (DashData id)
 
int loadDashBoard (Ogre::String filename, bool textureLayer)
 
void update (float dt)
 
void updateFeatures ()
 
bool WasDashboardLoaded () const
 
void setVisible (bool visibility)
 
void setVisible3d (bool visibility)
 
bool getVisible ()
 
void windowResized ()
 

Protected Attributes

bool visible = false
 
dashData_t data [DD_MAX]
 
std::vector< DashBoard * > m_dashboards
 

Detailed Description

Definition at line 205 of file DashBoardManager.h.

Constructor & Destructor Documentation

◆ DashBoardManager()

DashBoardManager::DashBoardManager ( void  )

Definition at line 36 of file DashBoardManager.cpp.

◆ ~DashBoardManager()

DashBoardManager::~DashBoardManager ( void  )

Definition at line 140 of file DashBoardManager.cpp.

Member Function Documentation

◆ _getBool()

bool RoR::DashBoardManager::_getBool ( size_t  key)
inline

Definition at line 212 of file DashBoardManager.h.

+ Here is the caller graph for this function:

◆ _getFloat()

float RoR::DashBoardManager::_getFloat ( size_t  key)
inline

Definition at line 214 of file DashBoardManager.h.

◆ _getInt()

int RoR::DashBoardManager::_getInt ( size_t  key)
inline

Definition at line 213 of file DashBoardManager.h.

◆ getChar()

char* RoR::DashBoardManager::getChar ( size_t  key)
inline

Definition at line 216 of file DashBoardManager.h.

+ Here is the caller graph for this function:

◆ getDataType()

int RoR::DashBoardManager::getDataType ( size_t  key)
inline

Definition at line 226 of file DashBoardManager.h.

◆ getEnabled()

bool RoR::DashBoardManager::getEnabled ( size_t  key)
inline

Definition at line 217 of file DashBoardManager.h.

+ Here is the caller graph for this function:

◆ getLinkIDForName()

int DashBoardManager::getLinkIDForName ( Ogre::String &  str)

Definition at line 150 of file DashBoardManager.cpp.

+ Here is the caller graph for this function:

◆ getLinkNameForID()

std::string DashBoardManager::getLinkNameForID ( DashData  id)

Definition at line 161 of file DashBoardManager.cpp.

+ Here is the caller graph for this function:

◆ getNumeric()

float DashBoardManager::getNumeric ( size_t  key)

Definition at line 200 of file DashBoardManager.cpp.

+ Here is the caller graph for this function:

◆ getVisible()

bool RoR::DashBoardManager::getVisible ( )
inline

Definition at line 240 of file DashBoardManager.h.

◆ loadDashBoard()

int DashBoardManager::loadDashBoard ( Ogre::String  filename,
bool  textureLayer 
)

Definition at line 173 of file DashBoardManager.cpp.

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

◆ setBool()

void RoR::DashBoardManager::setBool ( size_t  key,
bool  val 
)
inline

Definition at line 219 of file DashBoardManager.h.

◆ setChar()

void RoR::DashBoardManager::setChar ( size_t  key,
const char *  val 
)
inline

Definition at line 222 of file DashBoardManager.h.

◆ setEnabled()

void RoR::DashBoardManager::setEnabled ( size_t  key,
bool  val 
)
inline

Definition at line 224 of file DashBoardManager.h.

◆ setFloat()

void RoR::DashBoardManager::setFloat ( size_t  key,
float  val 
)
inline

Definition at line 221 of file DashBoardManager.h.

◆ setInt()

void RoR::DashBoardManager::setInt ( size_t  key,
int  val 
)
inline

Definition at line 220 of file DashBoardManager.h.

◆ setVisible()

void DashBoardManager::setVisible ( bool  visibility)

Definition at line 214 of file DashBoardManager.cpp.

+ Here is the caller graph for this function:

◆ setVisible3d()

void DashBoardManager::setVisible3d ( bool  visibility)

Definition at line 226 of file DashBoardManager.cpp.

+ Here is the caller graph for this function:

◆ update()

void DashBoardManager::update ( float  dt)

Definition at line 184 of file DashBoardManager.cpp.

◆ updateFeatures()

void DashBoardManager::updateFeatures ( )

Definition at line 192 of file DashBoardManager.cpp.

◆ WasDashboardLoaded()

bool RoR::DashBoardManager::WasDashboardLoaded ( ) const
inline

Definition at line 236 of file DashBoardManager.h.

+ Here is the caller graph for this function:

◆ windowResized()

void DashBoardManager::windowResized ( )

Definition at line 237 of file DashBoardManager.cpp.

Field Documentation

◆ data

dashData_t RoR::DashBoardManager::data[DD_MAX]
protected

Definition at line 244 of file DashBoardManager.h.

◆ m_dashboards

std::vector<DashBoard*> RoR::DashBoardManager::m_dashboards
protected

Definition at line 245 of file DashBoardManager.h.

◆ visible

bool RoR::DashBoardManager::visible = false
protected

Definition at line 243 of file DashBoardManager.h.


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