MagicSmoke
$VERSION$
|
returns all orders that match a specific list of events More...
#include <srcMTGetOrdersByEvents.h>
Public Member Functions | |
MTGetOrdersByEvents () | |
default constructor: generates an invalid transaction More... | |
MTGetOrdersByEvents (const MTGetOrdersByEvents &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetOrdersByEvents () |
deletes this instance More... | |
Q_SLOT QList< MOCustomerInfo > | getcustomers () const |
Q_SLOT QList< MOOrderInfo > | getorders () const |
MTGetOrdersByEvents & | operator= (const MTGetOrdersByEvents &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetOrdersByEvents | asyncQuery (const QList< qint64 > &aevents, const qint64 &aoldest, 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 MTGetOrdersByEvents | query (const QList< qint64 > &aevents, const qint64 &aoldest, 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 | |
MTGetOrdersByEvents (const QList< qint64 > &aevents, const qint64 &aoldest, 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 | MTGetOrdersByEvents_Private |
returns all orders that match a specific list of events
|
explicitprotected |
generates an instance from its properties
aevents | list of event ids to select |
aoldest | unix timestamp for the oldest order to be returned (compared with ordertime) |
iface | ID of the interface that the transaction will be sent on |
References MTGetOrdersByEvents_Private::in_events, MTGetOrdersByEvents_Private::in_oldest, and MTGetOrdersByEvents_Private.
MTGetOrdersByEvents::MTGetOrdersByEvents | ( | ) |
default constructor: generates an invalid transaction
References MTGetOrdersByEvents_Private.
MTGetOrdersByEvents::MTGetOrdersByEvents | ( | const MTGetOrdersByEvents & | t | ) |
copy constructor: the two copies share their state
References MTGetOrdersByEvents_Private::attach().
|
virtual |
deletes this instance
References MTGetOrdersByEvents_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
aevents | list of event ids to select |
aoldest | unix timestamp for the oldest order to be returned (compared with ordertime) |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
QList< MOCustomerInfo > MTGetOrdersByEvents::getcustomers | ( | ) | const |
References MTGetOrdersByEvents_Private::out_customers.
QList< MOOrderInfo > MTGetOrdersByEvents::getorders | ( | ) | const |
References MTGetOrdersByEvents_Private::out_orders.
MTGetOrdersByEvents & MTGetOrdersByEvents::operator= | ( | const MTGetOrdersByEvents & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetOrdersByEvents_Private::attach(), and MTGetOrdersByEvents_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
aevents | list of event ids to select |
aoldest | unix timestamp for the oldest order to be returned (compared with ordertime) |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetOrdersByEvents().
|
friend |
Referenced by MTGetOrdersByEvents().