Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin-GUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yehaojie
plugin-GUI
Commits
aaa15760
Commit
aaa15760
authored
11 years ago
by
jsiegle
Browse files
Options
Downloads
Patches
Plain Diff
Remove unnecessary processor types
parent
671b944c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/Processors/ProcessorGraph.cpp
+3
-45
3 additions, 45 deletions
Source/Processors/ProcessorGraph.cpp
with
3 additions
and
45 deletions
Source/Processors/ProcessorGraph.cpp
+
3
−
45
View file @
aaa15760
...
...
@@ -518,11 +518,6 @@ GenericProcessor* ProcessorGraph::createProcessorFromDescription(String& descrip
processor
=
new
FileReader
();
std
::
cout
<<
"Creating a new file reader."
<<
std
::
endl
;
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Network Events"
))
{
std
::
cout
<<
"Creating a new network events source."
<<
std
::
endl
;
processor
=
new
NetworkEvents
(
zmqcontext
);
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Serial Port"
))
{
processor
=
new
SerialInput
();
...
...
@@ -544,12 +539,6 @@ GenericProcessor* ProcessorGraph::createProcessorFromDescription(String& descrip
std
::
cout
<<
"Creating a new filter."
<<
std
::
endl
;
processor
=
new
FilterNode
();
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Resampler"
))
{
std
::
cout
<<
"Creating a new resampler."
<<
std
::
endl
;
processor
=
new
ResamplingNode
();
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Spike Detector"
))
{
...
...
@@ -566,21 +555,11 @@ GenericProcessor* ProcessorGraph::createProcessorFromDescription(String& descrip
std
::
cout
<<
"Creating a new phase detector."
<<
std
::
endl
;
processor
=
new
PhaseDetector
();
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Digital Ref"
))
{
std
::
cout
<<
"Creating a new digital reference."
<<
std
::
endl
;
processor
=
new
ReferenceNode
();
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Channel Map"
))
{
std
::
cout
<<
"Creating a new channel mapping node."
<<
std
::
endl
;
processor
=
new
ChannelMappingNode
();
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Eye Tracking"
))
{
std
::
cout
<<
"Creating a ISCAN source."
<<
std
::
endl
;
processor
=
new
ISCANnode
();
}
}
sendActionMessage
(
"New filter node created."
);
...
...
@@ -614,10 +593,6 @@ GenericProcessor* ProcessorGraph::createProcessorFromDescription(String& descrip
sendActionMessage
(
"New record controller created."
);
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Advancers"
))
{
std
::
cout
<<
"Creating a new advancers node."
<<
std
::
endl
;
processor
=
new
AdvancerNode
();
}
}
...
...
@@ -628,31 +603,14 @@ GenericProcessor* ProcessorGraph::createProcessorFromDescription(String& descrip
{
std
::
cout
<<
"Creating an LfpDisplayNode."
<<
std
::
endl
;
processor
=
new
LfpDisplayNode
();
// std::cout << "Graph data viewport: " << UI->getDataViewport() << std::endl;
// processor->setDataViewport(getDataViewport());
//processor->setUIComponent(UI);
}
// else if (subProcessorType.equalsIgnoreCase("LFP Trig. Avg."))
// {
// std::cout << "Creating an LfpTrigAvgNode." << std::endl;
// processor = new LfpTriggeredAverageNode();
// }
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Spike Viewer"
))
{
std
::
cout
<<
"Creating a SpikeDisplayNode."
<<
std
::
endl
;
processor
=
new
SpikeDisplayNode
();
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"PSTH"
))
{
std
::
cout
<<
"Creating a PSTH sink."
<<
std
::
endl
;
processor
=
new
PeriStimulusTimeHistogramNode
();
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Network Sink"
))
{
std
::
cout
<<
"Creating a Network sink."
<<
std
::
endl
;
processor
=
new
NetworkSinkNode
(
zmqcontext
);
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"WiFi Output"
))
{
std
::
cout
<<
"Creating a WiFi node."
<<
std
::
endl
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment