70 * \param v8 the value of the attribute to set in the mobility model. |
70 * \param v8 the value of the attribute to set in the mobility model. |
71 * \param n9 the name of the attribute to set in the mobility model. |
71 * \param n9 the name of the attribute to set in the mobility model. |
72 * \param v9 the value of the attribute to set in the mobility model. |
72 * \param v9 the value of the attribute to set in the mobility model. |
73 */ |
73 */ |
74 void SetPositionAllocator (std::string type, |
74 void SetPositionAllocator (std::string type, |
75 std::string n1 = "", const AttributeValue &v1 = EmptyAttributeValue (), |
75 std::string n1 = "", const AttributeValue &v1 = EmptyAttributeValue (), |
76 std::string n2 = "", const AttributeValue &v2 = EmptyAttributeValue (), |
76 std::string n2 = "", const AttributeValue &v2 = EmptyAttributeValue (), |
77 std::string n3 = "", const AttributeValue &v3 = EmptyAttributeValue (), |
77 std::string n3 = "", const AttributeValue &v3 = EmptyAttributeValue (), |
78 std::string n4 = "", const AttributeValue &v4 = EmptyAttributeValue (), |
78 std::string n4 = "", const AttributeValue &v4 = EmptyAttributeValue (), |
79 std::string n5 = "", const AttributeValue &v5 = EmptyAttributeValue (), |
79 std::string n5 = "", const AttributeValue &v5 = EmptyAttributeValue (), |
80 std::string n6 = "", const AttributeValue &v6 = EmptyAttributeValue (), |
80 std::string n6 = "", const AttributeValue &v6 = EmptyAttributeValue (), |
81 std::string n7 = "", const AttributeValue &v7 = EmptyAttributeValue (), |
81 std::string n7 = "", const AttributeValue &v7 = EmptyAttributeValue (), |
82 std::string n8 = "", const AttributeValue &v8 = EmptyAttributeValue (), |
82 std::string n8 = "", const AttributeValue &v8 = EmptyAttributeValue (), |
83 std::string n9 = "", const AttributeValue &v9 = EmptyAttributeValue ()); |
83 std::string n9 = "", const AttributeValue &v9 = EmptyAttributeValue ()); |
84 |
84 |
85 /** |
85 /** |
86 * \param type the type of mobility model to use. |
86 * \param type the type of mobility model to use. |
87 * \param n1 the name of the attribute to set in the mobility model. |
87 * \param n1 the name of the attribute to set in the mobility model. |
88 * \param v1 the value of the attribute to set in the mobility model. |
88 * \param v1 the value of the attribute to set in the mobility model. |
105 * |
105 * |
106 * Calls to MobilityHelper::Install will create an instance of a matching |
106 * Calls to MobilityHelper::Install will create an instance of a matching |
107 * mobility model for each node. |
107 * mobility model for each node. |
108 */ |
108 */ |
109 void SetMobilityModel (std::string type, |
109 void SetMobilityModel (std::string type, |
110 std::string n1 = "", const AttributeValue &v1 = EmptyAttributeValue (), |
110 std::string n1 = "", const AttributeValue &v1 = EmptyAttributeValue (), |
111 std::string n2 = "", const AttributeValue &v2 = EmptyAttributeValue (), |
111 std::string n2 = "", const AttributeValue &v2 = EmptyAttributeValue (), |
112 std::string n3 = "", const AttributeValue &v3 = EmptyAttributeValue (), |
112 std::string n3 = "", const AttributeValue &v3 = EmptyAttributeValue (), |
113 std::string n4 = "", const AttributeValue &v4 = EmptyAttributeValue (), |
113 std::string n4 = "", const AttributeValue &v4 = EmptyAttributeValue (), |
114 std::string n5 = "", const AttributeValue &v5 = EmptyAttributeValue (), |
114 std::string n5 = "", const AttributeValue &v5 = EmptyAttributeValue (), |
115 std::string n6 = "", const AttributeValue &v6 = EmptyAttributeValue (), |
115 std::string n6 = "", const AttributeValue &v6 = EmptyAttributeValue (), |
116 std::string n7 = "", const AttributeValue &v7 = EmptyAttributeValue (), |
116 std::string n7 = "", const AttributeValue &v7 = EmptyAttributeValue (), |
117 std::string n8 = "", const AttributeValue &v8 = EmptyAttributeValue (), |
117 std::string n8 = "", const AttributeValue &v8 = EmptyAttributeValue (), |
118 std::string n9 = "", const AttributeValue &v9 = EmptyAttributeValue ()); |
118 std::string n9 = "", const AttributeValue &v9 = EmptyAttributeValue ()); |
119 |
119 |
120 /** |
120 /** |
121 * \param reference item to push. |
121 * \param reference item to push. |
122 * |
122 * |
123 * Push an item on the top of the stack of "reference mobility models". |
123 * Push an item on the top of the stack of "reference mobility models". |