TT CORE SDK 2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
SynthStatus.h
Go to the documentation of this file.
1/***************************************************************************
2*
3* Unpublished Work Copyright (c) 2019-2020
4* Trading Technologies International, Inc.
5* All Rights Reserved Worldwide
6*
7* * * * S T R I C T L Y P R O P R I E T A R Y * * *
8*
9* WARNING: This program (or document) is unpublished, proprietary property
10* of Trading Technologies International, Inc. and is to be maintained in
11* strict confidence. Unauthorized reproduction, distribution or disclosure
12* of this program (or document), or any program (or document) derived from
13* it is prohibited by State and Federal law, and by local law outside of
14* the U.S.
15*
16****************************************************************************
17*
18* This file is auto generated - do not modify by hand.
19* Run the auto generation against the message template files.
20* Generated from messaging\order\enums.proto
21* Package tt.messaging.order.enums
22*
23***************************************************************************/
24#pragma once
25
26namespace ttsdk
27{
28 enum class SynthStatus
29 {
30 NotSet = -2,
31 Unknown = -1,
32 Starting = 0,
33 Waiting = 1,
35 Working = 3,
36 Paused = 4,
37 Held = 5,
38 Failed = 6,
39 Canceled = 7,
40 Recovering = 8,
41 Finished = 9,
42 Pausing = 10,
43 Stopping = 11,
44 Resuming = 12,
45 RecoveryFailed = 13,
46 Expired = 14,
47 Holding = 15,
48 Unmanaged = 16,
49 PendingCleanup = 17,
50 };
51
52 inline const char* ToString(const SynthStatus value)
53 {
54 switch (value)
55 {
57 return "NotSet";
59 return "Unknown";
61 return "Starting";
63 return "Waiting";
65 return "PendingTrigger";
67 return "Working";
69 return "Paused";
71 return "Held";
73 return "Failed";
75 return "Canceled";
77 return "Recovering";
79 return "Finished";
81 return "Pausing";
83 return "Stopping";
85 return "Resuming";
87 return "RecoveryFailed";
89 return "Expired";
91 return "Holding";
93 return "Unmanaged";
95 return "PendingCleanup";
96 default:
97 return "Unknown";
98 }
99 }
100}
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition connection.h:50
@ NotSet
Definition environment.h:7