src/helper/csma-helper.h
changeset 3403 ac82ff1f6736
parent 3381 3cdd9d60f7c7
child 3786 9f384deadb46
equal deleted inserted replaced
3402:39f44473e4cb 3403:ac82ff1f6736
    25 #include "ns3/attribute.h"
    25 #include "ns3/attribute.h"
    26 #include "ns3/object-factory.h"
    26 #include "ns3/object-factory.h"
    27 #include "ns3/net-device-container.h"
    27 #include "ns3/net-device-container.h"
    28 #include "ns3/node-container.h"
    28 #include "ns3/node-container.h"
    29 #include "ns3/csma-channel.h"
    29 #include "ns3/csma-channel.h"
       
    30 #include "ns3/deprecated.h"
    30 
    31 
    31 namespace ns3 {
    32 namespace ns3 {
    32 
    33 
    33 class Packet;
    34 class Packet;
    34 class PcapWriter;
    35 class PcapWriter;
    76    *
    77    *
    77    * Set these attributes on each ns3::CsmaChannel created
    78    * Set these attributes on each ns3::CsmaChannel created
    78    * by CsmaHelper::Install
    79    * by CsmaHelper::Install
    79    */
    80    */
    80   void SetChannelAttribute (std::string n1, const AttributeValue &v1);
    81   void SetChannelAttribute (std::string n1, const AttributeValue &v1);
       
    82 
       
    83   void SetDeviceParameter (std::string n1, const AttributeValue &v1) NS_DEPRECATED;
       
    84   void SetChannelParameter (std::string n1, const AttributeValue &v1) NS_DEPRECATED;
    81 
    85 
    82   /**
    86   /**
    83    * \param filename filename prefix to use for pcap files.
    87    * \param filename filename prefix to use for pcap files.
    84    * \param nodeid the id of the node to generate pcap output for.
    88    * \param nodeid the id of the node to generate pcap output for.
    85    * \param deviceid the id of the device to generate pcap output for.
    89    * \param deviceid the id of the device to generate pcap output for.