EPAM B2BITS ICE Impact Handler C++  1.1.4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
IceImpact::InstrumentLoadParams Struct Reference

#include <B2BITS_IceImpactApplication.h>

Public Member Functions

 InstrumentLoadParams ()
 

Public Attributes

std::string filename
 
bool loadFromDisk
 
bool storeToDisk
 
bool requestMissingInstrByTCP
 
bool addToOperationalProductDirectory
 
bool storeFromOperationalProductDirectory
 

Detailed Description

InstrumentLoadParams structure instructs the requestProductDefinitions() API call how to use the instrument definition cache file

Constructor & Destructor Documentation

IceImpact::InstrumentLoadParams::InstrumentLoadParams ( )
inline

Member Data Documentation

bool IceImpact::InstrumentLoadParams::addToOperationalProductDirectory

Instructs the requestProductDefinitions() function to add the loaded instrument definitions to the operational product directory kept in memory. Set this parameter to false, if the only intent of calling requestProductDefinitions() is to to store downloaded instruments in a file. Default value: true

std::string IceImpact::InstrumentLoadParams::filename

Path to the instrument definition file Default value: "ice_instruments.xml"

bool IceImpact::InstrumentLoadParams::loadFromDisk

Instructs the requestProductDefinitions() function to load instrument definitions from file Default value: true

bool IceImpact::InstrumentLoadParams::requestMissingInstrByTCP

Instructs the requestProductDefinitions() function to query ICE exchange for instrument definitions which are missing in the file. Default value: true

bool IceImpact::InstrumentLoadParams::storeFromOperationalProductDirectory

Instructs the requestProductDefinitions() function to store the loaded instrument definitions from the operational product directory kept in memory instead of loaded cached directory updated with just requested data. This parameter is in power if only storeToDisk is true and addToOperationalProductDirectory is true as well. Default value: true

bool IceImpact::InstrumentLoadParams::storeToDisk

Instructs the requestProductDefinitions() function to store instrument definitions in the file Default value: true