#include <aloha_transmission_model.h>

Public Member Functions | |
| msg_delivery (TransmissionModel::MessageInfo *mi) | |
| ~msg_delivery () | |
| Destruction which deletes all the elements of msg_destination structure in destinations_. | |
| void | push_new_destination (shawn::Node *pNode) |
| Push a destination node into the vector destination_. | |
Public Attributes | |
| TransmissionModel::MessageInfo * | pmi_ |
| The message received. | |
| std::vector< msg_destination * > | destinations_ |
| The vector which stores the neighbours of the source node. | |
Classes | |
| struct | msg_destination |
| The structure for information of a destination node. More... | |
The structure includes the pointer of TransmissionModel::MessageInfo and the neighbours of the source node who sent the message.
| shawn::AlohaTransmissionModel::msg_delivery::msg_delivery | ( | TransmissionModel::MessageInfo * | mi | ) | [inline] |
| shawn::AlohaTransmissionModel::msg_delivery::~msg_delivery | ( | ) | [inline] |
Destruction which deletes all the elements of msg_destination structure in destinations_.
| void shawn::AlohaTransmissionModel::msg_delivery::push_new_destination | ( | shawn::Node * | pNode | ) | [inline] |
Push a destination node into the vector destination_.
| pNode | pointer to the destination node |
The message received.
The vector which stores the neighbours of the source node.
1.5.6