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

#include <mtsSocketProxyClient.h>

Inheritance diagram for mtsSocketProxyClientConstructorArg:
mtsGenericObject cmnGenericObject

Public Member Functions

 mtsSocketProxyClientConstructorArg ()
 mtsSocketProxyClientConstructorArg (const std::string &name, const std::string &ip, short port)
 mtsSocketProxyClientConstructorArg (const mtsSocketProxyClientConstructorArg &other)
 ~mtsSocketProxyClientConstructorArg ()
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

Public Attributes

std::string Name
std::string IP
short Port

Constructor & Destructor Documentation

◆ mtsSocketProxyClientConstructorArg() [1/3]

mtsSocketProxyClientConstructorArg::mtsSocketProxyClientConstructorArg ( )
inline

◆ mtsSocketProxyClientConstructorArg() [2/3]

mtsSocketProxyClientConstructorArg::mtsSocketProxyClientConstructorArg ( const std::string & name,
const std::string & ip,
short port )
inline

◆ mtsSocketProxyClientConstructorArg() [3/3]

mtsSocketProxyClientConstructorArg::mtsSocketProxyClientConstructorArg ( const mtsSocketProxyClientConstructorArg & other)
inline

◆ ~mtsSocketProxyClientConstructorArg()

mtsSocketProxyClientConstructorArg::~mtsSocketProxyClientConstructorArg ( )
inline

Member Function Documentation

◆ DeSerializeRaw()

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

Binary deserialization

Reimplemented from mtsGenericObject.

◆ FromStreamRaw()

bool mtsSocketProxyClientConstructorArg::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.

◆ SerializeRaw()

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

Binary serialization

Reimplemented from mtsGenericObject.

◆ ToStream()

void mtsSocketProxyClientConstructorArg::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 mtsSocketProxyClientConstructorArg::ToStreamRaw ( std::ostream & outputStream,
const char delimiter = ' ',
bool headerOnly = false,
const std::string & headerPrefix = "" ) const
overridevirtual

Raw text output to stream

Reimplemented from mtsGenericObject.

Member Data Documentation

◆ IP

std::string mtsSocketProxyClientConstructorArg::IP

◆ Name

std::string mtsSocketProxyClientConstructorArg::Name

◆ Port

short mtsSocketProxyClientConstructorArg::Port

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