CMS 3D CMS Logo

IgSimpleTextModel.h

Go to the documentation of this file.
00001 #ifndef IGUANA_MODELS_IG_SIMPLE_TEXT_MODEL_H
00002 # define IGUANA_MODELS_IG_SIMPLE_TEXT_MODEL_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/Models/interface/IgTextModel.h"
00007 # include <vector>
00008 
00009 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00010 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00011 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00012 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00013 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00014 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00015 
00016 class IGUANA_MODELS_API IgSimpleTextModel : public IgTextModel
00017 {
00018 public:
00019     typedef std::vector<Listener> Listeners;
00020 
00021     IgSimpleTextModel (void);
00022     // default copy constructor
00023     // default destructor
00024     // default assignment operator
00025 
00026     virtual void        listen (EventType event, const Listener &listener);
00027     virtual void        unlisten (EventType event, const Listener &listener);
00028     virtual void        changed (void);
00029 
00030     virtual IgTextRep * text (void) const;
00031     virtual void        set (IgTextRep *rep);
00032 
00033 private:
00034     IgTextRep           *m_current;
00035     Listeners           m_listeners;
00036 };
00037 
00038 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00039 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00040 
00041 #endif // IGUANA_MODELS_IG_SIMPLE_TEXT_MODEL_H

Generated on Tue Jun 9 17:38:47 2009 for CMSSW by  doxygen 1.5.4