Trait bpxe::activity::Activity[][src]

pub trait Activity: FlowNode {
    fn execute(&mut self);

    fn input_sets(&mut self, input_sets: Vec<InputSet>) { ... }
fn take_output_sets(&mut self) -> Option<Vec<OutputSet>> { ... } }

Required methods

fn execute(&mut self)[src]

Signals execution request

Loading content...

Provided methods

fn input_sets(&mut self, input_sets: Vec<InputSet>)[src]

Reports input sets

Default implementation does nothing

fn take_output_sets(&mut self) -> Option<Vec<OutputSet>>[src]

Polls for output sets

ActivityContainer expects this function to be non-idempotent, that is, the implementation should not return the same output set twice. The output sets stored in the implementation should be moved out via Some(...).

Default implementation returns None

Loading content...

Implementors

impl Activity for Task[src]

Loading content...