#include <registry.hpp>
|
template<int ID, typename T > |
static bool | add (const std::string &description="") |
|
static bool | isRegistered (const int &id) |
|
template<typename T > |
static bool | isRegisteredWithType (const int &id) |
|
|
template<typename T > |
static void | add_by_type (const int &id) |
|
static std::map< int, std::string > & | ids () |
|
template<typename T > |
static std::set< int > & | ids_by_type () |
|
Definition at line 35 of file registry.hpp.
template<int ID, typename T >
static bool mm_messages::MessageRegistry::add |
( |
const std::string & |
description = "" | ) |
|
|
inlinestatic |
Register a packet id with this typed registry.
- Returns
- bool : false if a packet was already registered.
Definition at line 42 of file registry.hpp.
template<typename T >
static void mm_messages::MessageRegistry::add_by_type |
( |
const int & |
id | ) |
|
|
inlinestaticprivate |
static std::map<int, std::string>& mm_messages::MessageRegistry::ids |
( |
| ) |
|
|
inlinestaticprivate |
template<typename T >
static std::set<int>& mm_messages::MessageRegistry::ids_by_type |
( |
| ) |
|
|
inlinestaticprivate |
static bool mm_messages::MessageRegistry::isRegistered |
( |
const int & |
id | ) |
|
|
inlinestatic |
template<typename T >
static bool mm_messages::MessageRegistry::isRegisteredWithType |
( |
const int & |
id | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: