Static Public Member Functions

Engine::FixMessages Class Reference

FIX Engine interface. More...

#include <B2BITS_FixMessages.h>

Collaboration diagram for Engine::FixMessages:

List of all members.

Static Public Member Functions

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

Detailed Description

FIX Engine interface.

Definition at line 67 of file B2BITS_FixMessages.h.


Member Function Documentation

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.
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.
static FixMessages* Engine::FixMessages::singleton (  ) [static]

Returns an instance of this class.

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