- 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>
16
struct
TraitSelector
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
iit::rbd::DoubleTrait
Definition:
DoubleTrait.h:11
iit::rbd::tpl::TraitSelector< double >::Trait
DoubleTrait Trait
Definition:
TraitSelector.h:24
iit::rbd::tpl::TraitSelector< float >::Trait
FloatTrait Trait
Definition:
TraitSelector.h:30
iit
iit::rbd::FloatTrait
Definition:
FloatTrait.h:12
DoubleTrait.h
FloatTrait.h
iit::rbd::tpl::TraitSelector
Definition:
TraitSelector.h:16
include
ct
iit
rbd
traits
TraitSelector.h
Generated on Wed Feb 19 2020 15:14:47 by
1.8.13