Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadSpecialModules
Commits
ee64cc8d
Commit
ee64cc8d
authored
Feb 01, 2017
by
yannick legoc
Browse files
Added test for subscriber in tas::RemoteMatlabPub
parent
fe13ab42
Changes
1
Show whitespace changes
Inline
Side-by-side
src/controllers/remotetas/RemoteMatlabPub.cpp
View file @
ee64cc8d
...
...
@@ -54,6 +54,9 @@ RemoteMatlabPub::RemoteMatlabPub(const RemoteMatlabPub& controller) :
RemoteMatlabPub
::~
RemoteMatlabPub
()
{
// Test the subscriber
if
(
m_subscriber
.
get
()
!=
0
)
{
// Stop the subscriber
m_subscriber
->
cancel
();
...
...
@@ -67,6 +70,7 @@ RemoteMatlabPub::~RemoteMatlabPub() {
application
::
State
state
=
m_matlabApplication
->
waitFor
();
cout
<<
"Matlab application terminated with state "
<<
application
::
toString
(
state
)
<<
endl
;
}
}
void
RemoteMatlabPub
::
postConfiguration
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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