Commit Graph

13 Commits

Author SHA1 Message Date
Mathew Sutcliffe
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +01:00
Mathew Sutcliffe
e3446d78d8 refs #336 Style and const-correctness. 2014-10-15 01:46:34 +01:00
Mathew Sutcliffe
ce6cdf12a7 refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage. 2014-10-04 22:16:35 +01:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Klaus Basan
d4d121bed5 refs #240, text to status message, used when a text message shall be logged or used in popup windows with status message signature 2014-05-22 22:21:22 +02:00
Klaus Basan
34320ad3e1 refs #140, changed CValueObject classes to tupel concept
Remarks: Changes looking like an added file result from the shift of namespace voice -> audio
2014-03-10 14:48:56 +01:00
Mathew Sutcliffe
2dd72c6d3e refs #104 replaced all remaining hash-based comparisons with the multimethod compare() 2014-02-17 16:37:01 +00:00
Klaus Basan
e60acb25c3 Detect textmessage being a SELCAL call 2014-02-05 23:15:34 +00:00
Mathew Sutcliffe
db4c05dd9f refs #84 removed the CValueObject::compare method and added a friend function BlackMisc::compare to replace it.
The new compare is implemented using "multimethods" described in the book Advanced C++ Programming Styles and Idioms by James Coplien.

First, the isA method is used to determine which of the values being compared is the most general. (For example, CLength is more general than CAltitude.)
Then the compareImpl method is called on the most general value, with the other value as an argument.
If there is not a direct inheritance relation between the two values (or they are the same class) then the comparison is invalid and a assert is triggered.
2014-01-17 01:38:27 +00:00
Mathew Sutcliffe
7f99c6d953 using qSwap in CTextMessage::toggleSenderRecipient 2014-01-14 23:30:20 +00:00
Klaus Basan
43e5e54f22 Added received timestamp. Taken renaming to sender /recipient
one step further. getSender will be used later to return
the real CUser object
2014-01-13 02:30:42 +01:00
Mathew Sutcliffe
784d93139b CTextMessage: fromCallsign and toCallsign become sender and recipient (to and from looked like conversion methods)
refs #81
2014-01-10 00:20:22 +00:00
Klaus Basan
4747b3b484 new value objects for aviation, network, and settings
refs #81
2014-01-08 00:59:39 +00:00