|
| | generator (timer &timer_r, const std::function< T()> &gen_f, const std::string &name_r="generator") |
| |
|
virtual void | stopped () |
| | implementation of node::stopped().
|
| |
|
virtual void | timer_fired () |
| | The function to pass to the timer as the listener.
|
| |
| virtual void | produce () |
| | Implementation of producer::produce().
|
| |
| | producer (const std::string &name_r, const size_t outs) |
| |
|
virtual size_t | outs () const |
| | Returns the number of output pins.
|
| |
| virtual outpin< T > & | output (const size_t n) |
| | Returns a reference to an outpin pin.
|
| |
| virtual const outpin< T > & | output (const size_t n) const |
| | Returns a const reference to an outpin pin.
|
| |
|
virtual outputs_t & | outputs () |
| | Returns a reference to the container of output pins.
|
| |
|
virtual const outputs_t & | outputs () const |
| | Returns a const reference to the container of output pins.
|
| |
| virtual std::string | rename (const std::string &name_r) |
| | Overrides named::rename.
|
| |
| | node (const std::string &name_r) |
| |
|
| node (node &&node_rr) |
| | Move constructor.
|
| |
|
virtual state::type | state () const |
| | Returns the node's state.
|
| |
| virtual void | started () |
| | Indicates the node has been started.
|
| |
| virtual void | paused () |
| | Indicates the node has been paused.
|
| |
| | named (const std::string &name_r) |
| | Constructor the takes a name.
|
| |
|
| named (named &&name_rr) |
| | Move constructor.
|
| |
|
| named (const named &name_r) |
| | Copy constructor.
|
| |
|
virtual const std::string & | name () const |
| | A const reference to this object's name.
|
| |
template<typename T>
class flow::samples::generic::generator< T >
Concrete producer that generates packets by calling a parameter functor.