mal-packet-weaver
C++20 packet serialization/deserialization library.
Loading...
Searching...
No Matches
packet-dispatcher.hpp File Reference
#include "packet.hpp"
#include "packet-dispatcher.inl"
Include dependency graph for packet-dispatcher.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mal_packet_weaver::PacketDispatcher
 The PacketDispatcher class is responsible for managing packet dispatching and handling. More...
 
class  mal_packet_weaver::PacketDispatcher::SynchronizationWrapper< Value >
 A wrapper class for synchronizing and processing data. More...
 

Namespaces

namespace  mal_packet_weaver
 This is the main namespace for the Mal Packet Weaver library.
 

Typedefs

template<typename DerivedPacket , typename... Args>
using mal_packet_weaver::PacketHandlerFunc = std::function<void(Args..., std::unique_ptr<DerivedPacket>)>
 Callback function type to handle packets asynchronously.
 
template<typename DerivedPacket , typename... Args>
using mal_packet_weaver::PacketFilterFunc = std::function<bool(Args..., DerivedPacket const &)>
 Predicate function type to filter packets.