#include <combinators.hpp>
|
typedef MessageReturnType | result_type |
|
|
void | set_num_results (size_t num) |
| The function called by the multicast caller to set the number of results.
|
|
bool | add_result (const MessageReturnType &r) |
| The function used by the code generated for multicast messages.
|
|
result_type | result () const |
|
void | reset () |
| Resets the result, so the instance could be reused.
|
|
template<typename MessageReturnType>
class dynamix::combinators::mean< MessageReturnType >
A combinator that calculates an arithmetic mean of all return values in the multicast chain
- Template Parameters
-
MessageReturnType | The actual return type of the messages. |
template<typename MessageReturnType >
The result of the operation if the multicast call has been made with an input/output parameter - an instance of mean
The documentation for this class was generated from the following file: