00001 #ifndef VIS_SIM_BASE_VIS_SIM_PROCESSOR_H 00002 # define VIS_SIM_BASE_VIS_SIM_PROCESSOR_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "VisFramework/VisFrameworkBase/interface/VisQueueProcessor.h" 00007 # include "SimG4Core/Notification/interface/Observer.h" 00008 00009 00010 //<<<<<< PUBLIC DEFINES >>>>>> 00011 //<<<<<< PUBLIC CONSTANTS >>>>>> 00012 //<<<<<< PUBLIC TYPES >>>>>> 00013 00014 class DDDWorld; 00015 class EndOfEvent; 00016 00017 //<<<<<< PUBLIC VARIABLES >>>>>> 00018 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00019 //<<<<<< CLASS DECLARATIONS >>>>>> 00020 00021 class VisSimProcessor : public VisQueueProcessor, 00022 public Observer<const DDDWorld *>, 00023 public Observer<const EndOfEvent *> 00024 { 00025 IG_DECLARE_STATE_ELEMENT (VisSimProcessor); 00026 public: 00027 VisSimProcessor (IgState *state); 00028 // implicit copy constructor 00029 // implicit assignment operator 00030 // implicit destructor 00031 00032 protected: 00033 virtual void update (const DDDWorld *); 00034 virtual void update (const EndOfEvent *); 00035 }; 00036 00037 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00038 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00039 00040 #endif // VIS_SIM_BASE_VIS_SIM_PROCESSOR_H