helics
3.5.2
|
#include <MessageOperators.hpp>
Public Member Functions | |
MessageConditionalOperator ()=default | |
MessageConditionalOperator (std::function< bool(const Message *)> userConditionalFunction) | |
void | setConditionFunction (std::function< bool(const Message *)> userConditionFunction) |
Public Member Functions inherited from helics::FilterOperator | |
FilterOperator ()=default | |
virtual | ~FilterOperator ()=default |
virtual std::vector< std::unique_ptr< Message > > | processVector (std::unique_ptr< Message > message) |
std::unique_ptr< Message > | operator() (std::unique_ptr< Message > message) |
virtual bool | isMessageGenerating () const |
class defining an message operator that either passes the message or not
the evaluation function used should return true if the message should be allowed through false if it should be dropped
|
default |
default constructor
|
explicit |
set the function to modify the data of the message in the constructor
void helics::MessageConditionalOperator::setConditionFunction | ( | std::function< bool(const Message *)> | userConditionFunction | ) |
set the function to modify the data of the message