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

In This Package:

Public Member Functions | Public Attributes | Static Public Attributes
MockEvtConversionSvc Class Reference

#include <MockEvtConversionSvc.h>

List of all members.

Public Member Functions

 MockEvtConversionSvc (const std::string &name, ISvcLocator *svc)
virtual ~MockEvtConversionSvc ()
virtual IConverter * createConverter (long svcType, const CLID &clID, const ICnvFactory *)
void svcNamesHandler (Property &p)

Public Attributes

StringArrayProperty m_svcNames

Static Public Attributes

static const long MOCK_EVT_DATA = 99
 The repository type for Mockj Event created on the flys.

Detailed Description

Definition at line 6 of file MockEvtConversionSvc.h.


Constructor & Destructor Documentation

MockEvtConversionSvc::MockEvtConversionSvc ( const std::string &  name,
ISvcLocator *  svc 
)

Definition at line 10 of file MockEvtConversionSvc.cpp.

                                                             :
                                             ConversionSvc(name,
                                                           svc,
                                                           MOCK_EVT_DATA) {
  declareProperty("CnvServices", m_svcNames);
  m_svcNames.declareUpdateHandler( &MockEvtConversionSvc::svcNamesHandler,
                                   this );
}
MockEvtConversionSvc::~MockEvtConversionSvc ( ) [virtual]

Definition at line 20 of file MockEvtConversionSvc.cpp.

                                            {
}

Member Function Documentation

IConverter * MockEvtConversionSvc::createConverter ( long  svcType,
const CLID &  clID,
const ICnvFactory *   
) [virtual]

Definition at line 23 of file MockEvtConversionSvc.cpp.

                                                                      {
  if (svcType != MOCK_EVT_DATA) {
    return 0;
  }
  if (clID == DayaBay::CLID_MockEvtStructure) {
    return new MockEvtConverters::MockEvtStructure(serviceLocator());
  }
  if (clID == DayaBay::CLID_MockEvtReadout) {
    return new MockEvtConverters::MockEvtReadout(serviceLocator());
  }
  return 0;
}
void MockEvtConversionSvc::svcNamesHandler ( Property &  p)

Definition at line 38 of file MockEvtConversionSvc.cpp.

                                                            {
  MsgStream log( msgSvc(),
                 name() );
  log << MSG::WARNING << "Ignoring: " << p << endreq ;
}

Member Data Documentation

const long MockEvtConversionSvc::MOCK_EVT_DATA = 99 [static]

The repository type for Mockj Event created on the flys.

Definition at line 13 of file MockEvtConversionSvc.h.

StringArrayProperty MockEvtConversionSvc::m_svcNames

Definition at line 25 of file MockEvtConversionSvc.h.


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