![]() |
Libannhoo_md_sdk
1.6.1
for index, tick(entrust and trade), and snapshot with solar flare
|
Inheritance from IAHMdSpi. More...
Public Member Functions | |
| SubscribeAndPrint () | |
| Constucts a SubscribeAndPrint. | |
| virtual | ~SubscribeAndPrint () |
| Frees the SubscribeAndPrint object. | |
| SubscribeAndPrint (const SubscribeAndPrint &r)=delete | |
| Delete constucts SubscribeAndPrint. | |
| SubscribeAndPrint (SubscribeAndPrint &&r)=delete | |
| Delete move constucts SubscribeAndPrint. | |
| SubscribeAndPrint & | operator= (const SubscribeAndPrint &r)=delete |
| Delete opertor SubscribeAndPrint. | |
| SubscribeAndPrint & | operator= (SubscribeAndPrint &&r)=delete |
| Delete move opertor SubscribeAndPrint. | |
| virtual void | OnIndexCB (AHIndex *index) override |
| Callback for AHIndex. More... | |
| virtual void | OnTickCB (AHTick *tick, uint16_t type) override |
| Callback for AHTick. More... | |
| virtual void | OnSnapshotCB (AHSnapshot *snapshot) override |
| Callback for AHSnapshot. More... | |
| void | PrintIndex (AHIndex *index) |
| Callback for AHIndex print. More... | |
| void | PrintEntrus (AHTick *entrust) |
| Callback for AHTick SZ print. More... | |
| void | PrintTrade (AHTick *trade) |
| Callback for AHTrade print. More... | |
| void | PrintSnapshot (AHSnapshot *snapshot) |
| Callback for AHSnapshot print. More... | |
| void | Reset (void) |
| Reset all count to zero. | |
| void | Pause (void) |
| Pause callback(empty callback). | |
| void | Resume (void) |
| Continue callback. | |
Public Member Functions inherited from annhoo::IAHMdSpi | |
| IAHMdSpi () | |
| Constucts a IAHMdSpi. | |
| virtual | ~IAHMdSpi () |
| Frees the IAHMdSpi object. | |
Inheritance from IAHMdSpi.
Should implement four base methods: OnIndexCB, OnTickCB, and OnSnapshotCB
Definition at line 28 of file subscribe.cpp.
|
inlineoverridevirtual |
Callback for AHIndex.
| [in] | index | Index pointer |
Implements annhoo::IAHMdSpi.
Definition at line 67 of file subscribe.cpp.
|
inlineoverridevirtual |
Callback for AHSnapshot.
| [in] | snapshot | Snapshot pointer |
Implements annhoo::IAHMdSpi.
Definition at line 91 of file subscribe.cpp.
|
inlineoverridevirtual |
Callback for AHTick.
| [in] | tick | AHTick pointer |
Implements annhoo::IAHMdSpi.
Definition at line 77 of file subscribe.cpp.
|
inline |
Callback for AHTick SZ print.
| [in] | entrust | Enturst pointer |
Definition at line 151 of file subscribe.cpp.
|
inline |
Callback for AHIndex print.
| [in] | index | Index pointer |
Definition at line 102 of file subscribe.cpp.
|
inline |
Callback for AHSnapshot print.
| [in] | snapshot | Snapshot pointer |
Definition at line 238 of file subscribe.cpp.
|
inline |
Callback for AHTrade print.
| [in] | trade | Trade pointer |
Definition at line 194 of file subscribe.cpp.