The Gaudi Framework  master (594c33fa)
ConversionSvc::WorkerEntry Class Referencefinal
Collaboration diagram for ConversionSvc::WorkerEntry:

Public Member Functions

 WorkerEntry (const CLID &cl, IConverter *cnv)
 
 ~WorkerEntry ()
 
 WorkerEntry (WorkerEntry &&orig) noexcept
 
WorkerEntryoperator= (WorkerEntry &&orig) noexcept
 
 WorkerEntry (const WorkerEntry &copy)=delete
 
WorkerEntryoperator= (const WorkerEntry &copy)=delete
 
IConverterconverter ()
 
const CLIDclID () const
 

Private Attributes

CLID m_class
 
IConverterm_converter
 

Detailed Description

Definition at line 56 of file ConversionSvc.h.

Constructor & Destructor Documentation

◆ WorkerEntry() [1/3]

ConversionSvc::WorkerEntry::WorkerEntry ( const CLID cl,
IConverter cnv 
)
inline

Definition at line 61 of file ConversionSvc.h.

61  : m_class( cl ), m_converter( cnv ) {
62  if ( m_converter ) m_converter->addRef();
63  }

◆ ~WorkerEntry()

ConversionSvc::WorkerEntry::~WorkerEntry ( )
inline

Definition at line 65 of file ConversionSvc.h.

65  {
67  }

◆ WorkerEntry() [2/3]

ConversionSvc::WorkerEntry::WorkerEntry ( WorkerEntry &&  orig)
inlinenoexcept

Definition at line 69 of file ConversionSvc.h.

70  : m_class{ orig.m_class }, m_converter{ std::exchange( orig.m_converter, nullptr ) } {}

◆ WorkerEntry() [3/3]

ConversionSvc::WorkerEntry::WorkerEntry ( const WorkerEntry copy)
delete

Member Function Documentation

◆ clID()

const CLID& ConversionSvc::WorkerEntry::clID ( ) const
inline

Definition at line 83 of file ConversionSvc.h.

83 { return m_class; }

◆ converter()

IConverter* ConversionSvc::WorkerEntry::converter ( )
inline

Definition at line 81 of file ConversionSvc.h.

81 { return m_converter; }

◆ operator=() [1/2]

WorkerEntry& ConversionSvc::WorkerEntry::operator= ( const WorkerEntry copy)
delete

◆ operator=() [2/2]

WorkerEntry& ConversionSvc::WorkerEntry::operator= ( WorkerEntry &&  orig)
inlinenoexcept

Definition at line 72 of file ConversionSvc.h.

72  {
73  m_class = orig.m_class;
74  std::swap( m_converter, orig.m_converter );
75  return *this;
76  }

Member Data Documentation

◆ m_class

CLID ConversionSvc::WorkerEntry::m_class
private

Definition at line 57 of file ConversionSvc.h.

◆ m_converter

IConverter* ConversionSvc::WorkerEntry::m_converter
private

Definition at line 58 of file ConversionSvc.h.


The documentation for this class was generated from the following file:
ConversionSvc::WorkerEntry::m_converter
IConverter * m_converter
Definition: ConversionSvc.h:58
std::swap
T swap(T... args)
IInterface::release
virtual unsigned long release()=0
Release Interface instance.
ConversionSvc::WorkerEntry::m_class
CLID m_class
Definition: ConversionSvc.h:57
IInterface::addRef
virtual unsigned long addRef()=0
Increment the reference count of Interface instance.