|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
#include "NetworkEvents.hpp"#include "Awaiters/GetPromise.hpp"#include "Awaiters/NetworkAwaiter.hpp"#include "MayaFlux/Vruta/Event.hpp"
Include dependency graph for NetworkEvents.cpp:Go to the source code of this file.
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Kriya |
Functions | |
| Vruta::Event | MayaFlux::Kriya::on_message (std::shared_ptr< Vruta::NetworkSource > source, std::function< void(const Core::NetworkMessage &)> callback) |
| Creates an Event coroutine that fires on every message received by a source. | |
| Vruta::Event | MayaFlux::Kriya::on_message_from (std::shared_ptr< Vruta::NetworkSource > source, std::string sender_address, std::function< void(const Core::NetworkMessage &)> callback) |
| Creates an Event coroutine that fires only for messages from a specific sender. | |
| Vruta::Event | MayaFlux::Kriya::on_message_matching (std::shared_ptr< Vruta::NetworkSource > source, std::function< bool(const Core::NetworkMessage &)> predicate, std::function< void(const Core::NetworkMessage &)> callback) |
| Creates an Event coroutine that fires only when a predicate matches. | |