aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/actions_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add unit test for USE_MAP action forwarding policyAaron Rossetto2020-05-281-0/+137
| | | | This commit adds a unit test for the USE_MAP action forwarding policy.
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-7/+6
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* rfnoc: actions: Allow sending actions to selfMartin Braun2019-11-261-2/+5
| | | | | | | | Sending actions to self is useful because calling post_action() from within an action handler will not actually trigger the action. Instead, it will defer delivery of the action. Allowing sending actions to self will allow to add another action, in deterministic order, and the execution of another action handler.
* rfnoc: actions: Add dictionary to all actionsMartin Braun2019-11-261-0/+6
| | | | | | This can be used to set arbitrary key/value pairs on the action object. Easier to use than serialization, but doesn't require custom types, either.
* rfnoc: graph: Add commit/release APIMartin Braun2019-11-261-1/+1
|
* rfnoc: Use RTTI "serialization" for stream commandsMartin Braun2019-11-261-4/+2
| | | | | | | | A small modification to rfnoc::action_info makes it polymorphic, and instead of serializing data structures into a string, this allows creating custom action objects and identifying them via RTTI. The stream command action object is a good example for how to use this, so all the usages of stream command action objects were converted to this scheme.
* rfnoc: Add action APIMartin Braun2019-11-261-0/+81
- Added action_info class - Allow to send actions from node to node - Allow to post actions into nodes - Allow to set default forwarding policies - Added unit tests