OpenWalker Project
Documentation of the ROS Packages
moment_ref.h
Go to the documentation of this file.
1 
34 #ifndef OPEN_WALKER_CORE_MOMENT_REF_H
35 #define OPEN_WALKER_CORE_MOMENT_REF_H
36 
37 #include <ow_core/vector3_ref.h>
38 
39 namespace ow_core
40 {
51 template <typename _Derived>
52 class MomentRef : public Vector3Ref<_Derived>
53 {
54 public:
55  typedef _Derived Derived;
56  typedef Vector3Ref<Derived> Base;
57 
58 public:
72  explicit MomentRef(Derived& ref, int startRow = 0, int startCol = 0) : Base(ref, startRow, startCol)
73  {
74  }
75 
79  using Base::operator=;
80 
81 private:
85  MomentRef();
86 };
87 
88 } // namespace ow_core
89 
90 #endif // OPEN_WALKER_CORE_MOMENT_REF_H
The MomentRef class.
Definition: moment_ref.h:52
MomentRef(Derived &ref, int startRow=0, int startCol=0)
Default Constructor.
Definition: moment_ref.h:72
The Vector3Ref class.
Definition: vector3_ref.h:53
Definition: angular_acceleration.h:39