OnixS C++ FIX Engine 4.14.0
Users' manual and API documentation
Loading...
Searching...
No Matches
SchedulerThreadingModel Struct Reference

#include <OnixS/FIXEngine/FIX/Scheduling/SessionScheduler.h>

Public Types

enum  Enum

Static Public Member Functions

static ONIXS_FIXENGINE_API const char * toString (SchedulerThreadingModel::Enum value)
static ONIXS_FIXENGINE_API Enum parse (const std::string &fromText)

Detailed Description

Definition at line 99 of file SessionScheduler.h.

Member Enumeration Documentation

◆ Enum

enum Enum
Enumerator
DedicatedThreads 

Scheduler will use its own threads.

ExternalThread 

Scheduler events are handled by rolling an event loop in a user thread.

Definition at line 101 of file SessionScheduler.h.

Member Function Documentation

◆ parse()

ONIXS_FIXENGINE_API Enum parse ( const std::string & fromText)
static

Parses the SchedulerThreadingModel::Enum value from the textual representation.

Exceptions
OnixS::DomainExceptionIf the text is not a known threading model name.

◆ toString()

ONIXS_FIXENGINE_API const char * toString ( SchedulerThreadingModel::Enum value)
static

Returns the textual representation of the SchedulerThreadingModel::Enum value.