GridComputing
Job Management in Grid Computing
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
interfaces.h
Go to the documentation of this file.
1 #ifndef INTERFACES_H_
2 #define INTERFACES_H_
3 
4 #include "utils.h"
5 #include <iostream>
6 #include "bytebuffer.h"
7 
9 
12 class ISave
13 {
14 public:
20  virtual bool Save(ByteBuffer& bb) const = 0;
21 };
22 
24 
27 class IUpdate
28 {
29 public:
34  virtual void Update(uint32 diff) = 0;
35 };
36 
38 
41 class IPrint
42 {
43 public:
48  virtual void Print(std::ostream& os = std::cout) const = 0;
49 };
50 
51 #endif // INTERFACES_H_