Rosetta Utilities  2014.35
Classes | Typedefs | Enumerations | Functions | Variables
basic::message_listening Namespace Reference

Classes

class  DbMoverMessageListener
 
class  MessageListener
 
class  MessageListenerFactory
 

Typedefs

typedef
utility::pointer::owning_ptr
< DbMoverMessageListener
DbMoverMessageListenerOP
 
typedef
utility::pointer::owning_ptr
< DbMoverMessageListener const > 
DbMoverMessageListenerCOP
 
typedef
utility::pointer::owning_ptr
< MessageListener
MessageListenerOP
 
typedef
utility::pointer::owning_ptr
< MessageListener const > 
MessageListenerCOP
 

Enumerations

enum  listener_tags { DATABASE_PROTOCOL_AND_BATCH_ID_TAG = 42 }
 MessageListener id tags note: please add string conversion to util.cc/hh. More...
 

Functions

string request_data_from_head_node (listener_tags MPI_ONLY(listener_tag), string const &MPI_ONLY(data))
 used for message passing to the MPIWorkPoolJobDistributor. This function will ask the head node for data. The type of data returned is based on the type of listener created based on the listener_tags of the MessageListenerFactory More...
 
void send_data_to_head_node (std::string const &MPI_ONLY(data))
 
std::string listener_tag_to_name (listener_tags tag)
 
listener_tags name_to_listener_tag (std::string const &listener_tag_name)
 
std::string request_data_from_head_node (listener_tags listener_tag, std::string const &data)
 send mpi message to head node in order to request data. The data sent back will be a string formatted by the listener specified in the listener_tags enum of MessageListenerFactory More...
 
void send_data_to_head_node (std::string const &data)
 

Variables

static basic::Tracer TR ("basic.message_listening.DbMoverMessageListener")
 
static basic::Tracer TR ("basic.message_listening.MessageListenerFactory")
 
static basic::Tracer TR ("basic.message_listening")
 

Typedef Documentation

Enumeration Type Documentation

MessageListener id tags note: please add string conversion to util.cc/hh.

Enumerator
DATABASE_PROTOCOL_AND_BATCH_ID_TAG 

Function Documentation

std::string basic::message_listening::listener_tag_to_name ( listener_tags  tag)
listener_tags basic::message_listening::name_to_listener_tag ( std::string const &  listener_tag_name)
std::string basic::message_listening::request_data_from_head_node ( listener_tags  listener_tag,
std::string const &  data 
)

send mpi message to head node in order to request data. The data sent back will be a string formatted by the listener specified in the listener_tags enum of MessageListenerFactory

string basic::message_listening::request_data_from_head_node ( listener_tags   MPI_ONLYlistener_tag,
string const &  MPI_ONLYdata 
)

used for message passing to the MPIWorkPoolJobDistributor. This function will ask the head node for data. The type of data returned is based on the type of listener created based on the listener_tags of the MessageListenerFactory

References basic::Tracer::Debug, listener_tag_to_name(), utility::receive_string_from_node(), utility::send_string_to_node(), TR, and utility_exit_with_message.

void basic::message_listening::send_data_to_head_node ( std::string const &  data)
void basic::message_listening::send_data_to_head_node ( std::string const &  MPI_ONLYdata)

Variable Documentation

basic::Tracer basic::message_listening::TR("basic.message_listening.DbMoverMessageListener")
static
basic::Tracer basic::message_listening::TR("basic.message_listening.MessageListenerFactory")
static
basic::Tracer basic::message_listening::TR("basic.message_listening")
static