EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CoordinateSystem.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_MATH_COORDINATESYSTEM_HPP_
2 #define ORG_EEROS_MATH_COORDINATESYSTEM_HPP_
3 
4 #include <string>
5 #include <map>
6 #include <ostream>
7 
8 namespace eeros {
9  namespace math {
10 
12 
13  friend std::ostream& operator<<(std::ostream& os, const CoordinateSystem& cs);
14 
15  public:
16  CoordinateSystem(std::string id);
17  virtual ~CoordinateSystem();
18 
19  bool operator==(const CoordinateSystem& right) const;
20  bool operator!=(const CoordinateSystem& right) const;
21 
22 
23  static CoordinateSystem* getCoordinateSystem(std::string id);
24 
25  private:
27  CoordinateSystem& operator=(const CoordinateSystem&);
28 
29  std::string id;
30 
31  static std::map<std::string, CoordinateSystem*> list;
32 
33 
34  }; // END class CoordinateSystem
35 
36  std::ostream& operator<<(std::ostream& os, const CoordinateSystem& cs);
37 
38  } // END namespace math
39 } // END namespache eeros
40 
41 #endif /* ORG_EEROS_MATH_COORDINATESYSTEM_HPP_ */
bool operator==(const CoordinateSystem &right) const
Definition: CoordinateSystem.cpp:25
friend std::ostream & operator<<(std::ostream &os, const CoordinateSystem &cs)
virtual ~CoordinateSystem()
Definition: CoordinateSystem.cpp:21
Definition: CoordinateSystem.hpp:11
CoordinateSystem(std::string id)
Definition: CoordinateSystem.cpp:13
bool operator!=(const CoordinateSystem &right) const
Definition: CoordinateSystem.cpp:29
std::ostream & operator<<(std::ostream &os, const CoordinateSystem &cs)
Definition: CoordinateSystem.cpp:37
static CoordinateSystem * getCoordinateSystem(std::string id)
Definition: CoordinateSystem.cpp:33