CoordinateSystemRegistry.h
Go to the documentation of this file.
1 #ifndef _fwk_CoordinateSystemRegistry_h_
2 #define _fwk_CoordinateSystemRegistry_h_
3 
12 #include <utl/CoordinateSystemPtr.h>
13 #include <utl/AugerException.h>
14 #include <string>
15 
16 
17 namespace fwk {
18 
32  namespace CoordinateSystemRegistry {
33 
35  void Init();
36 
38  utl::CoordinateSystemPtr Get(const std::string& theID);
39 
48  : public utl::AugerException
49  {
50  public:
52  InvalidCoordinateSystemException(std::string message = std::string())
53  : AugerException(message) { }
54 
56  virtual std::string GetExceptionName() const
57  { return "Invalid coordinate system in registry exception"; }
58 
59  };
60 
61  /* Deprecated stuff */
66  eECEF = 1,
76  // Leave a gap in the enum, in case we have to add more coordinate systems to the south.
77  eLamar = 16,
78  eNewYork = 32
79  };
80 
83 
84  }
85 
86 }
87 
88 
89 #endif
Base class for all exceptions used in the auger offline code.
The X-treme laser facility XLF.
The central laser facility CLF.
void Init()
Initialise the registry.
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
Base class for exceptions in the CoordinateSystemRegistry.
northern site CS (exact position to be decided...)
Approximate centre of the southern site.
southern site CS as of conventions
CoordinateSystemID
Identifiers for all well-known coordinate systems.
utl::CoordinateSystemPtr Get(const std::string &id)
Get a well-known Coordinate System.

, generated on Tue Sep 26 2023.