talos-torque-control
1.1.0
Collection of dynamic-graph entities aiming at the implementation of torque control on TALOS.
deprecated.hh
Go to the documentation of this file.
1
/*
2
* This file has been automatically generated by the jrl-cmakemodules.
3
* Please see https://github.com/jrl-umi3218/jrl-cmakemodules/blob/master/deprecated.hh.cmake for details.
4
*/
5
6
#ifndef TALOS_TORQUE_CONTROL_DEPRECATED_HH
7
# define TALOS_TORQUE_CONTROL_DEPRECATED_HH
8
9
// Define a suffix which can be used to tag a type, a function or a a
10
// variable as deprecated (i.e. it will emit a warning when using it).
11
//
12
// Tagging a function as deprecated:
13
// void foo () TALOS_TORQUE_CONTROL_DEPRECATED;
14
//
15
// Tagging a type as deprecated:
16
// class Foo {};
17
// typedef Foo Bar TALOS_TORQUE_CONTROL_DEPRECATED;
18
//
19
// Tagging a variable as deprecated:
20
// int a TALOS_TORQUE_CONTROL_DEPRECATED = 0;
21
//
22
// The use of a macro is required as this is /not/ a standardized
23
// feature of C++ language or preprocessor, even if most of the
24
// compilers support it.
25
# if defined(__GNUC__) || defined(__clang__)
26
# define TALOS_TORQUE_CONTROL_DEPRECATED __attribute__ ((deprecated))
27
# else
28
# if defined(_MSC_VER) && !defined(__INTEL_COMPILER)
29
# define TALOS_TORQUE_CONTROL_DEPRECATED __declspec (deprecated)
30
# else
31
// If the compiler is not recognized, drop the feature.
32
# define TALOS_TORQUE_CONTROL_DEPRECATED
/* nothing */
33
# endif // __MSVC__
34
# endif // __GNUC__
35
36
#endif
include
sot
torque-control
deprecated.hh
Generated by
1.8.13