tests
custom_entity.h
Go to the documentation of this file.
1
/* Copyright 2020 LAAS, CNRS
2
* Joseph Mirabel
3
*
4
*/
5
6
#define ENABLE_RT_LOG
7
8
#include <dynamic-graph/entity.h>
9
#include <
dynamic-graph/signal-ptr.h
>
10
#include <
dynamic-graph/signal-time-dependent.h
>
11
12
#include <sstream>
13
14
namespace
dynamicgraph
{
15
class
CustomEntity
:
public
Entity
{
16
public
:
17
dynamicgraph::SignalPtr<double, int>
m_sigdSIN
;
18
dynamicgraph::SignalTimeDependent<double, int>
m_sigdTimeDepSOUT
;
19
20
DYNAMIC_GRAPH_ENTITY_DECL();
21
CustomEntity
(
const
std::string n);
22
23
void
addSignal
();
24
25
void
rmValidSignal
();
26
27
double
&
update
(
double
&
res
,
const
int
&inTime);
28
29
void
act();
30
};
31
}
// namespace dynamicgraph
CustomEntity
dynamicgraph::CustomEntity::rmValidSignal
void rmValidSignal()
Definition:
custom_entity.cpp:44
dynamicgraph::SignalTimeDependent< double, int >
dynamicgraph::SignalPtr< double, int >
dynamicgraph::CustomEntity::m_sigdSIN
dynamicgraph::SignalPtr< double, int > m_sigdSIN
Definition:
custom_entity.h:17
signal-time-dependent.h
dynamicgraph::CustomEntity::update
double & update(double &res, const int &inTime)
Definition:
custom_entity.cpp:49
signal-ptr.h
dynamicgraph::CustomEntity::addSignal
void addSignal()
Definition:
custom_entity.cpp:40
dynamicgraph::CustomEntity::CustomEntity
CustomEntity(const std::string &n)
dynamicgraph::Entity::Entity
Entity(const std::string &name)
res
res
dynamicgraph::CustomEntity::m_sigdTimeDepSOUT
dynamicgraph::SignalTimeDependent< double, int > m_sigdTimeDepSOUT
Definition:
custom_entity.h:18
dynamicgraph
dynamic-graph-python
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:55:50