PSShmemInput/src/ShmemInputModule.cpp

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: ShmemInputModule.cpp 7698 2014-02-27 00:47:58Z salnikov@SLAC.STANFORD.EDU $
00004 //
00005 // Description:
00006 //      Class ShmemInputModule...
00007 //
00008 // Author List:
00009 //      Andy Salnikov
00010 //
00011 //------------------------------------------------------------------------
00012 
00013 //-----------------------
00014 // This Class's Header --
00015 //-----------------------
00016 #include "PSShmemInput/ShmemInputModule.h"
00017 
00018 //-----------------
00019 // C/C++ Headers --
00020 //-----------------
00021 #include <boost/make_shared.hpp>
00022 
00023 //-------------------------------
00024 // Collaborating Class Headers --
00025 //-------------------------------
00026 #include "PSShmemInput/DgramSourceShmem.h"
00027 
00028 //-----------------------------------------------------------------------
00029 // Local Macros, Typedefs, Structures, Unions and Forward Declarations --
00030 //-----------------------------------------------------------------------
00031 
00032 using namespace PSShmemInput;
00033 PSANA_INPUT_MODULE_FACTORY(ShmemInputModule)
00034 
00035 //              ----------------------------------------
00036 //              -- Public Function Member Definitions --
00037 //              ----------------------------------------
00038 
00039 namespace PSShmemInput {
00040 
00041 //----------------
00042 // Constructors --
00043 //----------------
00044 ShmemInputModule::ShmemInputModule(const std::string& name)
00045   : PSXtcInput::XtcInputModuleBase(name, boost::make_shared<DgramSourceShmem>(name))
00046 {
00047 }
00048 
00049 //--------------
00050 // Destructor --
00051 //--------------
00052 ShmemInputModule::~ShmemInputModule ()
00053 {
00054 }
00055 
00056 } // namespace PSShmemInput

Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7