![](/media/cache/profiles/ba5be68d3d541f2ca043d77fc54fe702.jpg.50x50_q85.jpg)
3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Diff: MessageLogger/MessageLogger.h
- Revision:
- 75:b44645bbf2d2
- Parent:
- 74:749727490f44
- Child:
- 76:ee1f132e5744
--- a/MessageLogger/MessageLogger.h Mon Apr 24 13:15:51 2017 +0000 +++ b/MessageLogger/MessageLogger.h Tue Apr 25 16:06:35 2017 +0000 @@ -8,19 +8,22 @@ { public: // constructor - MessageLogger(Thread* logger); + MessageLogger(); // public methods: void SendError(string errorMessage); void SendMessage(string message); bool GetError(); bool GetMessage(); + void SetThread(Thread* logger); private: - Thread loggingThread; + Thread* loggingThread; ostringstream fatalError; Mail<ostringstream, 16> message_mail; int messageCount; + bool hasError; + osStatus stat; void PrintError(); void PrintMessage();