00001 // Copyright CERN 2012 - Developed in collaboration with GSI 00002 00003 #ifndef ONDEMANDCONSUMER_H_ 00004 #define ONDEMANDCONSUMER_H_ 00005 00006 namespace fesa 00007 { 00008 00009 class OnDemandMessage; 00010 00015 class OnDemandConsumer 00016 { 00017 00018 public: 00019 00020 OnDemandConsumer(); 00021 00022 virtual ~OnDemandConsumer(); 00023 00027 virtual OnDemandMessage* getMessage() = 0; 00028 00029 }; 00030 00031 } 00032 00033 #endif /* ONDEMANDCONSUMER_H_ */