Avionics
Dropship Simulator
Virtualization.h
Go to the documentation of this file.
1
#include "
Component.h
"
3
#include "
Bus.h
"
4
5
namespace
Systems
6
{
7
class
Virtualization
8
{
17
18
private
:
19
Bus
*
bus
;
20
Logger
*
logger
;
21
std::vector<Connector>
connectors
;
22
Virtualization
();
23
float
filever2
= 0.0f;
// for file integrity
24
25
UINT
currentComponent
= 0;
26
UINT
currentConnector
= 0;
27
bool
doComponent
=
false
;
28
29
public
:
30
Virtualization
(
Logger
* prmLogger,
Bus
* prmBus);
31
~Virtualization
();
32
void
FrameMove
(
double
fTime);
33
Connector
*
FindConnectorByGuid
(GUID guid);
34
Component
*
FindComponentByGuid
(GUID guid)
const
;
35
void
Initialize
();
36
void
LoadFile
();
37
void
SaveFile
();
38
};
39
}
Systems::Virtualization::~Virtualization
~Virtualization()
Definition:
Virtualization.cpp:17
Systems::Virtualization::currentComponent
UINT currentComponent
Definition:
Virtualization.h:25
Systems::Virtualization::filever2
float filever2
Definition:
Virtualization.h:23
Systems::Virtualization::FindConnectorByGuid
Connector * FindConnectorByGuid(GUID guid)
Definition:
Virtualization.cpp:53
Systems::Virtualization::doComponent
bool doComponent
Definition:
Virtualization.h:27
Logger
Definition:
Logger.h:5
Systems::Virtualization::Virtualization
Virtualization()
Systems
These have to be in this order.
Definition:
BaseComponent.h:12
Systems::Connector
Definition:
Connector.h:8
Systems::Virtualization::Initialize
void Initialize()
Definition:
Virtualization.cpp:73
Systems::Virtualization::logger
Logger * logger
Definition:
Virtualization.h:20
Systems::Virtualization::currentConnector
UINT currentConnector
Definition:
Virtualization.h:26
Systems::Virtualization::bus
Bus * bus
Definition:
Virtualization.h:19
Bus.h
Bus
Definition:
Bus.h:12
Systems::Component
Definition:
Component.h:9
Component.h
Systems::Virtualization
Definition:
Virtualization.h:7
Systems::Virtualization::FrameMove
void FrameMove(double fTime)
Definition:
Virtualization.cpp:30
Systems::Virtualization::FindComponentByGuid
Component * FindComponentByGuid(GUID guid) const
Definition:
Virtualization.cpp:63
Systems::Virtualization::connectors
std::vector< Connector > connectors
Definition:
Virtualization.h:21
Systems::Virtualization::LoadFile
void LoadFile()
Definition:
Virtualization.cpp:149
Systems::Virtualization::SaveFile
void SaveFile()
Definition:
Virtualization.cpp:459
Virtualization.h
Generated on Sat Feb 13 2021 09:30:44 for Avionics by
1.8.14