Bites
A small library of miscellaneous C++ codes.
 All Classes Namespaces Functions Friends Pages
RateTicker.hpp
1 #ifndef BITES_RATETICKER_HPP_INCLUDED
2 #define BITES_RATETICKER_HPP_INCLUDED
3 
4 #include <vector>
5 #include <boost/date_time.hpp>
6 #include "SortedList.hpp"
7 
8 namespace bites {
9 
14 {
15 public:
21  RateTicker(const std::vector<float>& periods);
22 
29  std::vector<float> tick();
30 private:
31  std::vector<float> m_periods;
33 };
34 
35 } // namespace bites.
36 
37 #endif // BITES_RATETICKER_HPP_INCLUDED
RateTicker(const std::vector< float > &periods)
Definition: RateTicker.cpp:13
Definition: RateTicker.hpp:13
std::vector< float > tick()
Definition: RateTicker.cpp:24