CARMA C++
TipperAutoUpdateThread.h
Go to the documentation of this file.
1 
11 #ifndef CARMA_TIPPER_TIPPERAUTOUPDATER_H
12 #define CARMA_TIPPER_TIPPERAUTOUPDATER_H
13 
14 // UNIX system related
15 #include <termios.h>
16 
17 #include <string>
18 
19 // CARMA includes
20 #include "carma/util/Program.h"
21 #include "carma/util/Trace.h"
22 #include "log4cpp/Category.hh"
23 
25 
26 
27 
28 namespace carma
29 {
30  namespace tipper
31  {
32  class TipperAutoUpdateThread
33  {
34 
35  public:
36  TipperAutoUpdateThread( TipperControlThread &tipperControl,
37  int update = 300 ); // every 5 minutes
38  static void thread( TipperAutoUpdateThread &This );
39  void run();
40 
41 
42  private:
43  log4cpp::Category &_log;
44  TipperControlThread &_tipperControl;
45  int _update;
46 
47 
48  }; // class TipperAutoUpdateThread
49  } // namespace antenna
50 } // namespace carma
51 
52 ::std::ostream& operator<<( ::std::ostream& os,
53  ::carma::tipper::TipperAutoUpdateThread& tAutoUpdate );
54 
55 #endif // CARMA_TIPPER_TIPPERAUTOUPDATER_H
56 
57 // vim: set expandtab sw=2 ts=2 cindent :
std::ostream & operator<<(::std::ostream &os, const carma::dbms::Table &table)
Interface file for the carma::util::Trace class and related macros.