24 #ifndef __KEYFACTORY_H__
25 #define __KEYFACTORY_H__
27 #include "m2etis/net/key/Key.h"
36 template<
class FactoryProv
ider,
class KeyProv
ider>
45 m2etis::net::Key<KeyProvider>
encodeTopic(
const std::string & topic) {
55 m2etis::net::Key<KeyProvider>
createKey(
const std::string & key) {
65 m2etis::net::Key<KeyProvider> *
createKeyPtr(
const std::string & key) {
m2etis::net::Key< KeyProvider > createKey(const std::string &key)
creates a key
m2etis::net::Key< KeyProvider > encodeTopic(const std::string &topic)
encodes a key
m2etis::net::Key< KeyProvider > * createKeyPtr(const std::string &key)
creates a key