Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
MultiPandoraApi Class Reference

MultiPandoraApi class. More...

#include "MultiPandoraApi.h"

Collaboration diagram for MultiPandoraApi:

Static Public Member Functions

static const PandoraInstanceMapGetPandoraInstanceMap ()
 Get the pandora instance map.
 
static const pandora::PandoraGetPandoraInstance (const pandora::Pandora *const pPrimaryPandora, const unsigned int volumeId)
 Get the address of the pandora instance associated with a given primary pandora instance and volume id number.
 
static const PandoraInstanceListGetDaughterPandoraInstanceList (const pandora::Pandora *const pPrimaryPandora)
 Get the list of daughter pandora instances associated with a given primary pandora instance.
 
static const pandora::PandoraGetPrimaryPandoraInstance (const pandora::Pandora *const pDaughterPandora)
 Get the address of the primary pandora instance associated with a given daughter pandora instance.
 
static unsigned int GetVolumeId (const pandora::Pandora *const pPandora)
 Get the volume id associated with a given pandora instance.
 
static void AddPrimaryPandoraInstance (const pandora::Pandora *const pPrimaryPandora)
 Declare a new primary pandora instance and receive the relevant multi pandora book-keeping instance.
 
static void AddDaughterPandoraInstance (const pandora::Pandora *const pPrimaryPandora, const pandora::Pandora *const pDaughterPandora)
 Add a pandora daughter instance, associated to a primary pandora instance.
 
static void DeletePandoraInstances (const pandora::Pandora *const pPrimaryPandora)
 Delete all pandora instances associated with (and including) a specified primary pandora instance.
 
static void SetVolumeId (const pandora::Pandora *const pPandora, const unsigned int volumeId)
 Set the volume id associated with a given pandora instance.
 

Static Private Attributes

static MultiPandoraApiImpl m_multiPandoraApiImpl
 The multi pandora api implementation.
 

Detailed Description

MultiPandoraApi class.

Definition at line 30 of file MultiPandoraApi.h.

Member Function Documentation

◆ AddDaughterPandoraInstance()

void MultiPandoraApi::AddDaughterPandoraInstance ( const pandora::Pandora *const  pPrimaryPandora,
const pandora::Pandora *const  pDaughterPandora 
)
static

Add a pandora daughter instance, associated to a primary pandora instance.

Parameters
pPrimaryPandorathe address of the primary pandora instance
pDaughterPandorathe address of the daughter pandora instance

Definition at line 61 of file MultiPandoraApi.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddPrimaryPandoraInstance()

void MultiPandoraApi::AddPrimaryPandoraInstance ( const pandora::Pandora *const  pPrimaryPandora)
static

Declare a new primary pandora instance and receive the relevant multi pandora book-keeping instance.

Parameters
pPrimaryPandorathe address of the primary pandora instance
Returns
the multipandora instance

Definition at line 54 of file MultiPandoraApi.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeletePandoraInstances()

void MultiPandoraApi::DeletePandoraInstances ( const pandora::Pandora *const  pPrimaryPandora)
static

Delete all pandora instances associated with (and including) a specified primary pandora instance.

Parameters
pPrimaryPandorathe address of the primary pandora instance

Definition at line 68 of file MultiPandoraApi.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDaughterPandoraInstanceList()

const PandoraInstanceList & MultiPandoraApi::GetDaughterPandoraInstanceList ( const pandora::Pandora *const  pPrimaryPandora)
static

Get the list of daughter pandora instances associated with a given primary pandora instance.

Parameters
pPrimaryPandorathe address of the primary pandora instance
Returns
the daughter pandora instance list

Definition at line 33 of file MultiPandoraApi.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPandoraInstance()

const pandora::Pandora * MultiPandoraApi::GetPandoraInstance ( const pandora::Pandora *const  pPrimaryPandora,
const unsigned int  volumeId 
)
static

Get the address of the pandora instance associated with a given primary pandora instance and volume id number.

Parameters
pPrimaryPandorathe address of the primary pandora instance
volumeIdthe volume identifier number
Returns
the address of the pandora instance

Definition at line 26 of file MultiPandoraApi.cc.

Here is the call graph for this function:

◆ GetPandoraInstanceMap()

const PandoraInstanceMap & MultiPandoraApi::GetPandoraInstanceMap ( )
static

Get the pandora instance map.

Returns
the pandora instance map

Definition at line 19 of file MultiPandoraApi.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPrimaryPandoraInstance()

const pandora::Pandora * MultiPandoraApi::GetPrimaryPandoraInstance ( const pandora::Pandora *const  pDaughterPandora)
static

Get the address of the primary pandora instance associated with a given daughter pandora instance.

Parameters
pDaughterPandorathe address of the daughter pandora instance
Returns
the address of the primary pandora instance

Definition at line 40 of file MultiPandoraApi.cc.

Here is the call graph for this function:

◆ GetVolumeId()

unsigned int MultiPandoraApi::GetVolumeId ( const pandora::Pandora *const  pPandora)
static

Get the volume id associated with a given pandora instance.

Parameters
pPandorathe address of the pandora instance
Returns
the volume id

Definition at line 47 of file MultiPandoraApi.cc.

Here is the call graph for this function:

◆ SetVolumeId()

void MultiPandoraApi::SetVolumeId ( const pandora::Pandora *const  pPandora,
const unsigned int  volumeId 
)
static

Set the volume id associated with a given pandora instance.

Parameters
pPandorathe address of the pandora instance
volumeIdthe volume id

Definition at line 75 of file MultiPandoraApi.cc.

Here is the call graph for this function:

Member Data Documentation

◆ m_multiPandoraApiImpl

MultiPandoraApiImpl MultiPandoraApi::m_multiPandoraApiImpl
staticprivate

The multi pandora api implementation.

Definition at line 110 of file MultiPandoraApi.h.


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