QApolloTriggerFactory.hh
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _Q_APOLLO_TRIGGER_FACTORY_H_
00012 #define _Q_APOLLO_TRIGGER_FACTORY_H_
00013
00014 #include "QCuore.hh"
00015 #include "QApolloTriggerList.hh"
00016
00017 class QApolloTriggerFactory {
00018 public:
00019 virtual ~QApolloTriggerFactory();
00020
00021 QApolloTriggerFactory();
00022
00023 void AddChannel(int lg, QCrateReceiverBuffer& );
00024
00025 inline QApolloTriggerList& GetTriggerList() { return fList; }
00026
00027 private:
00028 QApolloTriggerList fList;
00029
00030 QApolloTrigger *Build(const std::string&, QCrateReceiverBuffer&, unsigned int);
00031
00032 };
00033
00034 #endif