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:
    • structure
    • enumeration

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 :
    • structure
    • enumeration
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2012-09-12 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TOTEM All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback