B2BITS FIX Antenna C++  2.29.0
Static Public Member Functions | List of all members
Engine::FixMessages Class Reference

FIX Engine interface. More...

#include <B2BITS_FixMessages.h>

Static Public Member Functions

static void destroy ()
 Destroys the instance of this class. More...
 
static FixMessagesinit (const std::string &propertiesFileName="", const std::string &engineRoot="", const std::string &additionalFields="")
 Initializes the additional fields. More...
 
static FixMessagessingleton ()
 Returns an instance of this class. More...
 

Detailed Description

FIX Engine interface.

Member Function Documentation

◆ destroy()

static void Engine::FixMessages::destroy ( )
static

Destroys the instance of this class.

Note
Must be called after the using of FIX Engine to free the allocated resources.

◆ init()

static FixMessages* Engine::FixMessages::init ( const std::string &  propertiesFileName = "",
const std::string &  engineRoot = "",
const std::string &  additionalFields = "" 
)
static

Initializes the additional fields.

Parameters
propertiesFileNamethe FIX Engine configuration parameters file name. If it is equal to "", then "./engine.properties" is used.
engineRootThe top of the directory tree under which the engine's configuration, and log files are kept. Do NOT add a slash at the end of the directory path. Overrides the value from the properties file. If it is equal to "", then the value from the proterties file is used.
additionalFieldsSpecifies additional messages fields.
Note
Do not use it with init() method.

◆ singleton()

static FixMessages* Engine::FixMessages::singleton ( )
static

Returns an instance of this class.

Returns
pointer to an instance of this class.
See also
init()