|
Jpp
debug
the software that should make you happy
|
Router for direct addressing of location data in detector data structure. More...
#include <JLocationRouter.hh>
Public Types | |
| typedef JDetector::const_iterator | const_iterator |
Public Member Functions | |
| JLocationRouter (const JDetector &detector) | |
| Constructor. More... | |
| const JLocationRouter & | getLocationRouter () const |
| Get location router. More... | |
| const JModuleAddress & | getAddress (const JLocation &location) const |
| Get address of location. More... | |
| const JModule & | getModule (const JLocation &location) const |
| Get module parameters. More... | |
| bool | hasLocation (const JLocation &location) const |
| Has module. More... | |
| const int | getIndex (const JLocation &location) const |
| Get index of location. More... | |
| const JClass_t & | getReference () const |
| Get reference to object. More... | |
| JClass_t & | getReference () |
| Get reference to object. More... | |
| bool | is_valid () const |
| Check validity of reference. More... | |
| const JClass_t * | operator-> () const |
| Smart pointer. More... | |
| JClass_t * | operator-> () |
| Smart pointer. More... | |
| const JClass_t & | operator* () const |
| Dereference operator. More... | |
| JClass_t & | operator* () |
| Dereference operator. More... | |
Protected Attributes | |
| JClass_t & | __object |
Private Types | |
| typedef JReference< const JDetector > | JReference_t |
Private Attributes | |
| JTOOLS::JHashMap< int, JTOOLS::JHashMap< int, JModuleAddress > > | router |
Router for direct addressing of location data in detector data structure.
Definition at line 28 of file JLocationRouter.hh.
|
private |
Definition at line 32 of file JLocationRouter.hh.
| typedef JDetector::const_iterator JDETECTOR::JLocationRouter::const_iterator |
Definition at line 36 of file JLocationRouter.hh.
|
inline |
Constructor.
| detector | detector |
Definition at line 44 of file JLocationRouter.hh.
|
inline |
Get location router.
Definition at line 58 of file JLocationRouter.hh.
|
inline |
Get address of location.
| location | location |
Definition at line 70 of file JLocationRouter.hh.
Get module parameters.
| location | location |
Definition at line 82 of file JLocationRouter.hh.
|
inline |
|
inline |
Get index of location.
| location | location |
Definition at line 106 of file JLocationRouter.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 112 of file JLocationRouter.hh.
|
protectedinherited |
Definition at line 110 of file JReference.hh.