Last change
on this file since 932 was
827,
checked in by mhnguyen, 8 years ago
|
Implementing dynamic interpolation on axis
+) Change grid transformation to make it more flexible
+) Make some small improvements
Test
+) On Curie
+) All test pass
|
File size:
472 bytes
|
Line | |
---|
1 | #include "filter.hpp" |
---|
2 | |
---|
3 | namespace xios |
---|
4 | { |
---|
5 | CFilter::CFilter(CGarbageCollector& gc, size_t inputSlotsCount, IFilterEngine* engine) |
---|
6 | : CInputPin(gc, inputSlotsCount) |
---|
7 | , COutputPin() |
---|
8 | , engine(engine) |
---|
9 | , inputSlotCount(inputSlotCount) |
---|
10 | { /* Nothing to do */ } |
---|
11 | |
---|
12 | void CFilter::onInputReady(std::vector<CDataPacketPtr> data) |
---|
13 | { |
---|
14 | CDataPacketPtr outputPacket = engine->apply(data); |
---|
15 | if (outputPacket) |
---|
16 | deliverOuput(outputPacket); |
---|
17 | } |
---|
18 | } // namespace xios |
---|
Note: See
TracBrowser
for help on using the repository browser.