![]() |
Avionics
Dropship Simulator
|
#include <Virtualization.h>
Public Member Functions | |
Virtualization (Logger *prmLogger, Bus *prmBus) | |
~Virtualization () | |
void | FrameMove (double fTime) |
Connector * | FindConnectorByGuid (GUID guid) |
Component * | FindComponentByGuid (GUID guid) const |
void | Initialize () |
void | LoadFile () |
void | SaveFile () |
Private Member Functions | |
Virtualization () | |
Private Attributes | |
Bus * | bus |
Logger * | logger |
std::vector< Connector > | connectors |
float | filever2 = 0.0f |
UINT | currentComponent = 0 |
UINT | currentConnector = 0 |
bool | doComponent = false |
Definition at line 7 of file Virtualization.h.
|
private |
Systems::Virtualization::~Virtualization | ( | ) |
Definition at line 17 of file Virtualization.cpp.
Component * Systems::Virtualization::FindComponentByGuid | ( | GUID | guid | ) | const |
Connector * Systems::Virtualization::FindConnectorByGuid | ( | GUID | guid | ) |
void Systems::Virtualization::FrameMove | ( | double | fTime | ) |
void Systems::Virtualization::Initialize | ( | ) |
Definition at line 73 of file Virtualization.cpp.
void Systems::Virtualization::LoadFile | ( | ) |
components
components
ComponentInfo
ComponentInfo
probably should do in the .CMP file itself
DEPENDENCIES
Definition at line 149 of file Virtualization.cpp.
void Systems::Virtualization::SaveFile | ( | ) |
components
components
ComponentInfo
ComponentInfo
http://stackoverflow.com/questions/12147352/format-specifier-for-scanning-long-unsigned-int
DEPENDENCIES
Definition at line 459 of file Virtualization.cpp.
|
private |
loads components and connectors from file (done) holds components and connectors and manages memory (done) cycles through them at intervals to move fluid/current (done)
determine failures
damage control
apply states from command stream
push sensor values to bus?
push state changes to command stream?
Definition at line 19 of file Virtualization.h.
|
private |
Definition at line 21 of file Virtualization.h.
|
private |
Definition at line 25 of file Virtualization.h.
|
private |
Definition at line 26 of file Virtualization.h.
|
private |
Definition at line 27 of file Virtualization.h.
|
private |
Definition at line 23 of file Virtualization.h.
|
private |
Definition at line 20 of file Virtualization.h.