Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JCALIBRATE::JRouter_t Struct Referenceabstract

Interface for routing module identifier to index and vice versa. More...

#include <JCalibrateMuon.hh>

Inheritance diagram for JCALIBRATE::JRouter_t:
JCALIBRATE::JModuleRouter_t JCALIBRATE::JStringRouter_t

Public Member Functions

virtual ~JRouter_t ()
 Virtual destructor.
 
virtual size_t getN () const =0
 Get number of indices.
 
virtual int getIndex (const int id) const =0
 Get index.
 
virtual int getID (const int index) const =0
 Get identifier.
 

Detailed Description

Interface for routing module identifier to index and vice versa.

Definition at line 25 of file JCalibrateMuon.hh.

Constructor & Destructor Documentation

◆ ~JRouter_t()

virtual JCALIBRATE::JRouter_t::~JRouter_t ( )
inlinevirtual

Virtual destructor.

Definition at line 29 of file JCalibrateMuon.hh.

30 {}

Member Function Documentation

◆ getN()

virtual size_t JCALIBRATE::JRouter_t::getN ( ) const
pure virtual

Get number of indices.

Returns
number of indices.

Implemented in JCALIBRATE::JModuleRouter_t, and JCALIBRATE::JStringRouter_t.

◆ getIndex()

virtual int JCALIBRATE::JRouter_t::getIndex ( const int id) const
pure virtual

Get index.

Parameters
idmodule identifier
Returns
index

Implemented in JCALIBRATE::JModuleRouter_t, and JCALIBRATE::JStringRouter_t.

◆ getID()

virtual int JCALIBRATE::JRouter_t::getID ( const int index) const
pure virtual

Get identifier.

Parameters
indexindex
Returns
identifier

Implemented in JCALIBRATE::JModuleRouter_t, and JCALIBRATE::JStringRouter_t.


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