The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::TestSuite::MyConsumerTool::BoundInstance Class Referencefinal
Inheritance diagram for Gaudi::TestSuite::MyConsumerTool::BoundInstance:
Collaboration diagram for Gaudi::TestSuite::MyConsumerTool::BoundInstance:

Public Member Functions

 BoundInstance (MyConsumerTool const *parent, const int &i)
void operator() () const override
Public Member Functions inherited from implements< AlgToolStub< IMyTool > >
void const * i_cast (const InterfaceID &tid) const override
 Implementation of IInterface::i_cast.
StatusCode queryInterface (const InterfaceID &ti, void **pp) override
 Implementation of IInterface::queryInterface.
std::vector< std::string > getInterfaceNames () const override
 Implementation of IInterface::getInterfaceNames.
 implements ()=default
 Default constructor.
implements & operator= (const implements &)
 Assignment operator (do not touch the reference count).
unsigned long addRef () const override
 Reference Interface instance.
unsigned long release () const override
 Release Interface instance.
unsigned long refCount () const override
 Current reference count.

Private Attributes

MyConsumerTool const * parent
int i

Additional Inherited Members

Public Types inherited from implements< AlgToolStub< IMyTool > >
using base_class
 Typedef to this class.
using extend_interfaces_base
 Typedef to the base of this class.
using iids
Public Types inherited from extend_interfaces< Interfaces... >
using ext_iids
 take union of the ext_iids of all Interfaces...
Protected Member Functions inherited from implements< AlgToolStub< IMyTool > >
unsigned long decRef () const override
Protected Attributes inherited from implements< AlgToolStub< IMyTool > >
std::atomic_ulong m_refCount
 Reference counter.

Detailed Description

Definition at line 50 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ BoundInstance()

Gaudi::TestSuite::MyConsumerTool::BoundInstance::BoundInstance ( MyConsumerTool const * parent,
const int & i )
inline

Member Function Documentation

◆ operator()()

void Gaudi::TestSuite::MyConsumerTool::BoundInstance::operator() ( ) const
inlineoverride

Definition at line 56 of file MakeAndConsume.cpp.

56 {
57 parent->always() << "BoundInstance - got: " << i << " from " << parent->inputLocation<int>() << endmsg;
58 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198

Member Data Documentation

◆ i

int Gaudi::TestSuite::MyConsumerTool::BoundInstance::i
private

Definition at line 52 of file MakeAndConsume.cpp.

◆ parent

MyConsumerTool const* Gaudi::TestSuite::MyConsumerTool::BoundInstance::parent
private

Definition at line 51 of file MakeAndConsume.cpp.


The documentation for this class was generated from the following file: