|
cisst-saw
|
#include <mtsQtApplication.h>
Public Member Functions | |
| mtsQtApplicationConstructorArg () | |
| mtsQtApplicationConstructorArg (const std::string &name, int argc, char **argv) | |
| mtsQtApplicationConstructorArg (const mtsQtApplicationConstructorArg &other) | |
| virtual | ~mtsQtApplicationConstructorArg () |
| std::string | GetName () const |
| int | GetArgc () const |
| void | GetArgv (char ***argvp) const |
| void | SerializeRaw (std::ostream &outputStream) const override |
| void | DeSerializeRaw (std::istream &inputStream) override |
| void | ToStream (std::ostream &outputStream) const override |
| void | ToStreamRaw (std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const override |
| bool | FromStreamRaw (std::istream &inputStream, const char delimiter=' ') override |
| Public Member Functions inherited from mtsGenericObject | |
| mtsGenericObject (void) | |
| mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid) | |
| mtsGenericObject (const mtsGenericObject &other) | |
| virtual | ~mtsGenericObject (void) |
| mtsGenericObject & | operator= (const mtsGenericObject &other) |
| bool | SetTimestampIfAutomatic (double timestamp) |
| size_t | ScalarNumber (void) const |
| bool | ScalarNumberIsFixed (void) const |
| 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 CISST_THROW(std |
| virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
mtsQtApplication provides a component wrapper for the single QApplication object that must be created when using the Qt toolkit. This component is derived from mtsTaskContinuous, and is set up to use the current (main) thread. The QApplication object is dynamically created in the class constructor, and the Run method calls QApplication::Exec, which does not return.
| mtsQtApplicationConstructorArg::mtsQtApplicationConstructorArg | ( | ) |
| mtsQtApplicationConstructorArg::mtsQtApplicationConstructorArg | ( | const std::string & | name, |
| int | argc, | ||
| char ** | argv ) |
| mtsQtApplicationConstructorArg::mtsQtApplicationConstructorArg | ( | const mtsQtApplicationConstructorArg & | other | ) |
|
virtual |
|
overridevirtual |
Binary deserialization
Reimplemented from mtsGenericObject.
|
overridevirtual |
Read from an unformatted text input (e.g., one created by ToStreamRaw). Returns true if successful.
Reimplemented from mtsGenericObject.
|
inline |
| void mtsQtApplicationConstructorArg::GetArgv | ( | char *** | argvp | ) | const |
|
inline |
|
overridevirtual |
Binary serialization
Reimplemented from mtsGenericObject.
|
overridevirtual |
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.
|
overridevirtual |
Raw text output to stream
Reimplemented from mtsGenericObject.