Changeset 6067 in ntrip for trunk/BNC/src/PPP_free/pppClient.h
- Timestamp:
- Sep 7, 2014, 10:10:02 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/pppClient.h
r6051 r6067 7 7 #include "ephemeris.h" 8 8 #include "pppOptions.h" 9 10 class bncAntex; 9 #include "bncpppclient.h" 11 10 12 11 namespace BNC_PPP { … … 23 22 void processEpoch(const std::vector<t_satObs*>& satObs, t_output* output); 24 23 24 static t_pppClient* instance(); 25 25 std::ostringstream& log() {return *_log;} 26 const t_pppOptions* opt() const {return _opt;}27 28 static t_pppClient* instance();29 26 30 27 private: 31 std::ostringstream* _log; 32 t_pppOptions* _opt; 28 std::ostringstream* _log; 29 t_pppOptions* _opt; 30 bncPPPclient* _client; 33 31 }; 34 32 35 33 }; // namespace BNC_PPP 36 34 37 #define PPP_CLIENT (BNC_PPP::t_pppClient::instance()) 38 #define LOG (BNC_PPP::t_pppClient::instance()->log()) 39 #define OPT (BNC_PPP::t_pppClient::instance()->opt()) 35 #define LOG (BNC_PPP::t_pppClient::instance()->log()) 40 36 41 37 #endif
Note:
See TracChangeset
for help on using the changeset viewer.