Avionics
Dropship Simulator
Config Class Reference

#include <Config.h>

Collaboration diagram for Config:
[legend]

Public Member Functions

void Initialize (Logger *logger, std::vector< Module *> *modules, Bus *prmBus, Viewport *viewport, WCHAR *configFile)
 

Public Attributes

std::vector< Devices::InterfaceKitConfiginterfaceKitConfigs
 
std::vector< Devices::AnalogConfiganalogConfigs
 
std::vector< Devices::EncoderConfigencoderConfigs
 
Devices::KeyboardConfig keyboardConfig
 
Devices::SpatialConfig spatialConfig
 
Devices::ApcupsdConfig apcupsdConfig
 
std::vector< Devices::BassConfigbassConfigs
 
Devices::RakNetConfig rakNetConfig
 
Devices::TeamSpeakConfig teamSpeakConfig
 
std::vector< Devices::JoystickConfigjoystickConfigs
 
Devices::YouTubeConfig youTubeConfig
 
Devices::WebcamConfig webcamConfig
 
Devices::XplaneConfig xplaneConfig
 

Private Member Functions

void LoadCommands (rapidxml::xml_node<> *parentNode, std::vector< Command > *commands)
 
void ConfigureDevices (rapidxml::xml_node<> *devices)
 
void ConfigureModules (rapidxml::xml_node<> *modules, std::vector< Module *> *prmModules, Bus *prmBus, Logger *prmLogger) const
 
void ConfigureViewport (rapidxml::xml_node<> *viewportNode, Viewport *viewport)
 

Private Attributes

Loggerlogger
 

Detailed Description

Definition at line 20 of file Config.h.

Member Function Documentation

◆ ConfigureDevices()

void Config::ConfigureDevices ( rapidxml::xml_node<> *  devices)
private

Definition at line 55 of file Config.cpp.

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

◆ ConfigureModules()

void Config::ConfigureModules ( rapidxml::xml_node<> *  modules,
std::vector< Module *> *  prmModules,
Bus prmBus,
Logger prmLogger 
) const
private

Definition at line 591 of file Config.cpp.

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

◆ ConfigureViewport()

void Config::ConfigureViewport ( rapidxml::xml_node<> *  viewportNode,
Viewport viewport 
)
private

Definition at line 815 of file Config.cpp.

Here is the caller graph for this function:

◆ Initialize()

void Config::Initialize ( Logger logger,
std::vector< Module *> *  modules,
Bus prmBus,
Viewport viewport,
WCHAR *  configFile 
)

had to do as dynamic char array because it wouldn't take a std::string

Definition at line 8 of file Config.cpp.

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

◆ LoadCommands()

void Config::LoadCommands ( rapidxml::xml_node<> *  parentNode,
std::vector< Command > *  commands 
)
private

Definition at line 786 of file Config.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ analogConfigs

std::vector<Devices::AnalogConfig> Config::analogConfigs

Definition at line 32 of file Config.h.

◆ apcupsdConfig

Devices::ApcupsdConfig Config::apcupsdConfig

Definition at line 36 of file Config.h.

◆ bassConfigs

std::vector<Devices::BassConfig> Config::bassConfigs

Definition at line 37 of file Config.h.

◆ encoderConfigs

std::vector<Devices::EncoderConfig> Config::encoderConfigs

Definition at line 33 of file Config.h.

◆ interfaceKitConfigs

std::vector<Devices::InterfaceKitConfig> Config::interfaceKitConfigs

Definition at line 31 of file Config.h.

◆ joystickConfigs

std::vector<Devices::JoystickConfig> Config::joystickConfigs

Definition at line 40 of file Config.h.

◆ keyboardConfig

Devices::KeyboardConfig Config::keyboardConfig

Definition at line 34 of file Config.h.

◆ logger

Logger* Config::logger
private

Definition at line 23 of file Config.h.

◆ rakNetConfig

Devices::RakNetConfig Config::rakNetConfig

Definition at line 38 of file Config.h.

◆ spatialConfig

Devices::SpatialConfig Config::spatialConfig

Definition at line 35 of file Config.h.

◆ teamSpeakConfig

Devices::TeamSpeakConfig Config::teamSpeakConfig

Definition at line 39 of file Config.h.

◆ webcamConfig

Devices::WebcamConfig Config::webcamConfig

Definition at line 42 of file Config.h.

◆ xplaneConfig

Devices::XplaneConfig Config::xplaneConfig

Definition at line 43 of file Config.h.

◆ youTubeConfig

Devices::YouTubeConfig Config::youTubeConfig

Definition at line 41 of file Config.h.


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