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 ( )

Destroys the instance of this class.

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 = "" 

Initializes the additional fields.

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.
Do not use it with init() method.

◆ singleton()

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

Returns an instance of this class.

pointer to an instance of this class.
See also