S3FC project page | S3FC home page |
#include <s3_txport_base.h>
Inheritance diagram for s3_txport_data:
Public Methods | |
s3_txport_data (const T_Data &a_data, s3_txport_client_id a_id) | |
Quick constructor for single destination. More... | |
s3_txport_data (const T_Data &a_data, const std::list< s3_txport_client_id > &a_idl) | |
Quick constructor for multiple destinations. More... | |
s3_txport_data () | |
Default constructor. More... | |
void | erase_client_ids () |
Erase target client list. More... | |
void | set_id (const std::list< s3_txport_client_id > &id_list) |
Set list of target clients to send data to. More... | |
void | set_id (s3_txport_client_id id) |
Erase the existing list, and set the new target to id. More... | |
s3_txport_client_id | get_id () const |
Returns the id associated with the received packet. More... | |
std::list< s3_txport_client_id > | get_id_list () const |
Public Attributes | |
T_Data | data |
Data received from client. More... | |
Private Attributes | |
std::list< s3_txport_client_id > | idl |
Client identifier list. More... |
Note that it contains both the data payload as well as a handle that uniquely identifies the client to which/from which the data is sent/received. This object must be templated a s3_streamable derived type, or a type for which an overloaded version of s3_streamable::pack() exists.
Definition at line 50 of file s3_txport_base.h.
|
Quick constructor for single destination.
Definition at line 61 of file s3_txport_base.h. |
|
Quick constructor for multiple destinations.
Definition at line 68 of file s3_txport_base.h. |
|
Default constructor.
Definition at line 74 of file s3_txport_base.h. |
|
Erase target client list.
Definition at line 77 of file s3_txport_base.h. |
|
Returns the id associated with the received packet. As the data can only be from one source, only one ID can be present, so an exception is thrown if the ID list contains more than one ID. In a nutshell, only call this for data you have just popped from the receive queue.
Definition at line 108 of file s3_txport_base.h. Referenced by s3_post_office_switch::main_loop, s3_post_office_switch::reply_failure, and s3_post_office_switch::reply_success. |
|
Definition at line 119 of file s3_txport_base.h. |
|
Erase the existing list, and set the new target to id.
Definition at line 95 of file s3_txport_base.h. |
|
Set list of target clients to send data to.
Definition at line 86 of file s3_txport_base.h. |
|
Data received from client.
Definition at line 58 of file s3_txport_base.h. Referenced by s3_post_office_switch::main_loop, s3_post_office_switch::reply_failure, s3_post_office_switch::reply_success, and s3_txport_data< s3_message >::s3_txport_data. |
|
Client identifier list.
Definition at line 54 of file s3_txport_base.h. Referenced by s3_txport_data< s3_message >::erase_client_ids, s3_txport_data< s3_message >::get_id, s3_txport_data< s3_message >::get_id_list, s3_txport_data< s3_message >::s3_txport_data, and s3_txport_data< s3_message >::set_id. |
Send comments to: s3fc@stonethree.com |
|