src/helper/bridge-helper.h
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Mon, 11 Aug 2008 10:30:46 -0700
changeset 3524 028b7de98fb1
child 4140 6bbf05bf4826
permissions -rw-r--r--
bug 276: bridge netdevice has no helper class.

#ifndef BRIDGE_HELPER_H
#define BRIDGE_HELPER_H

#include "net-device-container.h"
#include "ns3/object-factory.h"
#include <string>

namespace ns3 {

class Node;
class AttributeValue;

class BridgeHelper
{
public:
  BridgeHelper ();
  void SetDeviceAttribute (std::string n1, const AttributeValue &v1);
  NetDeviceContainer Install (Ptr<Node> node, NetDeviceContainer c);
private:
  ObjectFactory m_deviceFactory;
};

} // namespace ns3


#endif /* BRIDGE_HELPER_H */