A class that represents in Input type to be used in a Component.
More...
#include <context.h>
|
| | Input (Component const *component, std::string const &name, std::function< void(TArg)> const &f, InputConfig const &config=InputConfig()) |
| | Default constructor, takes its component, its name, a callback function and its configuration. More...
|
| |
| | ~Input () |
| | Default destructor. More...
|
| |
| Input< TArg > & | connect (boost::signals2::signal< void(TArg)> &signal) |
| | Add a connection between the input signal with the internal signal_slot function. More...
|
| |
| void | send (TArg const &value) |
| | Call the actual function and send the result through the signal. More...
|
| |
| Uri const & | uri () const |
| | Returns the unique uri of the input. More...
|
| |
template<class TArg>
class farm_ng::Input< TArg >
A class that represents in Input type to be used in a Component.
◆ Input()
Default constructor, takes its component, its name, a callback function and its configuration.
Templated Input constructor.
Convention: If the variable name of the input is in_foo_, then name shall be foo.
◆ ~Input()
◆ connect()
Add a connection between the input signal with the internal signal_slot function.
◆ send()
Call the actual function and send the result through the signal.
◆ uri()
Returns the unique uri of the input.
The documentation for this class was generated from the following files:
- projects/farm-ng-core/cpp/farm_ng/core/pipeline/context.h
- projects/farm-ng-core/cpp/farm_ng/core/pipeline/input.h
- projects/farm-ng-core/cpp/farm_ng/core/pipeline/component.h