Crew Alerting System.
More...
#include <Module.h>
Crew Alerting System.
Definition at line 147 of file Module.h.
◆ Cas()
Cas::Cas |
( |
Bus * |
prmBus, |
|
|
Logger * |
prmLogger, |
|
|
std::vector< Watch > |
watches, |
|
|
float * |
prmCasGetFloatPtr |
|
) |
| |
◆ AcknowledgeAllMessages()
void Cas::AcknowledgeAllMessages |
( |
| ) |
const |
|
private |
◆ AddMessage()
void Cas::AddMessage |
( |
std::wstring |
text, |
|
|
MessageLevel |
level, |
|
|
bool |
sendEmail |
|
) |
| |
|
private |
◆ FrameMove()
void Cas::FrameMove |
( |
float |
fElapsedTime | ) |
|
|
overridevirtual |
depends on EICAS power, we need this to keep running for environmental stuff
we could probably make it wait 2 seconds as long as last frame didn't add/remove anything
rules
auto-ack after 5 seconds
Implements Module.
Definition at line 6 of file CAS.cpp.
◆ IsMessageOnStack()
bool Cas::IsMessageOnStack |
( |
std::wstring |
text, |
|
|
bool |
renew |
|
) |
| const |
|
private |
◆ RemoveMessage()
bool Cas::RemoveMessage |
( |
std::wstring |
text | ) |
const |
|
private |
◆ UnacknowledgeAllMessages()
void Cas::UnacknowledgeAllMessages |
( |
| ) |
|
|
private |
◆ casGetFloatPtr
float* Cas::casGetFloatPtr = nullptr |
|
private |
◆ logger
2 second application start delay
Definition at line 155 of file Module.h.
◆ MessageFlashState
bool Cas::MessageFlashState = false |
|
private |
◆ messages
◆ powered
bool Cas::powered = false |
|
private |
◆ secsincelast
float Cas::secsincelast = -2.0f |
|
private |
◆ secsincereset
float Cas::secsincereset = 0.0f |
|
private |
2 second power up delay
Definition at line 154 of file Module.h.
◆ watches
std::vector<Watch> Cas::watches |
|
private |
The documentation for this class was generated from the following files: