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 */
19 #include <dynamic-graph/entity.h>
20 
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 
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:
49 
50  public:
51  BinaryIntToUint(const std::string &name);
52  virtual ~BinaryIntToUint() {}
53 
54  virtual unsigned int &computeOutput(unsigned int &res, sigtime_t time);
55 
56  virtual void display(std::ostream &os) const;
57 };
58 
59 } /* namespace sot */
60 } /* namespace dynamicgraph */
61 
62 #endif
dynamicgraph::sot::BinaryIntToUint::~BinaryIntToUint
virtual ~BinaryIntToUint()
Definition: binary-int-to-uint.hh:52
dynamicgraph::sot::BinaryIntToUint::getClassName
virtual const std::string & getClassName(void) const
Definition: binary-int-to-uint.hh:43
dynamicgraph::SignalPtr< int, sigtime_t >
dynamicgraph
dynamicgraph::Entity
dynamicgraph::sigtime_t
int64_t sigtime_t
all-signals.h
display
dynamicgraph::sot::BinaryIntToUint::CLASS_NAME
static const std::string CLASS_NAME
Definition: binary-int-to-uint.hh:42
dynamicgraph::sot::BinaryIntToUint::binaryUintSOUT
dynamicgraph::SignalTimeDependent< unsigned, sigtime_t > binaryUintSOUT
Definition: binary-int-to-uint.hh:48
exception-task.hh
dynamicgraph::SignalTimeDependent< unsigned, sigtime_t >
dynamicgraph::sot::BinaryIntToUint::binaryIntSIN
dynamicgraph::SignalPtr< int, sigtime_t > binaryIntSIN
Definition: binary-int-to-uint.hh:47
dynamicgraph::sot::BinaryIntToUint
Definition: binary-int-to-uint.hh:40
SOTBINARYINTTOUINT_EXPORT
#define SOTBINARYINTTOUINT_EXPORT
Definition: binary-int-to-uint.hh:34
compile.name
name
Definition: compile.py:23


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31