include
sot
core
double-constant.hh
Go to the documentation of this file.
1
/*
2
* Copyright 2019,
3
* Joseph Mirabel
4
*
5
* LAAS-CNRS
6
*
7
*/
8
9
#ifndef DYNAMICGRAPH_SOT_DOUBLE_CONSTANT_H
10
#define DYNAMICGRAPH_SOT_DOUBLE_CONSTANT_H
11
12
#include <dynamic-graph/entity.h>
13
#include <
dynamic-graph/signal-time-dependent.h
>
14
15
namespace
dynamicgraph
{
16
namespace
sot {
17
18
class
DoubleConstant
:
public
Entity
{
19
public
:
20
static
const
std::string
CLASS_NAME
;
21
virtual
const
std::string &
getClassName
(
void
)
const
{
return
CLASS_NAME
; }
22
23
DoubleConstant
(
const
std::string &
name
);
24
25
virtual
~DoubleConstant
(
void
) {}
26
27
SignalTimeDependent<double, int>
SOUT
;
28
30
void
setValue
(
const
double
&inValue);
31
};
32
33
}
// namespace sot
34
}
// namespace dynamicgraph
35
36
#endif // DYNAMICGRAPH_SOT_DOUBLE_CONSTANT_H
dynamicgraph::sot::DoubleConstant::SOUT
SignalTimeDependent< double, int > SOUT
Definition:
double-constant.hh:27
dynamicgraph::sot::DoubleConstant::CLASS_NAME
static const std::string CLASS_NAME
Definition:
double-constant.hh:20
dynamicgraph::Entity
dynamicgraph::SignalTimeDependent< double, int >
dynamicgraph::sot::DoubleConstant
Definition:
double-constant.hh:18
dynamicgraph::sot::DoubleConstant::DoubleConstant
DoubleConstant(const std::string &name)
Definition:
double-constant.cpp:19
dynamicgraph::sot::DoubleConstant::~DoubleConstant
virtual ~DoubleConstant(void)
Definition:
double-constant.hh:25
signal-time-dependent.h
dynamicgraph::Entity::name
std::string name
dynamicgraph::sot::DoubleConstant::getClassName
virtual const std::string & getClassName(void) const
Definition:
double-constant.hh:21
dynamicgraph
dynamicgraph::sot::DoubleConstant::setValue
void setValue(const double &inValue)
Set value of vector (and therefore of output signal)
Definition:
double-constant.cpp:38
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26