Scopira  20080306
reactor.h
1 
2 /*
3  * Copyright (c) 2001 National Research Council
4  *
5  * All rights reserved.
6  *
7  * This material is confidential and proprietary information of
8  * National Research Council Canada ("Confidential Information").
9  * This Confidential Information may only be used and reproduced
10  * in accordance with the terms of the license agreement.
11  *
12  */
13 
14 #ifndef __INCLUDED__SCOPIRA_TOOL_REACTOR__
15 #define __INCLUDED__SCOPIRA_TOOL_REACTOR__
16 
17 #include <string>
18 
19 #include <scopira/tool/object.h>
20 
21 namespace scopira
22 {
23  namespace tool
24  {
25  class destroy_reactor_i;
26  class update_reactor_i;
27  class rename_reactor_i;
28  }
29 }
30 
37 {
38  public:
44  virtual void react_destroy(object *source) = 0;
45 };
46 
53 {
54  public:
60  virtual void react_update(object *source) = 0;
61 };
62 
68 {
69  public:
74  virtual void react_rename(object *source, const std::string &newname) = 0;
75 };
76 
77 #endif
78 
Definition: archiveflow.h:20
Definition: object.h:71
Definition: reactor.h:52
Definition: reactor.h:67
virtual void react_destroy(object *source)=0
Definition: reactor.h:36