Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
4daed1fa
Commit
4daed1fa
authored
Oct 08, 2009
by
Sebastian Eichelbaum
Browse files
[ADD] - added skeleton of data set module
parent
0aea6b7e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
src/kernel/WModule.cpp
src/kernel/WModule.cpp
+1
-0
src/modules/navigationSlices/WNavigationSliceModule.cpp
src/modules/navigationSlices/WNavigationSliceModule.cpp
+3
-1
src/modules/navigationSlices/WNavigationSliceModule.h
src/modules/navigationSlices/WNavigationSliceModule.h
+1
-0
No files found.
src/kernel/WModule.cpp
View file @
4daed1fa
...
...
@@ -46,6 +46,7 @@ WModule::WModule():
WModule
::~
WModule
()
{
// cleanup
removeConnectors
();
}
void
WModule
::
addConnector
(
boost
::
shared_ptr
<
WModuleInputConnector
>
con
)
...
...
src/modules/navigationSlices/WNavigationSliceModule.cpp
View file @
4daed1fa
...
...
@@ -25,6 +25,7 @@
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <boost/shared_ptr.hpp>
...
...
@@ -82,7 +83,8 @@ void WNavigationSliceModule::connectors()
// XXX to add a new connector and to offer it, these simple steps need to be done
// initialize it first
m_Input
=
boost
::
shared_ptr
<
WModuleInputData
<
std
::
list
<
boost
::
shared_ptr
<
WDataSet
>
>
>
>
(
new
WModuleInputData
<
std
::
list
<
boost
::
shared_ptr
<
WDataSet
>
>
>
(
shared_from_this
(),
"in1"
,
"List of datasets to show on the slices."
)
new
WModuleInputData
<
std
::
list
<
boost
::
shared_ptr
<
WDataSet
>
>
>
(
shared_from_this
(),
"in1"
,
"List of datasets to show on the slices."
)
);
// add it to the list of connectors. Please note, that a connector NOT added via addConnector will not work as expected.
...
...
src/modules/navigationSlices/WNavigationSliceModule.h
View file @
4daed1fa
...
...
@@ -26,6 +26,7 @@
#define WNAVIGATIONSLICEMODULE_H
#include <string>
#include <list>
#include <osg/Node>
...
...
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