CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TestConsumer.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_TestConsumer_h
2 #define IOPool_Streamer_TestConsumer_h
3 
6 
7 #include "boost/shared_ptr.hpp"
8 
9 namespace edmtest
10 {
11  class Worker;
12 
14  {
15  public:
17  edm::EventBuffer* buf);
18 
19  ~TestConsumer();
20 
21  void bufferReady();
22  void stop();
23  void sendRegistry(void* buf, int len);
24 
25  private:
26  boost::shared_ptr<Worker> worker_;
27  edm::EventBuffer* bufs_; //does not own the buffer
28  };
29 }
30 
31 #endif
32 
edm::EventBuffer * bufs_
Definition: TestConsumer.h:27
TestConsumer(edm::ParameterSet const &ps, edm::EventBuffer *buf)
Definition: TestConsumer.cc:95
boost::shared_ptr< Worker > worker_
Definition: TestConsumer.h:26
void sendRegistry(void *buf, int len)