All,
A recent git repo update includes a new RCC document in the doc
subdirectory.
This is first update to this model in 2 years, and is actually pretty
modest.
It clarifies that "take" and "send" container functions implicitly
request more data on the input port they take a buffer from.
It clarifies that a run condition with a zero portmask pointer means
always run, and that setting the runcondition back to NULL
restores the default runcondition.
It clarifies that message structures are "padded and packed" so that
sizeof is not rounded up, but members are aligned.
It clarifies that if the message is a top level sequence of fixed length
items there is no embedded "sequence length".
The "new" features are:
- protocol operation enumerations are included in addition to the
per-port operation enumerations
this means that worker code can use protocol-based constants for all
ports that use the same protocol.
- setError container function
this means you can create errors like "printf" without worrying about
storage management. they go into the log at level 8 (info)
- RCC_ADVANCE_DONE
this return value can advance output and indicate "done" with a
single return.
All three features generally make workers a little smaller.
Hopefully an application document update will emerge soon that describes
all the features of XML-based applications.
Jim
_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org