Public Types
Traits< T > Struct Template Reference

Traits are traits classes to determine the type of a derivative of another type. More...

#include <traits.h>

List of all members.

Public Types

typedef T derivType
typedef T valueType

Detailed Description

template<typename T>
struct Traits< T >

Traits are traits classes to determine the type of a derivative of another type.

For geometric objects the "geometric" derivative is chosen. For example the derivative of a Rotation matrix is NOT a 3x3 matrix containing the derivative of the elements of a rotation matrix. The derivative of the rotation matrix is a Vector corresponding the rotational velocity. Mostly used in template classes and routines to derive a correct type when needed.

You can see this as a compile-time lookuptable to find the type of the derivative.

Example

	Rotation R;
    Traits<Rotation> dR;
   

Definition at line 38 of file traits.h.


Member Typedef Documentation

template<typename T>
typedef T Traits< T >::derivType

Definition at line 40 of file traits.h.

template<typename T>
typedef T Traits< T >::valueType

Definition at line 39 of file traits.h.


The documentation for this struct was generated from the following file:


orocos_kdl
Author(s):
autogenerated on Wed Aug 26 2015 15:14:15