OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
eagine
message_bus
service_interface.hpp
Go to the documentation of this file.
1
9
#ifndef EAGINE_MESSAGE_BUS_SERVICE_INTERFACE_HPP
10
#define EAGINE_MESSAGE_BUS_SERVICE_INTERFACE_HPP
11
12
#include "../interface.hpp"
13
#include "../types.hpp"
14
15
namespace
eagine::msgbus
{
16
//------------------------------------------------------------------------------
19
struct
service_interface
:
interface
<service_interface> {
20
22
virtual
auto
update_and_process_all
() ->
bool
= 0;
23
};
24
//------------------------------------------------------------------------------
25
}
// namespace eagine::msgbus
26
27
#endif // EAGINE_MESSAGE_BUS_SERVICE_INTERFACE_HPP
28
eagine::interface
Base template for abstract interfaces, implements common functionality.
Definition:
interface.hpp:18
eagine::msgbus
Message bus code is placed in this namespace.
Definition:
eagine.hpp:58
eagine::msgbus::service_interface::update_and_process_all
virtual auto update_and_process_all() -> bool=0
Does an iteration update and processes all received messages.
eagine::msgbus::service_interface
Interface for message bus services.
Definition:
service_interface.hpp:19
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).