m2etis
0.4
|
The C++-wrapper around chimera. More...
#include <ChimeraWrapperImpl.h>
Public Member Functions | |
virtual | ~ChimeraWrapperImpl () |
void | init (const int port) |
void | init (const int port, const std::string &known_hostname, const int know_hostport) |
void | send (const typename message::NetworkMessage< net::NetworkType< net::CHIMERA >>::Ptr msg, typename net::NodeHandle< net::NetworkType< net::CHIMERA >>::Ptr_const hint) |
void | send (const typename message::NetworkMessage< net::NetworkType< net::CHIMERA >>::Ptr msg) |
net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr | getSelfNodeHandle () const |
std::list< net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr > | local_lookup (const net::NetworkType< net::CHIMERA >::Key &key, const int num, const bool safe) const |
bool | isResponsibleFor (const net::NetworkType< net::CHIMERA >::Key &key, const net::NetworkType< net::CHIMERA >::Key &node) const |
std::list< net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr > | neighborSet (const int num) const |
std::list< net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr > | replicaSet (const net::NetworkType< net::CHIMERA >::Key &key, const int maxRank) const |
bool | range (const net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr node, const int rank, const net::NetworkType< net::CHIMERA >::Key &lkey, const net::NetworkType< net::CHIMERA >::Key &rkey) const |
void | registerMessageType (const message::MessageType type, const bool ack) const |
Friends | |
class | ChimeraWrapper |
The C++-wrapper around chimera.
This class will have a global instance due to chimeras need for functionpointers for upcalling into the application. Using static methods for that …
Definition at line 49 of file ChimeraWrapperImpl.h.
|
inlinevirtual |
Definition at line 108 of file ChimeraWrapperImpl.h.
net::NodeHandle<net::NetworkType<net::CHIMERA> >::Ptr m2etis::wrapper::chimera::ChimeraWrapperImpl::getSelfNodeHandle | ( | ) | const |
void m2etis::wrapper::chimera::ChimeraWrapperImpl::init | ( | const int | port | ) |
void m2etis::wrapper::chimera::ChimeraWrapperImpl::init | ( | const int | port, |
const std::string & | known_hostname, | ||
const int | know_hostport | ||
) |
bool m2etis::wrapper::chimera::ChimeraWrapperImpl::isResponsibleFor | ( | const net::NetworkType< net::CHIMERA >::Key & | key, |
const net::NetworkType< net::CHIMERA >::Key & | node | ||
) | const |
std::list<net::NodeHandle<net::NetworkType<net::CHIMERA> >::Ptr> m2etis::wrapper::chimera::ChimeraWrapperImpl::local_lookup | ( | const net::NetworkType< net::CHIMERA >::Key & | key, |
const int | num, | ||
const bool | safe | ||
) | const |
std::list<net::NodeHandle<net::NetworkType<net::CHIMERA> >::Ptr> m2etis::wrapper::chimera::ChimeraWrapperImpl::neighborSet | ( | const int | num | ) | const |
bool m2etis::wrapper::chimera::ChimeraWrapperImpl::range | ( | const net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr | node, |
const int | rank, | ||
const net::NetworkType< net::CHIMERA >::Key & | lkey, | ||
const net::NetworkType< net::CHIMERA >::Key & | rkey | ||
) | const |
void m2etis::wrapper::chimera::ChimeraWrapperImpl::registerMessageType | ( | const message::MessageType | type, |
const bool | ack | ||
) | const |
std::list<net::NodeHandle<net::NetworkType<net::CHIMERA> >::Ptr> m2etis::wrapper::chimera::ChimeraWrapperImpl::replicaSet | ( | const net::NetworkType< net::CHIMERA >::Key & | key, |
const int | maxRank | ||
) | const |
void m2etis::wrapper::chimera::ChimeraWrapperImpl::send | ( | const typename message::NetworkMessage< net::NetworkType< net::CHIMERA >>::Ptr | msg, |
typename net::NodeHandle< net::NetworkType< net::CHIMERA >>::Ptr_const | hint | ||
) |
void m2etis::wrapper::chimera::ChimeraWrapperImpl::send | ( | const typename message::NetworkMessage< net::NetworkType< net::CHIMERA >>::Ptr | msg | ) |
|
friend |
Definition at line 50 of file ChimeraWrapperImpl.h.