Avionics
Dropship Simulator
Devices::RakNet Class Reference

#include <RakNet.h>

Collaboration diagram for Devices::RakNet:
[legend]

Public Member Functions

void AsyncEmailSender (std::string subject, std::string body="", int severity=0) const
 
void FrameMove (float)
 
void SendEmail (std::string subject, std::string body="", int severity=0)
 
void Initialize (Logger *, RakNetConfig *, Bus *)
 
 ~RakNet ()
 

Private Member Functions

void RakNetMessageHandlerPeer ()
 
void SendInitialData () const
 

Private Attributes

Loggerlogger = nullptr
 
RakNetConfigconfig = nullptr
 
Busbus = nullptr
 
RakPeerInterface * rak4Peers = nullptr
 
SystemAddress serverC
 
SystemAddress displayC
 
Packet * p = nullptr
 

Detailed Description

Definition at line 30 of file RakNet.h.

Constructor & Destructor Documentation

◆ ~RakNet()

Devices::RakNet::~RakNet ( )

Definition at line 41 of file RakNet.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ AsyncEmailSender()

void Devices::RakNet::AsyncEmailSender ( std::string  subject,
std::string  body = "",
int  severity = 0 
) const

Definition at line 216 of file RakNet.cpp.

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

◆ FrameMove()

void Devices::RakNet::FrameMove ( float  fElapsed)

not all of these need to be updated 4 times a second! GrossWeight is one that definitely can be deferred

need to send yaw damper status (initial and then if it changes) need to send module damage status (initial and then if it changes, vtail, htail, Lwing, Rwing, yawDamper)

Definition at line 53 of file RakNet.cpp.

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

◆ Initialize()

void Devices::RakNet::Initialize ( Logger prmLogger,
RakNetConfig prmConfig,
Bus prmBus 
)

Definition at line 12 of file RakNet.cpp.

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

◆ RakNetMessageHandlerPeer()

void Devices::RakNet::RakNetMessageHandlerPeer ( )
private

forward

Definition at line 141 of file RakNet.cpp.

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

◆ SendEmail()

void Devices::RakNet::SendEmail ( std::string  subject,
std::string  body = "",
int  severity = 0 
)

-2 (Very Low) -1 (Moderate) 0 (Normal) 1 (High) 2 (Emergency)

Definition at line 197 of file RakNet.cpp.

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

◆ SendInitialData()

void Devices::RakNet::SendInitialData ( ) const
private

Definition at line 247 of file RakNet.cpp.

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

Member Data Documentation

◆ bus

Bus* Devices::RakNet::bus = nullptr
private

Definition at line 35 of file RakNet.h.

◆ config

RakNetConfig* Devices::RakNet::config = nullptr
private

Definition at line 34 of file RakNet.h.

◆ displayC

SystemAddress Devices::RakNet::displayC
private

Definition at line 39 of file RakNet.h.

◆ logger

Logger* Devices::RakNet::logger = nullptr
private

Definition at line 33 of file RakNet.h.

◆ p

Packet* Devices::RakNet::p = nullptr
private

Definition at line 40 of file RakNet.h.

◆ rak4Peers

RakPeerInterface* Devices::RakNet::rak4Peers = nullptr
private

Definition at line 37 of file RakNet.h.

◆ serverC

SystemAddress Devices::RakNet::serverC
private

Definition at line 38 of file RakNet.h.


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