Skip to content
Snippets Groups Projects
Commit b1f265a7 authored by Enrico Guiraud's avatar Enrico Guiraud
Browse files

[TDF] Better interplay between TDFActions and Operations

This extensive refactoring standardizes and simplifies the way `TDataFrameActions`
and `Operations` work together.

- logic should be clearer
- avoid the creation of an intermediate shared pointer and lambda function
  that were passed to the `TDFAction`
- `TDFActions` are now templated on the `Operation` type rather than on the
  type of a callable, possibly reducing the total number of template
  specializations of large applications
- `TDFAction` now directly stores the relevant operation as data member
- `TDFAction::Run` calls `Operation::Exec`
- `~TDFaction` calls `Operation::Finalize`
- `ForeachSlot` is now implemented in terms of an `Operation`
  like all other actions
parent 8380e121
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment