about summary refs log tree commit diff stats
path: root/cadence.h
blob: 408c2582cfcbb0ac7928a6d0167ec43bf84322f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef CADENCE_H_D4AE737D
#define CADENCE_H_D4AE737D

#include <random>
#include <string>
#include <map>
#include <vector>
#include <hkutil/database.h>
#include <twitter.h>

class cadence {
public:

  cadence(
    std::string configFile,
    std::mt19937& rng);

  void run() const;

private:

  std::mt19937& rng_;
  std::map<std::string, std::vector<std::string>> groups_;
  std::unique_ptr<hatkirby::database> database_;
  std::unique_ptr<twitter::client> client_;

};


#endif /* end of include guard: CADENCE_H_D4AE737D */