ATLAS Offline Software
Public Member Functions | List of all members
xAOD::TVirtualManager Class Referenceabstract

Interface class for the "manager classes". More...

#include <TVirtualManager.h>

Inheritance diagram for xAOD::TVirtualManager:
Collaboration diagram for xAOD::TVirtualManager:

Public Member Functions

virtual ~TVirtualManager ()
 Virtual destructor, to make vtable happy... More...
 
virtual ::Int_t getEntry (::Int_t getall=0)=0
 Function for updating the object in memory if needed. More...
 
virtual const void * object () const =0
 Function getting a const pointer to the object being handled. More...
 
virtual void * object ()=0
 Function getting a pointer to the object being handled. More...
 
virtual void setObject (void *obj)=0
 Function replacing the object being handled. More...
 
virtual ::Bool_t create ()=0
 Create the object for the current event. More...
 
virtual ::Bool_t isSet () const =0
 Check if the object was set for the current event. More...
 
virtual void reset ()=0
 Reset the object at the end of processing of an event. More...
 

Detailed Description

Interface class for the "manager classes".

The TEvent class handles the reading of (a collection of) branches through "manager objects". Since different kinds of manager classes are available, they need a common ancestor to make their usage nicer.

Author
Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h

Definition at line 24 of file TVirtualManager.h.

Constructor & Destructor Documentation

◆ ~TVirtualManager()

virtual xAOD::TVirtualManager::~TVirtualManager ( )
inlinevirtual

Virtual destructor, to make vtable happy...

Definition at line 28 of file TVirtualManager.h.

28 {}

Member Function Documentation

◆ create()

virtual ::Bool_t xAOD::TVirtualManager::create ( )
pure virtual

◆ getEntry()

virtual ::Int_t xAOD::TVirtualManager::getEntry ( ::Int_t  getall = 0)
pure virtual

Function for updating the object in memory if needed.

Implemented in xAOD::TPrimitiveAuxBranchManager, xAOD::TAuxBranchManager, xAOD::TObjectManager, xAOD::TAuxManager, and xAOD::RAuxManager.

◆ isSet()

virtual ::Bool_t xAOD::TVirtualManager::isSet ( ) const
pure virtual

Check if the object was set for the current event.

Implemented in xAOD::TPrimitiveAuxBranchManager, xAOD::TAuxBranchManager, xAOD::TObjectManager, xAOD::TAuxManager, and xAOD::RAuxManager.

◆ object() [1/2]

virtual const void* xAOD::TVirtualManager::object ( ) const
pure virtual

Function getting a const pointer to the object being handled.

Implemented in xAOD::TPrimitiveAuxBranchManager, xAOD::TAuxBranchManager, xAOD::TObjectManager, xAOD::TAuxManager, and xAOD::RAuxManager.

◆ object() [2/2]

virtual void* xAOD::TVirtualManager::object ( )
pure virtual

Function getting a pointer to the object being handled.

Implemented in xAOD::TPrimitiveAuxBranchManager, xAOD::TAuxBranchManager, xAOD::TObjectManager, xAOD::TAuxManager, and xAOD::RAuxManager.

◆ reset()

virtual void xAOD::TVirtualManager::reset ( )
pure virtual

Reset the object at the end of processing of an event.

Implemented in xAOD::TPrimitiveAuxBranchManager, xAOD::TAuxBranchManager, xAOD::TObjectManager, xAOD::TAuxManager, and xAOD::RAuxManager.

◆ setObject()

virtual void xAOD::TVirtualManager::setObject ( void *  obj)
pure virtual

Function replacing the object being handled.

Implemented in xAOD::TPrimitiveAuxBranchManager, xAOD::TAuxBranchManager, xAOD::TObjectManager, xAOD::TAuxManager, and xAOD::RAuxManager.


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