00001 #ifndef BRIDGE_HELPER_H 00002 #define BRIDGE_HELPER_H 00003 00004 #include "net-device-container.h" 00005 #include "ns3/object-factory.h" 00006 #include <string> 00007 00008 namespace ns3 { 00009 00010 class Node; 00011 class AttributeValue; 00012 00013 class BridgeHelper 00014 { 00015 public: 00016 BridgeHelper (); 00017 void SetDeviceAttribute (std::string n1, const AttributeValue &v1); 00018 NetDeviceContainer Install (Ptr<Node> node, NetDeviceContainer c); 00019 private: 00020 ObjectFactory m_deviceFactory; 00021 }; 00022 00023 } // namespace ns3 00024 00025 00026 #endif /* BRIDGE_HELPER_H */