MagicSmoke  $VERSION$
MTGetEventSummary Class Reference

Returns the event plus all orders concerning it. More...

#include <srcMTGetEventSummary.h>

Inheritance diagram for MTGetEventSummary:
MTransaction

Public Member Functions

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

Static Public Member Functions

static MTGetEventSummary asyncQuery (const qint64 &aeventid, 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 MTGetEventSummary query (const qint64 &aeventid, 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

 MTGetEventSummary (const qint64 &aeventid, 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 MTGetEventSummary_Private
 

Detailed Description

Returns the event plus all orders concerning it.

Constructor & Destructor Documentation

MTGetEventSummary::MTGetEventSummary ( const qint64 &  aeventid,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

References MTGetEventSummary_Private::in_eventid, and MTGetEventSummary_Private.

MTGetEventSummary::MTGetEventSummary ( )

default constructor: generates an invalid transaction

References MTGetEventSummary_Private.

MTGetEventSummary::MTGetEventSummary ( const MTGetEventSummary t)

copy constructor: the two copies share their state

References MTGetEventSummary_Private::attach().

MTGetEventSummary::~MTGetEventSummary ( )
virtual

deletes this instance

References MTGetEventSummary_Private::detach().

Member Function Documentation

MTGetEventSummary MTGetEventSummary::asyncQuery ( const qint64 &  aeventid,
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
aeventid
ifaceID of the interface that the transaction will be sent on
void MTGetEventSummary::endQuery ( )
protectedvirtual
Nullable< MOEvent > MTGetEventSummary::getevent ( ) const
QList< MOOrder > MTGetEventSummary::getorders ( ) const
MTGetEventSummary & MTGetEventSummary::operator= ( const MTGetEventSummary t)

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

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

MTGetEventSummary MTGetEventSummary::query ( const qint64 &  aeventid,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MInterface::queryGetEventSummary().

Friends And Related Function Documentation

friend class MTGetEventSummary_Private
friend

Referenced by MTGetEventSummary().


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