Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
f
g
i
j
l
m
o
p
q
r
s
t
u
v
+
Variables
_
a
b
c
d
e
f
g
i
j
l
m
n
p
r
s
u
v
w
+
Typedefs
c
e
f
i
m
q
r
s
v
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Typedefs
b
d
e
f
k
l
m
s
t
v
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
j
k
m
n
o
p
r
s
t
u
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
+
Functions
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
Variables
+
Typedefs
c
d
e
f
k
r
s
t
Enumerations
Enumerator
+
Macros
_
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
v
include
sot
core
binary-int-to-uint.hh
Go to the documentation of this file.
1
/*
2
* Copyright 2010,
3
* François Bleibel,
4
* Olivier Stasse,
5
*
6
* CNRS/AIST
7
*
8
*/
9
10
#ifndef __SOT_BINARY_INT_TO_UINT_HH__
11
#define __SOT_BINARY_INT_TO_UINT_HH__
12
13
/* --------------------------------------------------------------------- */
14
/* --- INCLUDE --------------------------------------------------------- */
15
/* --------------------------------------------------------------------- */
16
17
/* SOT */
18
#include <
dynamic-graph/all-signals.h
>
19
#include <dynamic-graph/entity.h>
20
21
#include <
sot/core/exception-task.hh
>
22
23
/* --------------------------------------------------------------------- */
24
/* --- API ------------------------------------------------------------- */
25
/* --------------------------------------------------------------------- */
26
27
#if defined(WIN32)
28
#if defined(binary_int_to_uint_EXPORTS)
29
#define SOTBINARYINTTOUINT_EXPORT __declspec(dllexport)
30
#else
31
#define SOTBINARYINTTOUINT_EXPORT __declspec(dllimport)
32
#endif
33
#else
34
#define SOTBINARYINTTOUINT_EXPORT
35
#endif
36
37
namespace
dynamicgraph
{
38
namespace
sot {
39
40
class
SOTBINARYINTTOUINT_EXPORT
BinaryIntToUint
:
public
dynamicgraph::Entity
{
41
public
:
42
static
const
std::string
CLASS_NAME
;
43
virtual
const
std::string &
getClassName
(
void
)
const
{
return
CLASS_NAME; }
44
45
/* --- SIGNALS ------------------------------------------------------------ */
46
public
:
47
dynamicgraph::SignalPtr<int, int>
binaryIntSIN
;
48
dynamicgraph::SignalTimeDependent<unsigned, int>
binaryUintSOUT
;
49
50
public
:
51
BinaryIntToUint
(
const
std::string &
name
);
52
virtual
~BinaryIntToUint
() {}
53
54
virtual
unsigned
&computeOutput(
unsigned
&
res
,
int
time);
55
56
virtual
void
display
(std::ostream &os)
const
;
57
};
58
59
}
/* namespace sot */
60
}
/* namespace dynamicgraph */
61
62
#endif
display
dynamicgraph::Entity
dynamicgraph::sot::BinaryIntToUint::binaryUintSOUT
dynamicgraph::SignalTimeDependent< unsigned, int > binaryUintSOUT
Definition:
binary-int-to-uint.hh:48
dynamicgraph::SignalTimeDependent< unsigned, int >
compile.name
name
Definition:
compile.py:23
dynamicgraph::SignalPtr< int, int >
exception-task.hh
dynamicgraph::sot::BinaryIntToUint::binaryIntSIN
dynamicgraph::SignalPtr< int, int > binaryIntSIN
Definition:
binary-int-to-uint.hh:47
res
res
dynamicgraph::sot::BinaryIntToUint
Definition:
binary-int-to-uint.hh:40
dynamicgraph::sot::BinaryIntToUint::getClassName
virtual const std::string & getClassName(void) const
Definition:
binary-int-to-uint.hh:43
dynamicgraph::sot::BinaryIntToUint::CLASS_NAME
static const std::string CLASS_NAME
Definition:
binary-int-to-uint.hh:42
dynamicgraph::sot::BinaryIntToUint::~BinaryIntToUint
virtual ~BinaryIntToUint()
Definition:
binary-int-to-uint.hh:52
all-signals.h
SOTBINARYINTTOUINT_EXPORT
#define SOTBINARYINTTOUINT_EXPORT
Definition:
binary-int-to-uint.hh:34
dynamicgraph
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26