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