Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python API: management of properties #44

Closed
yoogx opened this issue Jul 7, 2015 · 1 comment
Closed

Python API: management of properties #44

yoogx opened this issue Jul 7, 2015 · 1 comment
Assignees

Comments

@yoogx
Copy link
Contributor

yoogx commented Jul 7, 2015

This ticket is to discuss the management of properties in the Python API. For now, a first design has been implemented. The getPropertyValue returns a list of strings with the value of the property.

Like this:

    -> properties:
      ['source_stack_size', '13952 Bytes']
      ['deadline', '500 ms']
      ['compute_execution_time', '0 ms .. 3 ms']
      ['dispatch_offset', '100 ms']
      ['period', '500 ms']
      ['dispatch_protocol', 'periodic']

This basic design imposes another step of parsing on the user side to retrieve units, process ranges, etc.

A working example is in tests/visitor.py

This ticket is to discuss further enhancement to this initial design.

@yoogx
Copy link
Contributor Author

yoogx commented Jul 29, 2016

The design is mostly satisfactory for now, closing

@yoogx yoogx closed this as completed Jul 29, 2016
@yoogx yoogx self-assigned this Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant