|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef CONTROL_STOREGATE_SEGMEMSVC_H
8 #define CONTROL_STOREGATE_SEGMEMSVC_H 1
10 #include "GaudiKernel/Service.h"
11 #include "GaudiKernel/IIncidentListener.h"
12 #include "GaudiKernel/IIncidentSvc.h"
13 #include "GaudiKernel/MsgStream.h"
14 #include "GaudiKernel/ServiceHandle.h"
30 public IIncidentListener {
51 static const InterfaceID IID(
"SegMemSvc", 1, 0);
55 virtual void handle(
const Incident&);
virtual StatusCode reinitialize()
bool del(T *)
free memory managed by arena
SG::ArenaHeader m_ahead_inc
T * allocate(SegMemSvc::LIFETIME, bool cache=true)
Get pointer to an area in the arena, used for new with placement.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ArenaHeader m_ahead_evt
Collection of memory allocators with a common lifetime,.
static const InterfaceID & interfaceID()
AthROOTErrorHandlerSvc * svc
virtual void handle(const Incident &)
Service to access an arena caching allocator.
Collection of memory allocators with a common lifetime, plus subsystem summary.
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
SegMemSvc(const std::string &name, ISvcLocator *svc)
std::string cvt(SegMemSvc::LIFETIME life)
helper to for printout
SG::ArenaHeader m_ahead_job
three arenas for different lifetimes
ServiceHandle< IIncidentSvc > p_incSvc
virtual StatusCode finalize()
virtual StatusCode initialize()