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