helics
3.5.2
|
#include <MessageOperators.hpp>
Public Member Functions | |
CloneOperator ()=default | |
CloneOperator (std::function< std::vector< std::unique_ptr< Message >>(const Message *)> userCloneFunction) | |
void | setCloneFunction (std::function< std::vector< std::unique_ptr< Message >>(const Message *)> userCloneFunction) |
virtual bool | isMessageGenerating () const override |
Public Member Functions inherited from helics::FilterOperator | |
FilterOperator ()=default | |
virtual | ~FilterOperator ()=default |
std::unique_ptr< Message > | operator() (std::unique_ptr< Message > message) |
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
|
inlineoverridevirtual |
indicator if the filter Operator has the capability of generating completely new messages or redirecting messages
Reimplemented from helics::FilterOperator.
void helics::CloneOperator::setCloneFunction | ( | std::function< std::vector< std::unique_ptr< Message >>(const Message *)> | userCloneFunction | ) |
set the function to modify the data of the message