senf::detail::PacketRegistryImpl< KeyType > Class Template Reference

Internal: Singleton class implementing the packet registry. More...
Inheritance diagram for senf::detail::PacketRegistryImpl< KeyType >:
Inheritance graph
[legend]

List of all members.


Detailed Description

template<class KeyType>
class senf::detail::PacketRegistryImpl< KeyType >

Internal: Singleton class implementing the packet registry.

For internal use only.

Definition at line 79 of file PacketRegistry.ih.


Classes

struct   ByKey
struct   ByType
struct   Entry
struct   EntryImpl
struct   RegistryIndices

Public Types

typedef KeyType  key_t
typedef Registry::template
index< ByKey >
::type::const_iterator 
iterator

Public Member Functions

template<class PacketType >
void  registerPacket (key_t key, int priority=0)
template<class PacketType >
void  unregisterPacket ()
void  unregisterPacket (key_t key, int priority=0)
key_t  key (senf::TypeIdValue const &type)
boost::optional< key_t key (senf::TypeIdValue const &type, bool)
Entry const &  lookup (key_t key)
Entry const *  lookup (key_t key, bool)
iterator  begin () const
iterator  end () const

Structors and default members

  PacketRegistryImpl (std::string const &name)

Member Typedef Documentation

template<class KeyType>
typedef Registry::template index<ByKey>::type::const_iterator senf::detail::PacketRegistryImpl< KeyType >::
iterator

Definition at line 138 of file PacketRegistry.ih.

template<class KeyType>
typedef KeyType senf::detail::PacketRegistryImpl< KeyType >::
key_t

Definition at line 83 of file PacketRegistry.ih.


Constructor & Destructor Documentation

template<class KeyType >
senf::detail::PacketRegistryImpl< KeyType >::
PacketRegistryImpl ( std::string const &  name )

Definition at line 149 of file PacketRegistry.cti.


Member Function Documentation

template<class KeyType >
senf::detail::PacketRegistryImpl< KeyType >::iterator senf::detail::PacketRegistryImpl< KeyType >::
begin ()

Definition at line 156 of file PacketRegistry.cti.

template<class KeyType >
senf::detail::PacketRegistryImpl< KeyType >::iterator senf::detail::PacketRegistryImpl< KeyType >::
end ()

Definition at line 164 of file PacketRegistry.cti.

template<class KeyType >
boost::optional< typename senf::detail::PacketRegistryImpl< KeyType >::key_t > senf::detail::PacketRegistryImpl< KeyType >::
key ( senf::TypeIdValue const &  type,
bool  )

Definition at line 129 of file PacketRegistry.ct.

template<class KeyType >
senf::detail::PacketRegistryImpl< KeyType >::key_t senf::detail::PacketRegistryImpl< KeyType >::
key ( senf::TypeIdValue const &  type )

Definition at line 119 of file PacketRegistry.ct.

template<class KeyType >
senf::detail::PacketRegistryImpl< KeyType >::Entry const * senf::detail::PacketRegistryImpl< KeyType >::
lookup ( key_t  key,
bool  )

Definition at line 151 of file PacketRegistry.ct.

template<class KeyType >
senf::detail::PacketRegistryImpl< KeyType >::Entry const & senf::detail::PacketRegistryImpl< KeyType >::
lookup ( key_t  key )

Definition at line 141 of file PacketRegistry.ct.

template<class KeyType >
template<class PacketType >
void senf::detail::PacketRegistryImpl< KeyType >::
registerPacket ( key_t  key,
int  priority = 0 )

Definition at line 92 of file PacketRegistry.ct.

template<class KeyType >
void senf::detail::PacketRegistryImpl< KeyType >::
unregisterPacket ( key_t  key,
int  priority = 0 )

Definition at line 108 of file PacketRegistry.ct.

template<class KeyType >
template<class PacketType >
void senf::detail::PacketRegistryImpl< KeyType >::
unregisterPacket ()

Definition at line 102 of file PacketRegistry.ct.


The documentation for this class was generated from the following files: