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 
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
BALL::String
Definition: string.h:57
BALL
Definition: constants.h:13
BALL::VIEW::SnapshotManagerInterface::takeSnapshot
void takeSnapshot(const String &name)
BALL::VIEW::SnapshotManagerInterface::rename
void rename(unsigned int i, const String &name)
BALL::VIEW::SnapshotManagerInterface::SnapshotManagerInterface
SnapshotManagerInterface()
snapShotManager.h
BALL::VIEW::SnapshotManagerInterface::names_
std::deque< String > names_
Definition: snapshotManagerInterface.h:28
BALL::VIEW::SnapshotManagerInterface::num_snapshots_
unsigned int num_snapshots_
Definition: snapshotManagerInterface.h:26
BALL::VIEW::SnapshotManagerInterface
Definition: snapshotManagerInterface.h:16
BALL::VIEW::SnapshotManagerInterface::managers_
std::vector< boost::shared_ptr< SnapShotManager > > managers_
Definition: snapshotManagerInterface.h:27
BALL::VIEW::SnapshotManagerInterface::setup
void setup()
BALL::VIEW::SnapshotManagerInterface::applySnapshot
void applySnapshot(unsigned int i)