diff options
Diffstat (limited to 'NT/src/rotor.h')
| -rw-r--r-- | NT/src/rotor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/NT/src/rotor.h b/NT/src/rotor.h index 485ec8c..2ddf3ee 100644 --- a/NT/src/rotor.h +++ b/NT/src/rotor.h @@ -28,6 +28,7 @@ seperate framework? ie in Python- load server- send http commands #include "xmlIO.h" #include "libavwrapper.h" +#include "cvimage.h" #include "Poco/Logger.h" #include "Poco/Channel.h" @@ -330,7 +331,7 @@ namespace Rotor { template <class NT> class Node_type : public Node { public: - virtual const NT& get_output(const Frame_parameters &frame){return value;}; + virtual const NT& get_output(const Frame_parameters &frame){return result;}; void init(Json::Value settings){ if (!settings["vars"].empty()){ for ( uint32_t i = 0; i < settings["vars"].size(); ++i ) { @@ -357,7 +358,7 @@ namespace Rotor { return (dynamic_cast<Variable_array_type<IT>*>(vars[name])); } protected: - NT value; //every node has an internal value so it can return a reference + NT result; //internal value is returned as a reference }; } |
