TT CORE SDK
0.1
TT CORE SDK documentation
|
Manages a price subscription. More...
#include <prices.hpp>
Public Member Functions | |
PriceSubscription (void) | |
PriceSubscription default ctor. More... | |
~PriceSubscription (void) noexcept | |
PriceSubscription dtor. More... | |
uint64_t | Id (void) const noexcept |
Unique PriceSubscription ID. More... | |
bool | IsValid (void) const noexcept |
Check if the subscription is valid. More... | |
PriceSubscription (const PriceSubscription &)=delete | |
Non-copyable, move enabled. More... | |
PriceSubscription & | operator= (const PriceSubscription &)=delete |
PriceSubscription (PriceSubscription &&) noexcept | |
PriceSubscription & | operator= (PriceSubscription &&) noexcept |
void | Pause (void) |
PriceSubscription Controls. More... | |
bool | Resume (void) |
void | Cancel (void) |
Filter | GetFilter (void) const noexcept |
PriceSubscription Filter. More... | |
void | SetFilter (const Filter &filter) noexcept |
Overwrites filter. More... | |
void | AddFilter (const Filter &additional_filter) noexcept |
class | PriceLibImpl |
Internal. More... | |
class | InProcessComposerImpl |
class | InProcessUnifierImpl |
class | InProcessPriceTCPImpl |
class | PriceClientTCP |
Manages a price subscription.
Controller for a price subscription. A valid subscription cannot be constructed, but is provided by CreatePriceSubscription.
Definition at line 209 of file prices.hpp.
tt_core_sdk::PriceSubscription::PriceSubscription | ( | void | ) |
PriceSubscription default ctor.
Default contucts an invalid object, allowing use as a member variable to later assign the result from CreatePriceSubscription.
|
noexcept |
PriceSubscription dtor.
Price subscription is closed
|
delete |
Non-copyable, move enabled.
|
noexcept |
|
noexcept |
Appends to existing filter
void tt_core_sdk::PriceSubscription::Cancel | ( | void | ) |
|
noexcept |
PriceSubscription Filter.
Manages the filters for this price subscription. See the Filter details for further information and pre-defined filters.
|
inlinenoexcept |
Unique PriceSubscription ID.
Definition at line 229 of file prices.hpp.
|
noexcept |
Check if the subscription is valid.
Invalid objects result from a failed CreatePriceSubscription request, or objects which have been default constructed.
|
delete |
|
noexcept |
void tt_core_sdk::PriceSubscription::Pause | ( | void | ) |
PriceSubscription Controls.
Pause/Resume controls whether subscription updates are delivered to the listener. Cancelling the subscription removes the listener from the list of observers and can no longer be resumed. Cancelling should only be performed when the subscription is no longer desired.
bool tt_core_sdk::PriceSubscription::Resume | ( | void | ) |
|
noexcept |
Overwrites filter.
|
friend |
Definition at line 259 of file prices.hpp.
|
friend |
Definition at line 261 of file prices.hpp.
|
friend |
Definition at line 260 of file prices.hpp.
|
friend |
Definition at line 262 of file prices.hpp.
|
friend |
Internal.
Definition at line 258 of file prices.hpp.