17 #ifndef __M2ETIS_WRAPPER_CHIMERA_CHIMERARESPONSIBLE_H__
18 #define __M2ETIS_WRAPPER_CHIMERA_CHIMERARESPONSIBLE_H__
27 #include "chimera/key.h"
31 extern "C" char *
sha1_keygen(
char * key,
size_t digest_size,
char * digest);
41 char * got =
sha1_keygen(const_cast<char*>(topic.c_str()), topic.size(), 0);
42 root_ = std::string(got);
53 return wrapper::chimera::ChimeraWrapperImpl::GetSingletonPtr()->isResponsibleFor(
getRoot(), self_);
char * sha1_keygen(char *key, size_t digest_size, char *digest)
void setSelf(const std::string &self)
ChimeraResponsible(const std::string &topic)
std::string getRoot() const
bool isResponsible() const
virtual ~ChimeraResponsible()