ns-3
ns3::IdealControlMessage Class Reference

#include <ideal-control-messages.h>

Inheritance diagram for ns3::IdealControlMessage:
Collaboration diagram for ns3::IdealControlMessage:

List of all members.

Public Types

enum  MessageType { CQI_FEEDBACKS, ALLOCATION_MAP }

Public Member Functions

void SetSourceDevice (Ptr< LteNetDevice > src)
 Set the source device of the message.
void SetDestinationDevice (Ptr< LteNetDevice > dst)
 Set the destination device of the message.
Ptr< LteNetDeviceGetSourceDevice (void)
 Get the source device of the message.
Ptr< LteNetDeviceGetDestinationDevice (void)
 Get the destination device of the message.
void SetMessageType (MessageType type)
 Set the type of the message.
MessageType GetMessageType (void)
 Get the type of the message.

Detailed Description

The IdealControlMessage provides a basic implementations for control messages (such as PDCCH allocation map, CQI feedbacks) that are exchanged among eNodeB and UEs.


Member Enumeration Documentation

The type of the message


Member Function Documentation

Get the destination device of the message.

Returns:
the pointer to the device that receives the message

Get the type of the message.

Returns:
the type of the message

Get the source device of the message.

Returns:
the pointer to the device that sends the message

Set the destination device of the message.

Parameters:
dstthe device that receives the message

Set the type of the message.

Parameters:
typethe type of the message

Set the source device of the message.

Parameters:
srcthe device that sends the message

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