|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef ATHENAKERNEL_SLOTSPECIFICOBJ_H
15 #define ATHENAKERNEL_SLOTSPECIFICOBJ_H
19 #include "GaudiKernel/ThreadLocalContext.h"
20 #include "GaudiKernel/EventContext.h"
91 T*
get (
const EventContext& ctx);
106 const T*
get (
const EventContext& ctx)
const;
195 #endif // not ATHENAKERNEL_SLOTSPECIFICOBJ_H
JetConstituentVector::iterator iterator
const T * get() const
Return pointer to the object for the current slot.
T * get(const EventContext &ctx)
Return pointer to the object for slot given by ctx.
SlotSpecificObj(size_t nslots)
Constructor, with number of slots specified explicitly.
std::vector< T > m_slots
Set of per-slot objects.
iterator end()
End iterator.
const_iterator end() const
Const end iterator.
T * get()
Return pointer to the object for the current slot.
T * operator->()
Dereference the pointer.
iterator begin()
Begin iterator.
Maintain a set of objects, one per slot.
std::vector< T >::const_iterator const_iterator
void setNSlotsHiveMgrName ATLAS_NOT_THREAD_SAFE(const std::string &s)
Allow setting the name of the whiteboard service.
std::vector< T >::value_type value_type
size_t getNSlots()
Return the number of event slots.
std::vector< T >::iterator iterator
const_iterator begin() const
Const begin iterator.
SlotSpecificObj()
Constructor.
Define macros for attributes used to control the static checker.
const T * get(const EventContext &ctx) const
Return pointer to the object for slot given by ctx.
T & operator*()
Dereference the pointer.