Skip to content

Commit c8e8c81

Browse files
committed
Fixed bug with stopPipeline error in custom python process objects
1 parent 1090b12 commit c8e8c81

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/FAST/Python/ProcessObjects.i.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@
6262
ProcessObject::createOutputPort<DataObject>(port);
6363
}
6464

65+
virtual void stopPipeline() override {
66+
ProcessObject::stopPipeline();
67+
}
68+
6569
}; // end class python process object
6670

6771
class PythonStreamer : public Streamer {
@@ -114,6 +118,9 @@
114118
void frameAdded() {
115119
Streamer::frameAdded();
116120
}
121+
virtual void stopPipeline() override {
122+
Streamer::stopPipeline();
123+
}
117124
}; // end class python streamer
118125

119126

@@ -198,6 +205,9 @@
198205
void setFramerate(int framerate) {
199206
RandomAccessStreamer::setFramerate(framerate);
200207
}
208+
virtual void stopPipeline() override {
209+
RandomAccessStreamer::stopPipeline();
210+
}
201211
}; // end class python random access streamer
202212
} // end namespace
203213
%}

0 commit comments

Comments
 (0)