BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
9 namespace 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
void rename(unsigned int i, const String &name)
void applySnapshot(unsigned int i)
std::vector< boost::shared_ptr< SnapShotManager > > managers_
void takeSnapshot(const String &name)