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
Stack Of Tasks
dynamic-graph-python
Commits
ac1e0e43
Commit
ac1e0e43
authored
Nov 29, 2013
by
Florent Lamiraux
Browse files
Comply with modification of interface in SignalBase
isPluged -> isPlugged.
parent
ce83ac7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/signal-base-py.cc
View file @
ac1e0e43
...
@@ -333,7 +333,7 @@ namespace dynamicgraph {
...
@@ -333,7 +333,7 @@ namespace dynamicgraph {
SignalBase
<
int
>*
signal
=
(
SignalBase
<
int
>*
)
pointer
;
SignalBase
<
int
>*
signal
=
(
SignalBase
<
int
>*
)
pointer
;
bool
plugged
=
false
;
bool
plugged
=
false
;
try
{
try
{
plugged
=
signal
->
isPluged
();
plugged
=
signal
->
isPlug
g
ed
();
}
CATCH_ALL_EXCEPTIONS
();
}
CATCH_ALL_EXCEPTIONS
();
if
(
plugged
)
return
PyBool_FromLong
(
1
);
else
return
PyBool_FromLong
(
0
);
if
(
plugged
)
return
PyBool_FromLong
(
1
);
else
return
PyBool_FromLong
(
0
);
...
@@ -352,7 +352,7 @@ namespace dynamicgraph {
...
@@ -352,7 +352,7 @@ namespace dynamicgraph {
SignalBase
<
int
>*
signal
=
(
SignalBase
<
int
>*
)
pointer
;
SignalBase
<
int
>*
signal
=
(
SignalBase
<
int
>*
)
pointer
;
SignalBase
<
int
>*
otherSignal
=
0
;
SignalBase
<
int
>*
otherSignal
=
0
;
try
{
try
{
bool
plugged
=
signal
->
isPluged
();
bool
plugged
=
signal
->
isPlug
g
ed
();
otherSignal
=
signal
->
getPluged
();
otherSignal
=
signal
->
getPluged
();
if
(
!
plugged
||
otherSignal
==
0
)
{
if
(
!
plugged
||
otherSignal
==
0
)
{
std
::
string
msg
=
std
::
string
(
"Signal "
)
+
signal
->
getName
()
std
::
string
msg
=
std
::
string
(
"Signal "
)
+
signal
->
getName
()
...
...
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