wiki:DsxTcg

Version 2 (modified by Nicolas Pouillon, 17 years ago) (diff)

--

Task and Control Graph

As the main data flow should go through MwMr, interconnecting the tasks should make a graph.

A Tcg is the overview of your application. It defines what are the instanciated tasks, and how they interact.

tcg = Tcg( Task("instance_name1", 'task_model1', { .. }),
           Task("instance_name2", 'task_model2', { .. }),
           Task("instance_name3", 'task_model3', { .. }) )

Accessing data

If you need reference to a resource or a task instance later (for example for mapping), you may refer to them by name:

task_obj = tcg["instance_name1"]
mwmr_obj = tcg["fifo1"]