psana/src/Step.cpp

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //     $Id: Step.cpp 8825 2014-08-28 01:16:10Z davidsch@SLAC.STANFORD.EDU $
00004 //
00005 // Description:
00006 //     Class Step...
00007 //
00008 // Author List:
00009 //     Andy Salnikov
00010 //
00011 //------------------------------------------------------------------------
00012 
00013 //-----------------------
00014 // This Class's Header --
00015 //-----------------------
00016 #include "psana/Step.h"
00017 
00018 //-----------------
00019 // C/C++ Headers --
00020 //-----------------
00021 
00022 //-------------------------------
00023 // Collaborating Class Headers --
00024 //-------------------------------
00025 
00026 //-----------------------------------------------------------------------
00027 // Local Macros, Typedefs, Structures, Unions and Forward Declarations --
00028 //-----------------------------------------------------------------------
00029 
00030 //             ----------------------------------------
00031 //             -- Public Function Member Definitions --
00032 //             ----------------------------------------
00033 
00034 namespace psana {
00035 
00036 //----------------
00037 // Constructors --
00038 //----------------
00039 Step::Step ()
00040   : m_evtLoop()
00041 {
00042 }
00043 
00044 // Constructor takes event loop object
00045 Step::Step(const boost::shared_ptr<EventLoop>& evtLoop)
00046   : m_evtLoop(evtLoop)
00047 {
00048 }
00049 
00050 //--------------
00051 // Destructor --
00052 //--------------
00053 Step::~Step ()
00054 {
00055 }
00056 
00057 /// Get environment object, cannot be called for "null" source
00058 PSEnv::Env&
00059 Step::env() const
00060 {
00061   return m_evtLoop->env();
00062 }
00063 
00064 
00065 } // namespace psana

Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7