Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Corentin Bergé
dynamic-graph
Commits
ff0c2241
Commit
ff0c2241
authored
Jan 18, 2019
by
Guilhem Saurel
Browse files
Allow entity to be instanciated, for testing purposes
parent
8d60418c
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/dynamic-graph/entity.h
View file @
ff0c2241
...
...
@@ -78,7 +78,11 @@ namespace dynamicgraph
{
return
name
;
}
virtual
const
std
::
string
&
getClassName
()
const
=
0
;
virtual
const
std
::
string
&
getClassName
()
const
{
static
std
::
string
ret
(
"Entity"
);
return
ret
;
}
virtual
std
::
string
getDocString
()
const
;
bool
hasSignal
(
const
std
::
string
&
signame
)
const
;
SignalBase
<
int
>&
getSignal
(
const
std
::
string
&
signalName
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment