/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Public Member Functions
MockEvtConverters::MockEvtReadout Class Reference

#include <MockEvtReadout.h>

List of all members.

Classes

class  Address
 Implementation of IOpaqueAddress interface for this class. More...

Public Member Functions

 MockEvtReadout (ISvcLocator *svc)
 Basic Constructor.
virtual ~MockEvtReadout ()
 Destructor.
virtual StatusCode createObj (IOpaqueAddress *, DataObject *&pObject)
 Overloaded Converter class methods.
virtual long repSvcType () const
 Bookkeepting method used by ConverterSvc class.

Detailed Description

Definition at line 16 of file MockEvtReadout.h.


Constructor & Destructor Documentation

MockEvtReadout::MockEvtReadout ( ISvcLocator *  svc)

Basic Constructor.

Definition at line 13 of file MockEvtReadout.cpp.

                                               :
  Converter(MockEvtConversionSvc::MOCK_EVT_DATA,
            DayaBay::CLID_MockEvtReadout,
            svc) {
}
MockEvtReadout::~MockEvtReadout ( ) [virtual]

Destructor.

Definition at line 19 of file MockEvtReadout.cpp.

                                {
}

Member Function Documentation

StatusCode MockEvtReadout::createObj ( IOpaqueAddress *  addr,
DataObject *&  pObject 
) [virtual]

Overloaded Converter class methods.

Definition at line 22 of file MockEvtReadout.cpp.

                                                           {
  Address* address = dynamic_cast<Address*>(addr);
  if (0 == address) {
    return StatusCode::FAILURE;
  }

  const MockEvtSelector::MockEvtContext* context = address->context();
  pObject = new DayaBay::TESDemoReadout(context->readoutTime(),
                                        context->sequenceNumber());
  return StatusCode::SUCCESS;
}
long MockEvtReadout::repSvcType ( ) const [virtual]

Bookkeepting method used by ConverterSvc class.

Definition at line 35 of file MockEvtReadout.cpp.

                                      {
  return i_repSvcType();
}

The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:08:54 for MockEvt by doxygen 1.7.4