| helics 3.6.1

Public Member Functions | List of all members
helics::MessageTimeOperator Class Reference

`#include <MessageOperators.hpp>`

Inheritance diagram for helics::MessageTimeOperator:

## Public Member Functions
| MessageTimeOperator ()=default
| MessageTimeOperator (std::function< Time(Time)> userTimeFunction)
void | setTimeFunction (std::function< Time(Time)> userTimeFunction)
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

## Detailed Description

class defining an message operator that operates purely on the time aspect of a message

## Constructor & Destructor Documentation

## ◆ MessageTimeOperator() [1/2]

helics::MessageTimeOperator::MessageTimeOperator | ( |  | ) |
| default

default constructor

## ◆ MessageTimeOperator() [2/2]

helics::MessageTimeOperator::MessageTimeOperator | ( | std::function< Time(Time)> | userTimeFunction | ) |
| explicit

set the function to modify the time of the message in the constructor

## Member Function Documentation

## ◆ setTimeFunction()

void helics::MessageTimeOperator::setTimeFunction | ( | std::function< Time(Time)> | userTimeFunction | ) |

set the function to modify the time of the message

The documentation for this class was generated from the following files:

- MessageOperators.hpp
- MessageOperators.cpp