m2etis  0.4
m2etis::wrapper::chimera::ChimeraWrapperImpl Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual m2etis::wrapper::chimera::ChimeraWrapperImpl::~ChimeraWrapperImpl ( )
inlinevirtual

Definition at line 108 of file ChimeraWrapperImpl.h.

Member Function Documentation

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)

Friends And Related Function Documentation

friend class ChimeraWrapper
friend

Definition at line 50 of file ChimeraWrapperImpl.h.


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