Namespaces and packages
Tudas provides unified interfaces in three programming languages - in terms of class dependencies, but also in view of package hierarchy. Nevertheless, there are some changes arising from differences between package definition in java, python and c++. In this section, we describe main Tudas packages (or namespaces) hierarchy in each programming language.
Java packages
- ch.cern.totem.tudas.clients.java - core Tudas package. It contains DatabaseAccessProvider class. All other client modules are stored in subpackages of this package.
- ch.cern.totem.tudas.clients.java.data.manager - here you can find all Tudas service classes:
- GeneralMeasurementManager
- LuminosityManager
- OpticsManager
- RomanPotManager
- RunInformationManager
- ch.cern.totem.tudas.tudasUtil.structure, ch.cern.totem.tudas.tudasUtil.enumeration - a set of structures, used in Tudas interfaces (i. e. RomanPotAlignment, IntervalOfValidity)
- ch.cern.totem.tudas.clients.java.exception - a package containing client-side exception mechanism, especially TudasException class.
Python packages and modules
- tudas - main Tudas package. It is divided into following modules:
- core - core Tudas module. It contains DatabaseAccessProvider class.
- data_managers - here you can find all Tudas service classes:
-
- GeneralMeasurementManager
- LuminosityManager
- OpticsManager
- RomanPotManager
- RunInformationManager
- exception - a package containing client-side exception mechanism, especially TudasException class.
- tudasUtil - a set of structures, used in Tudas interfaces (i. e. RomanPotAlignment, IntervalOfValidity). It is divided into following modules:
C++ namespaces
- tudas - main Tudas namespace. It contains DatabaseAccessProvider and all service classes:
- GeneralMeasurementManager
- LuminosityManager
- OpticsManager
- RomanPotManager
- RunInformationManager
- tudas::exceptions - namespace containing client-side exception mechanism, especially TudasException class.
- tudasUtil - a set of structures, used in Tudas interfaces (i. e. RomanPotAlignment, IntervalOfValidity). It is divided into following namespaces :
Topic revision: r1 - 2012-09-12
- unknown