m2etis  0.4
KeyFactory< FactoryProvider, KeyProvider > Class Template Reference

KeyFactory. More...

#include <KeyFactory.h>

Inheritance diagram for KeyFactory< FactoryProvider, KeyProvider >:
Inheritance graph

Public Member Functions

m2etis::net::Key< KeyProvider > encodeTopic (const std::string &topic)
 encodes a key More...
 
m2etis::net::Key< KeyProvider > createKey (const std::string &key)
 creates a key More...
 
m2etis::net::Key< KeyProvider > * createKeyPtr (const std::string &key)
 creates a key More...
 

Detailed Description

template<class FactoryProvider, class KeyProvider>
class KeyFactory< FactoryProvider, KeyProvider >

KeyFactory.

Long Desc

Definition at line 37 of file KeyFactory.h.

Member Function Documentation

template<class FactoryProvider , class KeyProvider >
m2etis::net::Key<KeyProvider> KeyFactory< FactoryProvider, KeyProvider >::createKey ( const std::string &  key)
inline

creates a key

Parameters
[in]keykey
Returns
a key object

Definition at line 55 of file KeyFactory.h.

template<class FactoryProvider , class KeyProvider >
m2etis::net::Key<KeyProvider>* KeyFactory< FactoryProvider, KeyProvider >::createKeyPtr ( const std::string &  key)
inline

creates a key

Parameters
[in]keykey
Returns
a pointer to a key object

Definition at line 65 of file KeyFactory.h.

template<class FactoryProvider , class KeyProvider >
m2etis::net::Key<KeyProvider> KeyFactory< FactoryProvider, KeyProvider >::encodeTopic ( const std::string &  topic)
inline

encodes a key

Parameters
[in]topictopic to encode
Returns
a key object

Definition at line 45 of file KeyFactory.h.


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