00001 #ifndef __PXXITriggerRequestPayload__H__ 00002 #define __PXXITriggerRequestPayload__H__ 00010 00011 #include "payloads-unpacker/base/PXXTypes.h" 00012 #include "payloads-unpacker/base/PXXPointerCasts.h" 00013 #include "payloads-unpacker/payloads/PXXIReadoutRequest.h" 00014 00015 class PXXITriggerRequestPayload 00016 { 00017 public: 00018 00019 00023 virtual ~PXXITriggerRequestPayload(){} 00024 //------------------------------------------------------------------------------ 00025 00030 virtual Int_t GetUID() const = 0; 00031 //------------------------------------------------------------------------------ 00032 00038 virtual const PXXIReadoutRequest &GetReadoutRequest() = 0; 00039 //------------------------------------------------------------------------------ 00040 00041 protected: 00042 00046 PXXITriggerRequestPayload(){} 00047 //------------------------------------------------------------------------------ 00048 00049 private: 00050 00051 ClassDef(PXXITriggerRequestPayload, 0) // TriggerRequestPayload interface 00052 00053 }; 00054 00055 #ifdef __USEROOT__ // compile with ROOT 00056 typedef PXXITriggerRequestPayload* PXXITriggerRequestPayloadPtr; 00057 #else // compile with IceTray 00058 typedef shared_ptr<PXXITriggerRequestPayload> PXXITriggerRequestPayloadPtr; 00059 #endif 00060 00061 #endif // __PXXITriggerRequestPayload__H__