- 3.0.2 rigid body dynamics module.
TraitSelector.h
Go to the documentation of this file.
1 /**********************************************************************************************************************
2 This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich.
3 Licensed under the BSD-2 license (see LICENSE file in main directory)
4 **********************************************************************************************************************/
5 
6 #pragma once
7 
8 #include "FloatTrait.h"
9 #include "DoubleTrait.h"
10 
11 namespace iit {
12 namespace rbd {
13 namespace tpl {
14 
15 template <typename SCALAR>
17 {
18 
19 };
20 
21 template <>
22 struct TraitSelector<double>
23 {
24  typedef DoubleTrait Trait;
25 };
26 
27 template <>
28 struct TraitSelector<float>
29 {
30  typedef FloatTrait Trait;
31 };
32 
33 } //namespace tpl
34 } // namespace rbd
35 } // namespace iit
36 
Definition: DoubleTrait.h:11
DoubleTrait Trait
Definition: TraitSelector.h:24
FloatTrait Trait
Definition: TraitSelector.h:30
Definition: FloatTrait.h:12
Definition: TraitSelector.h:16