Rice  1.5.2
 All Classes Files Functions Variables Typedefs Friends Pages
Director.hpp
1 #ifndef Rice__Director__hpp_
2 #define Rice__Director__hpp_
3 
4 #include "Object.hpp"
5 
6 namespace Rice {
7 
13  class Director
14  {
15  public:
17  // proxy class can call methods on that object.
18  Director(Object self);
19 
20  virtual ~Director() { }
21 
23 
26  void raisePureVirtual() const;
27 
29  Object getSelf() const { return self_; }
30 
31  private:
32 
33  // Save the Ruby object related to the instance of this class
34  Object self_;
35 
36  };
37 }
38 
39 #endif // Rice__Director__hpp_
The base class for all Objects.
Definition: Object_defn.hpp:23
Definition: Director.hpp:13
Director(Object self)
Construct new Director. Needs the Ruby object so that the.
void raisePureVirtual() const
Raise a ruby exception when a call comes through for a pure virtual method.
Object getSelf() const
Get the Ruby object linked to this C++ instance.
Definition: Director.hpp:29