Struct rustfbp::scheduler::ComponentCache [] [src]

pub struct ComponentCache { /* fields omitted */ }

Keep all the dylib components and load them

Methods

impl ComponentCache
[src]

create a new ComponentCache

Example

let cc = ComponentCache::new();

Load a new component from the system file

Example

try!(cc.create_comp("/home/xxx/components/add.so", "add", sched_sender));

Get the contract of an input port

Example

cc.get_contract_input("add", "input");

Get the contract of an array input port

Example

cc.get_contract_input_array("add", "inputs");

Get the contract of an output port

Example

cc.get_contract_output("add", "output");

Get the contract of an array output port

Example

cc.get_contract_output_array("add", "outputs");

Trait Implementations

impl Send for ComponentCache
[src]