Jeff Thompson | fa30664 | 2013-06-17 15:06:57 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| 2 | /* |
| 3 | * Copyright (c) 2013, Regents of the University of California |
| 4 | * Alexander Afanasyev |
| 5 | * Zhenkai Zhu |
| 6 | * |
| 7 | * BSD license, See the LICENSE file for more information |
| 8 | * |
| 9 | * Author: Zhenkai Zhu <zhenkai@cs.ucla.edu> |
| 10 | * Alexander Afanasyev <alexander.afanasyev@ucla.edu> |
| 11 | */ |
| 12 | |
| 13 | #ifndef INTERVAL_GENERATOR_H |
| 14 | #define INTERVAL_GENERATOR_H |
| 15 | |
| 16 | #include <boost/shared_ptr.hpp> |
| 17 | |
| 18 | using namespace std; |
| 19 | |
| 20 | class IntervalGenerator; |
| 21 | typedef boost::shared_ptr<IntervalGenerator> IntervalGeneratorPtr; |
| 22 | |
| 23 | class IntervalGenerator |
| 24 | { |
| 25 | public: |
| 26 | virtual ~IntervalGenerator () { } |
| 27 | |
| 28 | virtual double |
| 29 | nextInterval() = 0; |
| 30 | }; |
| 31 | |
| 32 | |
| 33 | #endif // INTERVAL_GENERATOR_H |