VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Slots | Protected Attributes
makVrv::DtSlaveConnectionWidget Class Reference

The Widget class for. More...

Inheritance diagram for makVrv::DtSlaveConnectionWidget:
Inheritance graph
[legend]

Public Member Functions

 DtSlaveConnectionWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Dialog|Qt::SubWindow)
 CTOR.
virtual ~DtSlaveConnectionWidget ()
 Remote connection widget.
virtual DtSlaveConnectionLogiclogic ()
 Return logic.
virtual const std::string & serverAddress () const
 Get the server address NOTE: returns a static reference, non-reentrant.
virtual void setServerAddress (const std::string &address)
 Set the server address.
virtual int serverPort () const
 Get the server port.
virtual void setServerPort (int port)
 Set the server port.
virtual void setConnectionState (bool connected)
 Set the connection state.
virtual bool connectionState () const
 Get the connection state the widget is set to be in.
virtual void onActivate ()
virtual void onDeactivate ()
virtual void onConnecting ()
 Make the widget aware that the IG is connecting.
virtual void onConnected ()
 Make the interface aware that the IG was able to connect to the Slave.
virtual void onUnableToConnect ()
 Make the interface aware that the IG was unable to connect to the Slave.

Protected Slots

virtual void on_myConnectButton_clicked ()
virtual void on_myDefaultPortButton_clicked ()
virtual void on_myCancelButton_clicked ()

Protected Attributes

bool myConnectionStatus
DtSlaveConnectionLogicmyLogic
QProgressDialog * myProgressDialog

Detailed Description

The Widget class for.

Constructor & Destructor Documentation

makVrv::DtSlaveConnectionWidget::DtSlaveConnectionWidget ( DtDe de,
QWidget parent = 0,
Qt::WindowFlags  f = Qt::Dialog|Qt::SubWindow 
)

CTOR.

virtual makVrv::DtSlaveConnectionWidget::~DtSlaveConnectionWidget ( )
virtual

Remote connection widget.

Member Function Documentation

virtual DtSlaveConnectionLogic* makVrv::DtSlaveConnectionWidget::logic ( )
virtual

Return logic.

virtual const std::string& makVrv::DtSlaveConnectionWidget::serverAddress ( ) const
virtual

Get the server address NOTE: returns a static reference, non-reentrant.

Implements makVrv::DtSlaveConnectionInterface.

virtual void makVrv::DtSlaveConnectionWidget::setServerAddress ( const std::string &  address)
virtual

Set the server address.

Implements makVrv::DtSlaveConnectionInterface.

virtual int makVrv::DtSlaveConnectionWidget::serverPort ( ) const
virtual

Get the server port.

Implements makVrv::DtSlaveConnectionInterface.

virtual void makVrv::DtSlaveConnectionWidget::setServerPort ( int  port)
virtual

Set the server port.

Implements makVrv::DtSlaveConnectionInterface.

virtual void makVrv::DtSlaveConnectionWidget::setConnectionState ( bool  connected)
virtual

Set the connection state.

Implements makVrv::DtSlaveConnectionInterface.

virtual bool makVrv::DtSlaveConnectionWidget::connectionState ( ) const
virtual

Get the connection state the widget is set to be in.

Implements makVrv::DtSlaveConnectionInterface.

virtual void makVrv::DtSlaveConnectionWidget::onActivate ( )
virtual
virtual void makVrv::DtSlaveConnectionWidget::onDeactivate ( )
virtual
virtual void makVrv::DtSlaveConnectionWidget::onConnecting ( )
virtual

Make the widget aware that the IG is connecting.

Implements makVrv::DtSlaveConnectionInterface.

virtual void makVrv::DtSlaveConnectionWidget::onConnected ( )
virtual

Make the interface aware that the IG was able to connect to the Slave.

Implements makVrv::DtSlaveConnectionInterface.

virtual void makVrv::DtSlaveConnectionWidget::onUnableToConnect ( )
virtual

Make the interface aware that the IG was unable to connect to the Slave.

Implements makVrv::DtSlaveConnectionInterface.

virtual void makVrv::DtSlaveConnectionWidget::on_myConnectButton_clicked ( )
protectedvirtualslot
virtual void makVrv::DtSlaveConnectionWidget::on_myDefaultPortButton_clicked ( )
protectedvirtualslot
virtual void makVrv::DtSlaveConnectionWidget::on_myCancelButton_clicked ( )
protectedvirtualslot

Member Data Documentation

bool makVrv::DtSlaveConnectionWidget::myConnectionStatus
protected
DtSlaveConnectionLogic* makVrv::DtSlaveConnectionWidget::myLogic
protected
QProgressDialog* makVrv::DtSlaveConnectionWidget::myProgressDialog
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)