Files
spark/src/lib/orderman/orders/queue_holder/QueueHolderOrderState.h
T
2019-02-05 12:14:51 -05:00

21 lines
510 B
C++

#pragma once
namespace bts{
namespace orderman{
enum class QueueHolderOrderState{
// remains here till on_activate is called
START=0,
// once the order is submitted it gets into
// this state until it gets an ack on all
// the sub orders
WAITING_FOR_FIRST_ACK=1,
// all orders are ack'ed, free to accept
// updates
WORKING=2,
// cancel has been sent, wait for all
// sub orders to be in final state
WAITING_FOR_CANCEL_ALL=3,
// final state, no going back
END=4
};
}}