The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
EventCollectionSelector::MyContextType Class Reference

#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/EventSelector/EventCollectionSelector.h>

Inheritance diagram for EventCollectionSelector::MyContextType:
Collaboration diagram for EventCollectionSelector::MyContextType:

Public Member Functions

 MyContextType (MyContextType *ctxt=nullptr)
 MyContextType (const MyContextType &ctxt)
 ~MyContextType () override
MyContextType & operator= (const MyContextType &)=delete
void * identifier () const override
void setAddress (IOpaqueAddress *pAddr)
Public Member Functions inherited from IEvtSelector::Context
virtual ~Context ()=default

Public Attributes

std::string criteria
NTuple::Tuple * tuple
std::optional< NTuple::Item< IOpaqueAddress * > > item {}
IOpaqueAddress * addressBuffer

Detailed Description

Definition at line 43 of file EventCollectionSelector.h.

Constructor & Destructor Documentation

◆ MyContextType() [1/2]

EventCollectionSelector::MyContextType::MyContextType ( MyContextType * ctxt = nullptr)
inline

Definition at line 49 of file EventCollectionSelector.h.

49 {
50 addressBuffer = new GenericAddress();
51 addressBuffer->addRef();
52 tuple = ( ctxt ) ? ctxt->tuple : nullptr;
53 if ( ctxt ) item.emplace( *ctxt->item );
54 }
std::optional< NTuple::Item< IOpaqueAddress * > > item

◆ MyContextType() [2/2]

EventCollectionSelector::MyContextType::MyContextType ( const MyContextType & ctxt)
inline

Definition at line 55 of file EventCollectionSelector.h.

55 : IEvtSelector::Context( ctxt ) {
56 addressBuffer = new GenericAddress();
57 addressBuffer->addRef();
58 tuple = ctxt.tuple;
59 item.emplace( *ctxt.item );
60 }

◆ ~MyContextType()

EventCollectionSelector::MyContextType::~MyContextType ( )
inlineoverride

Definition at line 61 of file EventCollectionSelector.h.

61{ addressBuffer->release(); }

Member Function Documentation

◆ identifier()

void * EventCollectionSelector::MyContextType::identifier ( ) const
inlineoverridevirtual

Implements IEvtSelector::Context.

Definition at line 64 of file EventCollectionSelector.h.

64{ return (void*)addressBuffer; }

◆ operator=()

MyContextType & EventCollectionSelector::MyContextType::operator= ( const MyContextType & )
delete

◆ setAddress()

void EventCollectionSelector::MyContextType::setAddress ( IOpaqueAddress * pAddr)

Member Data Documentation

◆ addressBuffer

IOpaqueAddress* EventCollectionSelector::MyContextType::addressBuffer

Definition at line 48 of file EventCollectionSelector.h.

◆ criteria

std::string EventCollectionSelector::MyContextType::criteria

Definition at line 45 of file EventCollectionSelector.h.

◆ item

std::optional<NTuple::Item<IOpaqueAddress*> > EventCollectionSelector::MyContextType::item {}

Definition at line 47 of file EventCollectionSelector.h.

47{};

◆ tuple

NTuple::Tuple* EventCollectionSelector::MyContextType::tuple

Definition at line 46 of file EventCollectionSelector.h.


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