ADD: added new version of Orders and a first use in the entity base class
This commit is contained in:
@@ -16,26 +16,25 @@ namespace Orders
|
||||
class Order
|
||||
{
|
||||
public:
|
||||
Order(const SimCore::Identifier id,const SimCore::Identifier orderingEntity,const SimCore::Identifier orderedEntity,const WHISPER::SourceType srcType, const Orders::OrderType OrderType_);
|
||||
Order(const SimCore::Identifier OwnID,const WHISPER::SourceType srcType, const Orders::OrderType OrderType_);
|
||||
|
||||
|
||||
const SimCore::Identifier getOrderID();
|
||||
const SimCore::Identifier getOrderingEntity();
|
||||
const SimCore::Identifier getOrderedEntity();
|
||||
const SimCore::Identifier getOwnID();
|
||||
|
||||
const WHISPER::SourceType srcType;
|
||||
|
||||
const Orders::OrderType getOrderType();
|
||||
|
||||
|
||||
protected:
|
||||
virtual WHISPER::Message buildMessage(SimCore::Identifier parentID) = 0;
|
||||
virtual WHISPER::Message buildMessage() = 0;
|
||||
|
||||
|
||||
|
||||
private:
|
||||
const SimCore::Identifier orderID_;
|
||||
const SimCore::Identifier orderingEntity_;
|
||||
const SimCore::Identifier orderedEntity_;
|
||||
const SimCore::Identifier OwnID_;
|
||||
const Orders::OrderType OrderType_;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user