Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
utility::SimulateMPIMessage Class Reference

#include <SimulateMPI.hh>

Inheritance diagram for utility::SimulateMPIMessage:
Inheritance graph
[legend]

Public Member Functions

 SimulateMPIMessage ()
 
void src (platform::Size source)
 
void dst (platform::Size destination)
 
platform::Size src () const
 
platform::Size dst () const
 
void mark_as_processed ()
 
bool processed () const
 
void set_index (platform::Size setting)
 the SimulateMPIData class is responsible for setting the index of a message More...
 
void set_char_msg (char setting)
 
void set_integer_msg (int setting)
 
void set_size_msg (platform::Size setting)
 
void set_string_msg (std::string const &setting)
 
void set_double_msg (double setting)
 
void set_integers_msg (utility::vector1< int > const &setting)
 
void set_sizes_msg (utility::vector1< platform::Size > const &setting)
 
void set_doubles_msg (utility::vector1< double > const &setting)
 
platform::Size index () const
 
simulate_mpi_message_type msg_type () const
 
char char_msg () const
 
int integer_msg () const
 
platform::Size size_msg () const
 
std::string const & string_msg () const
 
double double_msg () const
 
utility::vector1< int > const & integers_msg () const
 
utility::vector1
< platform::Size > const & 
sizes_msg () const
 
utility::vector1< double > const & doubles_msg () const
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

platform::Size index_
 
platform::Size src_
 
platform::Size dst_
 
bool processed_
 
simulate_mpi_message_type msg_type_
 
char char_msg_
 
int integer_msg_
 
platform::Size size_msg_
 
std::string string_msg_
 
double double_msg_
 
utility::vector1< intintegers_msg_
 
utility::vector1< platform::Sizesizes_msg_
 
utility::vector1< doubledoubles_msg_
 

Constructor & Destructor Documentation

utility::SimulateMPIMessage::SimulateMPIMessage ( )

Member Function Documentation

char utility::SimulateMPIMessage::char_msg ( ) const
inline

References char_msg_.

double utility::SimulateMPIMessage::double_msg ( ) const
inline

References double_msg_.

utility::vector1< double > const& utility::SimulateMPIMessage::doubles_msg ( ) const
inline

References doubles_msg_.

void utility::SimulateMPIMessage::dst ( platform::Size  destination)

References dst_.

platform::Size utility::SimulateMPIMessage::dst ( ) const
inline

References dst_.

platform::Size utility::SimulateMPIMessage::index ( ) const
inline

References index_.

int utility::SimulateMPIMessage::integer_msg ( ) const
inline

References integer_msg_.

utility::vector1< int > const& utility::SimulateMPIMessage::integers_msg ( ) const
inline

References integers_msg_.

void utility::SimulateMPIMessage::mark_as_processed ( )

References processed_.

simulate_mpi_message_type utility::SimulateMPIMessage::msg_type ( ) const
inline

References msg_type_.

bool utility::SimulateMPIMessage::processed ( ) const

References processed_.

void utility::SimulateMPIMessage::set_char_msg ( char  setting)
void utility::SimulateMPIMessage::set_double_msg ( double  setting)
void utility::SimulateMPIMessage::set_doubles_msg ( utility::vector1< double > const &  setting)
void utility::SimulateMPIMessage::set_index ( platform::Size  setting)

the SimulateMPIData class is responsible for setting the index of a message

References index_.

void utility::SimulateMPIMessage::set_integer_msg ( int  setting)
void utility::SimulateMPIMessage::set_integers_msg ( utility::vector1< int > const &  setting)
void utility::SimulateMPIMessage::set_size_msg ( platform::Size  setting)
void utility::SimulateMPIMessage::set_sizes_msg ( utility::vector1< platform::Size > const &  setting)
void utility::SimulateMPIMessage::set_string_msg ( std::string const &  setting)
platform::Size utility::SimulateMPIMessage::size_msg ( ) const
inline

References size_msg_.

utility::vector1< platform::Size > const& utility::SimulateMPIMessage::sizes_msg ( ) const
inline

References sizes_msg_.

void utility::SimulateMPIMessage::src ( platform::Size  source)

References src_.

platform::Size utility::SimulateMPIMessage::src ( ) const
inline

References src_.

std::string const& utility::SimulateMPIMessage::string_msg ( ) const
inline

References string_msg_.

Member Data Documentation

char utility::SimulateMPIMessage::char_msg_
private

Referenced by char_msg(), and set_char_msg().

double utility::SimulateMPIMessage::double_msg_
private

Referenced by double_msg(), and set_double_msg().

utility::vector1< double > utility::SimulateMPIMessage::doubles_msg_
private

Referenced by doubles_msg(), and set_doubles_msg().

platform::Size utility::SimulateMPIMessage::dst_
private

Referenced by dst().

platform::Size utility::SimulateMPIMessage::index_
private

Referenced by index(), and set_index().

int utility::SimulateMPIMessage::integer_msg_
private

Referenced by integer_msg(), and set_integer_msg().

utility::vector1< int > utility::SimulateMPIMessage::integers_msg_
private

Referenced by integers_msg(), and set_integers_msg().

simulate_mpi_message_type utility::SimulateMPIMessage::msg_type_
private
bool utility::SimulateMPIMessage::processed_
private

Referenced by mark_as_processed(), and processed().

platform::Size utility::SimulateMPIMessage::size_msg_
private

Referenced by set_size_msg(), and size_msg().

utility::vector1< platform::Size > utility::SimulateMPIMessage::sizes_msg_
private

Referenced by set_sizes_msg(), and sizes_msg().

platform::Size utility::SimulateMPIMessage::src_
private

Referenced by src().

std::string utility::SimulateMPIMessage::string_msg_
private

Referenced by set_string_msg(), and string_msg().


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