Apama Capital Markets Foundation  10.7.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
com::softwareag::marketdata::TradePublisher Class Reference

#include <Connectivity_MDPublisher.h>

Inheritance diagram for com::softwareag::marketdata::TradePublisher:
com::softwareag::marketdata::MarketDataPublisher

Public Member Functions

 TradePublisher (void *dataManagerPtr)
 
void SetTradeData (const std::string &subKey, double price, int64_t quantity, const std::string &taker, const std::string &receiver, const std::string &currency)
 
- Public Member Functions inherited from com::softwareag::marketdata::MarketDataPublisher
 MarketDataPublisher (void *dataManagerPtr)
 
void SetExtraParam (const std::string &subKey, const std::string &paramName, const std::string &type, const std::string &value, const std::string &description)
 
void SetExtraParams (const std::string &subKey, const ExtraParamList &extraParamList)
 
void SetExtraParamValue (const std::string &subKey, const std::string &paramName, const std::string &value)
 
void SetExtraParamsValue (const std::string &subKey, const ExtraParamValueList &extraParamValueList)
 
void RemoveExtraParam (const std::string &subKey, const std::string &paramName, bool permanent=false)
 
void RemoveExtraParams (const std::string &subKey, const StringList &paramNames, bool permanent=false)
 

Additional Inherited Members

- Protected Attributes inherited from com::softwareag::marketdata::MarketDataPublisher
void * dataManagerPtr_
 

Detailed Description

Constructor & Destructor Documentation

com::softwareag::marketdata::TradePublisher::TradePublisher ( void *  dataManagerPtr)
inline

TradePublisher constructor

Parameters
dataManagerPtrGeneric void* pointer to take any stream.

Member Function Documentation

void com::softwareag::marketdata::TradePublisher::SetTradeData ( const std::string &  subKey,
double  price,
int64_t  quantity,
const std::string &  taker,
const std::string &  receiver,
const std::string &  currency 
)

Set the Trade Data to send at the next commit.

Parameters
subKeyThe subscription key this Trade Data is for.
priceThe price as an AP_float64 for this trade.
quantityThe quantity as a AP_int64 for this trade.
takerThe taker as a const char* for this trade.
receiverThe receiver as a const char* for this trade.
currencyThe currency as a const char* for this trade.

The documentation for this class was generated from the following file: