BALL 1.5.0
snapshotManagerInterface.h
Go to the documentation of this file.
1#ifndef BALL_VIEW_KERNEL_SNAPSHOT_MANAGER_INTERFACE_H
2#define BALL_VIEW_KERNEL_SNAPSHOT_MANAGER_INTERFACE_H
3
5
6#include <vector>
7#include <deque>
8
9namespace BALL
10{
11 class String;
12
13 namespace VIEW
14 {
16 {
17 public:
19 void setup();
20 void takeSnapshot(const String& name);
21 void applySnapshot(unsigned int i);
22
23 void rename(unsigned int i, const String& name);
24
25 protected:
26 unsigned int num_snapshots_;
27 std::vector<boost::shared_ptr<SnapShotManager> > managers_;
28 std::deque<String> names_;
29 };
30
31 }
32}
33
34#endif //BALL_VIEW_KERNEL_SNAPSHOT_MANAGER_INTERFACE_H
Definition: constants.h:13
void applySnapshot(unsigned int i)
void takeSnapshot(const String &name)
void rename(unsigned int i, const String &name)
std::vector< boost::shared_ptr< SnapShotManager > > managers_