ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SMSubject.h
Go to the documentation of this file.
1 
12 #ifndef SMSUBJECT_H_
13 #define SMSUBJECT_H_
14 
15 #include <iostream>
16 #include "../utils/ObsPattern_Sub.h"
17 
18 
24 class SMSubject : public Subject
25 {
26  public:
29 #ifdef DEBUG_CPP
30  std::cout << "Constructor SMSubject " << std::endl;
31 #endif
32  }
34  virtual ~SMSubject() {
35 #ifdef DEBUG_CPP
36  std::cout << "Destructor SMSubject" << std::endl;
37 #endif
38  }
40  void Updated();
42  void Updated( std::vector<std::string> & message );
43 
44  //private, may contain information about the update...
45 };
46 
47 #endif /* SMSUBJECT_H_ */
void Updated()
send updated function no argument
Definition: SMSubject.cpp:10
SMSubject()
constructor nothing particular all is done in the base class
Definition: SMSubject.h:28
virtual ~SMSubject()
destructor
Definition: SMSubject.h:34
Derive from Subject class.
Definition: SMSubject.h:24