This commit is contained in:
Gustavo J. A. M. Carneiro committed 2009-02-21 22:50:53 +00:00
commit 607fa5aa0e
2 files changed
+1 -13

No files matched your search

+1 -6
View File
@@ -46,12 +46,7 @@ MobilityHelper::SetPositionAllocator (Ptr<PositionAllocator> allocator)
{
m_position = allocator;
}
void
MobilityHelper::SetPositionAllocator (std::string allocatorName)
{
Ptr<PositionAllocator> allocator = Names::Find<PositionAllocator> (allocatorName);
m_position = allocator;
}
void
MobilityHelper::SetPositionAllocator (std::string type,
std::string n1, const AttributeValue &v1,
-7
View File
@@ -50,13 +50,6 @@ public:
* \param allocator allocate initial node positions
*/
void SetPositionAllocator (Ptr<PositionAllocator> allocator);
/**
* Set the position allocator which will be used to allocate the initial
* position of every node initialized during MobilityModel::Install.
*
* \param allocator allocate initial node positions
*/
void SetPositionAllocator (std::string allocatorName);
/**
* \param type the type of mobility model to use.