cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
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
 
void DeSerializeRaw (std::istream &inputStream)
 
void ToStream (std::ostream &outputStream) const
 
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= ' ')
 
- 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)
 
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::StreamBufTypeGetLogMultiplexer (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
 

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::mtsQtApplicationConstructorArg ( )
mtsQtApplicationConstructorArg::mtsQtApplicationConstructorArg ( const std::string &  name,
int  argc,
char **  argv 
)
mtsQtApplicationConstructorArg::mtsQtApplicationConstructorArg ( const mtsQtApplicationConstructorArg other)
virtual mtsQtApplicationConstructorArg::~mtsQtApplicationConstructorArg ( )
virtual

Member Function Documentation

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

Binary deserialization

Reimplemented from mtsGenericObject.

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

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

Reimplemented from mtsGenericObject.

int mtsQtApplicationConstructorArg::GetArgc ( ) const
inline
void mtsQtApplicationConstructorArg::GetArgv ( char ***  argvp) const
std::string mtsQtApplicationConstructorArg::GetName ( void  ) const
inline
void mtsQtApplicationConstructorArg::SerializeRaw ( std::ostream &  outputStream) const
virtual

Binary serialization

Reimplemented from mtsGenericObject.

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

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

Raw text output to stream

Reimplemented from mtsGenericObject.


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