MagicSmoke
$VERSION$
|
Returns the event plus all orders concerning it. More...
#include <srcMTGetEventSummary.h>
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< MOEvent > | getevent () const |
Q_SLOT QList< MOOrder > | getorders () const |
MTGetEventSummary & | operator= (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 |
Returns the event plus all orders concerning it.
|
explicitprotected |
generates an instance from its properties
aeventid | |
iface | ID 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().
|
virtual |
deletes this instance
References MTGetEventSummary_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
aeventid | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOEvent > MTGetEventSummary::getevent | ( | ) | const |
References MTGetEventSummary_Private::out_event.
QList< MOOrder > MTGetEventSummary::getorders | ( | ) | const |
References MTGetEventSummary_Private::out_orders.
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().
|
static |
emits the query over the network and returns the finished transaction object
aeventid | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetEventSummary().
|
friend |
Referenced by MTGetEventSummary().