TickerSubscriber.h
Go to the documentation of this file.
1 ///
2 /// \file TickerSubscriber.h
3 /// \brief Base class for subscribers to ticker updates
4 /// \version $Id: TickerSubscriber.h,v 1.4 2012-02-04 02:56:25 messier Exp $
5 /// \author messier@indiana.edu
6 ///
7 #ifndef OM_TICKERSUBSCRIBER_H
8 #define OM_TICKERSUBSCRIBER_H
9 #include <cstdlib>
10 
11 namespace om {
13  {
14  public:
15  enum updates_ {
16  kRun = 1<<0,
17  kSubrun = 1<<1,
18  k30sec = 1<<2,
19  k1min = 1<<3,
20  k5min = 1<<4,
21  k10min = 1<<5,
22  k30min = 1<<6,
23  kHour = 1<<7,
24  k24hr = 1<<8,
25  kUTC = 1<<9,
26  kAll = 0xFFFF
27  };
28 
29  public:
30  TickerSubscriber(unsigned int which);
31 
32  virtual void RunTicker() { abort(); }
33  virtual void SubrunTicker() { abort(); }
34  virtual void ThirtySecTicker() { abort(); }
35  virtual void OneMinTicker() { abort(); }
36  virtual void FiveMinTicker() { abort(); }
37  virtual void TenMinTicker() { abort(); }
38  virtual void ThirtyMinTicker() { abort(); }
39  virtual void HourTicker() { abort(); }
40  virtual void TwentyFourHrTicker() { abort(); }
41  };
42 }
43 #endif
44 ////////////////////////////////////////////////////////////////////////
virtual void FiveMinTicker()
virtual void HourTicker()
virtual void OneMinTicker()
virtual void RunTicker()
virtual void TenMinTicker()
virtual void SubrunTicker()
virtual void ThirtySecTicker()
TickerSubscriber(unsigned int which)
virtual void ThirtyMinTicker()
Online Monitoring package header.
virtual void TwentyFourHrTicker()