cisst-saw
Loading...
Searching...
No Matches
mtsQtApplicationConstructorArg Class Reference

#include <mtsQtApplication.h>

Inheritance diagram for mtsQtApplicationConstructorArg:
mtsGenericObject cmnGenericObject

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)
mtsGenericObjectoperator= (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 cmnClassServicesBaseServices (void) const =0
bool ReconstructFrom (const cmnGenericObject &other)
std::string ToString (void) const
virtual cmnLogger::StreamBufTypeGetLogMultiplexer (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

Detailed Description

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.

Constructor & Destructor Documentation

◆ mtsQtApplicationConstructorArg() [1/3]

mtsQtApplicationConstructorArg::mtsQtApplicationConstructorArg ( )

◆ mtsQtApplicationConstructorArg() [2/3]

mtsQtApplicationConstructorArg::mtsQtApplicationConstructorArg ( const std::string & name,
int argc,
char ** argv )

◆ mtsQtApplicationConstructorArg() [3/3]

mtsQtApplicationConstructorArg::mtsQtApplicationConstructorArg ( const mtsQtApplicationConstructorArg & other)

◆ ~mtsQtApplicationConstructorArg()

virtual mtsQtApplicationConstructorArg::~mtsQtApplicationConstructorArg ( )
virtual

Member Function Documentation

◆ DeSerializeRaw()

void mtsQtApplicationConstructorArg::DeSerializeRaw ( std::istream & inputStream)
overridevirtual

Binary deserialization

Reimplemented from mtsGenericObject.

◆ FromStreamRaw()

bool mtsQtApplicationConstructorArg::FromStreamRaw ( std::istream & inputStream,
const char delimiter = ' ' )
overridevirtual

Read from an unformatted text input (e.g., one created by ToStreamRaw). Returns true if successful.

Reimplemented from mtsGenericObject.

◆ GetArgc()

int mtsQtApplicationConstructorArg::GetArgc ( ) const
inline

◆ GetArgv()

void mtsQtApplicationConstructorArg::GetArgv ( char *** argvp) const

◆ GetName()

std::string mtsQtApplicationConstructorArg::GetName ( ) const
inline

◆ SerializeRaw()

void mtsQtApplicationConstructorArg::SerializeRaw ( std::ostream & outputStream) const
overridevirtual

Binary serialization

Reimplemented from mtsGenericObject.

◆ ToStream()

void mtsQtApplicationConstructorArg::ToStream ( std::ostream & outputStream) const
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.

◆ ToStreamRaw()

void mtsQtApplicationConstructorArg::ToStreamRaw ( std::ostream & outputStream,
const char delimiter = ' ',
bool headerOnly = false,
const std::string & headerPrefix = "" ) const
overridevirtual

Raw text output to stream

Reimplemented from mtsGenericObject.


The documentation for this class was generated from the following file: