CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/EventFilter/ShmBuffer/bin/FUShmServer.h

Go to the documentation of this file.
00001 #ifndef FUSHMSERVER_H
00002 #define FUSHMSERVER_H 1
00003 
00004 
00005 #include "EventFilter/ShmBuffer/interface/FUShmBuffer.h"
00006 
00007 
00008 namespace evf {
00009 
00010   
00011   class FUShmServer
00012   {
00013   public:
00014     //
00015     // construction/destruction
00016     //
00017     FUShmServer(FUShmBuffer* buffer);
00018     ~FUShmServer();
00019     
00020     
00021     //
00022     // member functions
00023     //
00024     unsigned int writeNext(unsigned char *data,
00025                            unsigned int   nFed,
00026                            unsigned int  *fedSize);
00027     
00028     
00029   private:
00030     //
00031     // member data
00032     //
00033     FUShmBuffer* buffer_;
00034     
00035   };
00036 
00037 
00038 } // namespace evf
00039 
00040 
00041 #endif