Taskolib  1.3.3
Namespaces | Functions
send_message.h File Reference

Detailed Description

Declaration of the send_message() function.

Author
Lars Fröhlich
Date
Created on January 30, 2023, based on older code

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

#include <gul14/string_view.h>
#include "taskolib/CommChannel.h"
#include "taskolib/Context.h"
#include "taskolib/Message.h"
#include "taskolib/StepIndex.h"
Include dependency graph for send_message.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 task
 Namespace task contains all Taskolib functions and classes.
 

Functions

void task::send_message (Message::Type type, gul14::string_view text, TimePoint timestamp, OptionalStepIndex index, const Context &context, CommChannel *comm_channel=nullptr)
 Call the message callback and enqueue the message in the given communication channel, if any. More...