|
cisst-saw
|
#include <mtsParameterTypesOld.h>
Public Types | |
| enum | { MAX_LOG_SIZE = 1024 } |
Public Member Functions | |
| mtsLogMessage () | |
| mtsLogMessage (const mtsLogMessage &other) | |
| mtsLogMessage (const char *log, size_t len) | |
| ~mtsLogMessage () | |
| void | ToStream (std::ostream &outputStream) const |
| void | SerializeRaw (std::ostream &outputStream) const |
| void | DeSerializeRaw (std::istream &inputStream) |
Public Member Functions inherited from mtsGenericObject | |
| mtsGenericObject (void) | |
| mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid) | |
| mtsGenericObject (const mtsGenericObject &other) | |
| virtual | ~mtsGenericObject (void) |
| bool | SetTimestampIfAutomatic (double timestamp) |
| virtual void | ToStreamRaw (std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const |
| virtual bool | FromStreamRaw (std::istream &inputStream, const char delimiter= ' ') |
| size_t | ScalarNumber (void) const |
| bool | ScalarNumberIsFixed (void) const |
| double | Scalar (const size_t index) const throw (std::out_of_range) |
| std::string | ScalarDescription (const size_t index, const std::string &userDescription="") const throw (std::out_of_range) |
Public Member Functions inherited from cmnGenericObject | |
| virtual | ~cmnGenericObject (void) |
| virtual const cmnClassServicesBase * | Services (void) const =0 |
| bool | ReconstructFrom (const cmnGenericObject &other) |
| std::string | ToString (void) const |
| virtual cmnLogger::StreamBufType * | GetLogMultiplexer (void) const |
| virtual double | Scalar (const size_t CMN_UNUSED(index)) const throw (std::out_of_range) |
| virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
Public Attributes | |
| size_t | Length |
| char | Message [MAX_LOG_SIZE] |
| std::string | ProcessName |
| mtsLogMessage::mtsLogMessage | ( | ) |
Default constructor
| mtsLogMessage::mtsLogMessage | ( | const mtsLogMessage & | other | ) |
Copy constructor
| mtsLogMessage::mtsLogMessage | ( | const char * | log, |
| size_t | len | ||
| ) |
Constructor
|
inline |
Destructor
|
virtual |
Binary deserialization
Reimplemented from mtsGenericObject.
|
virtual |
Binary serialization
Reimplemented from mtsGenericObject.
|
virtual |
Human readable text output. This method only streams the data members of mtsGenericObject, i.e. the Timestamp and Valid flag. It should be called by any derived class re-implementing ToStream.
Reimplemented from mtsGenericObject.
| size_t mtsLogMessage::Length |
| char mtsLogMessage::Message[MAX_LOG_SIZE] |
| std::string mtsLogMessage::ProcessName |
1.8.6