TRflxCallback.h

Go to the documentation of this file.
00001 #ifndef PYROOT_TRFLXCALLBACK_H
00002 #define PYROOT_TRFLXCALLBACK_H
00003 
00004 #ifdef PYROOT_USE_REFLEX
00005 
00006 // ROOT
00007 #include "Reflex/Callback.h"
00008 
00009 // Standard
00010 #include <memory>
00011 
00012 
00013 namespace PyROOT {
00014 
00015 class TRflxCallback : public ROOT::Reflex::ICallback {
00016 public:
00017    TRflxCallback();
00018    ~TRflxCallback();
00019 
00020 public:
00021    virtual void operator() ( const ROOT::Reflex::Type& t );
00022    virtual void operator() ( const ROOT::Reflex::Member& m );
00023 
00024 public:
00025    static PyObject* Enable();
00026    static PyObject* Disable();
00027 
00028 private:
00029    static std::auto_ptr< ROOT::Reflex::ICallback > gCallback;
00030 };
00031 
00032 } // namespace PyROOT
00033 
00034 #endif // PYROOT_USE_REFLEX
00035 
00036 #endif // !PYROOT_TRFLXCALLBACK_H

Generated on Tue Jul 5 14:10:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1