FACT++
1.0
|
void MessageImp::StateChanged | ( | const Time & | time, |
const std::string & | server, | ||
const std::string & | msg, | ||
int | state | ||
) |
This is a special write function formatting a string when the state of a state machine has changed.
If the state is <-1 nothing is done.
Calls the virtual function IndicateStateChange
time | The time assigned to the message |
server | The server name which is emitting the state change |
msg | The message text |
state | The new state of the system |
Definition at line 64 of file MessageImp.cc.
References IndicateStateChange(), kInfo, and Write().
Referenced by IndicateStateChange(), and StateClient::infoHandler().