/usr/include/mamda/MamdaAuctionUpdate.h is in libmamda-dev 2.2.2.1-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | /* $Id$
*
* OpenMAMA: The open middleware agnostic messaging API
* Copyright (C) 2011 NYSE Technologies, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#ifndef MamdaAuctionUpdateH
#define MamdaAuctionUpdateH
#include <mamda/MamdaConfig.h>
#include <mamda/MamdaBasicEvent.h>
#include <mamda/MamdaFieldState.h>
#include <mamda/MamdaUncrossPriceInd.h>
namespace Wombat
{
/**
* MamdaAuctionUpdate is an interface that provides access to the
* currency related fields.
*/
class MAMDAExpDLL MamdaAuctionUpdate : public MamdaBasicEvent
{
public:
/**
* Get the uncross price.
*
* @return uncross price. The indicative or firm auction price .
*/
virtual const MamaPrice& getUncrossPrice() const = 0;
/**
* Get the uncross volume.
*
* @return Ask price. The indicative volume, or the volume turned over in the auction
*/
virtual mama_quantity_t getUncrossVolume() const = 0;
/**
* Get the uncross price Ind.
*
* @return uncross price Ind. Indicates whether the Price and Volume
* is an indicative of the current state of the auction or whether its the (firm) auction price and volume
*/
virtual MamdaUncrossPriceInd getUncrossPriceInd() const = 0;
/**
* Get the auction time.
*
* @return auction time. The indicative or firm auction time .
*/
virtual const MamaDateTime& getAuctionTime() const = 0;
/**
* Get the uncross price fieldState
*
* @return MamdaFieldState. An enumeration representing field state.
*/
virtual MamdaFieldState getUncrossPriceFieldState() const = 0;
/**
* Get the uncross vol fieldState
*
* @return MamdaFieldState. An enumeration representing field state.
*/
virtual MamdaFieldState getUncrossVolumeFieldState() const = 0;
/**
* Get the uncross price ind fieldState
*
* @return MamdaFieldState. An enumeration representing field state.
*/
virtual MamdaFieldState getUncrossPriceIndFieldState() const = 0;
/**
* Get the auction time fieldState
*
* @return MamdaFieldState. An enumeration representing field state.
*/
virtual MamdaFieldState getAuctionTimeFieldState() const = 0;
virtual ~MamdaAuctionUpdate() {};
};
} // namespace
#endif // MamdaAuctionH
|