MagicSmoke  $VERSION$
MTGetAllHosts Class Reference

returns detailed info about all known (log in/client) hosts More...

#include <srcMTGetAllHosts.h>

Inheritance diagram for MTGetAllHosts:
MTransaction

Public Member Functions

 MTGetAllHosts ()
 default constructor: generates an invalid transaction More...
 
 MTGetAllHosts (const MTGetAllHosts &)
 copy constructor: the two copies share their state More...
 
virtual ~MTGetAllHosts ()
 deletes this instance More...
 
Q_SLOT QList< MOHostgethosts () const
 
MTGetAllHostsoperator= (const MTGetAllHosts &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTGetAllHosts asyncQuery (QString iface="MagicSmoke")
 emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state More...
 
static MTGetAllHosts query (QString iface="MagicSmoke")
 emits the query over the network and returns the finished transaction object More...
 
- Static Public Member Functions inherited from MTransaction
static void setStartStopActions (const MTStartStop &start, const MTStartStop &stop)
 set actions to be executed at start/stop More...
 

Protected Member Functions

 MTGetAllHosts (QString iface)
 generates an instance from its properties More...
 
virtual void endQuery ()
 
- Protected Member Functions inherited from MTransaction
 MTransaction (QString iface=QString())
 internal: construct the transaction More...
 
 MTransaction (const WTransaction &)
 internal: copy the transaction More...
 
 MTransaction (const MTransaction &)
 internal: copy the transaction More...
 
QByteArray executeQuery (QString, QByteArray)
 internal: extend executeQuery to show a wait cursor More...
 

Friends

class MTGetAllHosts_Private
 

Detailed Description

returns detailed info about all known (log in/client) hosts

Constructor & Destructor Documentation

MTGetAllHosts::MTGetAllHosts ( QString  iface)
explicitprotected

generates an instance from its properties

Parameters
ifaceID of the interface that the transaction will be sent on

References MTGetAllHosts_Private.

MTGetAllHosts::MTGetAllHosts ( )

default constructor: generates an invalid transaction

References MTGetAllHosts_Private.

MTGetAllHosts::MTGetAllHosts ( const MTGetAllHosts t)

copy constructor: the two copies share their state

References MTGetAllHosts_Private::attach().

MTGetAllHosts::~MTGetAllHosts ( )
virtual

deletes this instance

References MTGetAllHosts_Private::detach().

Member Function Documentation

MTGetAllHosts MTGetAllHosts::asyncQuery ( QString  iface = "MagicSmoke")
static

emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state

Parameters
ifaceID of the interface that the transaction will be sent on
void MTGetAllHosts::endQuery ( )
protectedvirtual
QList< MOHost > MTGetAllHosts::gethosts ( ) const
MTGetAllHosts & MTGetAllHosts::operator= ( const MTGetAllHosts t)

copy assignment: the copy shares the state of the original object

References MTGetAllHosts_Private::attach(), and MTGetAllHosts_Private::detach().

MTGetAllHosts MTGetAllHosts::query ( QString  iface = "MagicSmoke")
static

emits the query over the network and returns the finished transaction object

Parameters
ifaceID of the interface that the transaction will be sent on

Referenced by MInterface::queryGetAllHosts().

Friends And Related Function Documentation

friend class MTGetAllHosts_Private
friend

Referenced by MTGetAllHosts().


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