BGC Tools
|
Public Member Functions | |
Protocol () | |
Protocol (string name) | |
Protocol (int id) | |
void | Add (Session session) |
void | AddRange (IEnumerable< Session > sessions) |
Static Public Member Functions | |
static void | HardClear () |
Data Fields | |
readonly int | id |
string | name |
List< SessionID > | sessions |
JsonObject | envVals |
int | Count => sessions.Count |
Session | this[int i] => sessions[i].Session |
Private Member Functions | |
IEnumerator< SessionID > IEnumerable< SessionID >. | GetEnumerator () |
IEnumerator IEnumerable. | GetEnumerator () |
Static Private Attributes | |
static int | nextProtocolID = 1 |
Definition at line 9 of file Protocol.cs.
|
inline |
Definition at line 19 of file Protocol.cs.
References BGC.Study.ProtocolManager.protocolDictionary.
|
inline |
Definition at line 29 of file Protocol.cs.
|
inline |
Definition at line 36 of file Protocol.cs.
void BGC.Study.Protocol.Add | ( | Session | session | ) |
|
inline |
Definition at line 54 of file Protocol.cs.
|
private |
|
private |
|
inlinestatic |
Definition at line 62 of file Protocol.cs.
Referenced by BGC.Study.ProtocolManager.HardClearAll().
int BGC.Study.Protocol.Count => sessions.Count |
Definition at line 48 of file Protocol.cs.
Referenced by BGC.Study.ProtocolManager.SetSession().
JsonObject BGC.Study.Protocol.envVals |
Definition at line 16 of file Protocol.cs.
Referenced by BGC.Study.ProtocolManager.GetEnvValue(), and BGC.Study.ProtocolManager.SerializeProtocols().
readonly int BGC.Study.Protocol.id |
Definition at line 12 of file Protocol.cs.
Referenced by BGC.Study.ProtocolID.ProtocolID(), BGC.Study.ProtocolManager.SerializeProtocols(), and BGC.Study.ProtocolManager.SetSession().
string BGC.Study.Protocol.name |
Definition at line 14 of file Protocol.cs.
Referenced by BGC.Study.ProtocolManager.SerializeProtocols().
|
staticprivate |
Definition at line 11 of file Protocol.cs.
List<SessionID> BGC.Study.Protocol.sessions |
Definition at line 15 of file Protocol.cs.
Referenced by BGC.Study.ProtocolManager.SerializeProtocols().
Definition at line 50 of file Protocol.cs.