mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-11 11:31:42 +02:00
init
This commit is contained in:
commit
13e4bf1aa7
21 changed files with 2601 additions and 0 deletions
69
model/leo-mobility-model.cc
Normal file
69
model/leo-mobility-model.cc
Normal file
|
@ -0,0 +1,69 @@
|
|||
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
|
||||
/*
|
||||
* Copyright (c) 2007, 2008 University of Washington
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation;
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "leo-mobility-model.h"
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
NS_LOG_COMPONENT_DEFINE ("LeoMobilityModel");
|
||||
|
||||
NS_OBJECT_ENSURE_REGISTERED (LeoMobilityModel);
|
||||
|
||||
TypeId
|
||||
LeoMobilityModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::LeoMobilityModel")
|
||||
.SetParent<MobilityModel> ()
|
||||
.SetGroupName ("Leo")
|
||||
.AddConstructor<LeoMobilityModel> ()
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
LeoMobilityModel::~LeoMobilityModel ()
|
||||
{
|
||||
}
|
||||
|
||||
Vector
|
||||
LeoMobilityModel::DoGetPosition (void) const
|
||||
{
|
||||
// TODO
|
||||
return Vector();
|
||||
}
|
||||
|
||||
void
|
||||
LeoMobilityModel::DoSetPosition (const Vector &position)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
Vector
|
||||
LeoMobilityModel::DoGetVelocity (void) const
|
||||
{
|
||||
// TODO
|
||||
return Vector();
|
||||
}
|
||||
|
||||
int64_t
|
||||
LeoMobilityModel::DoAssignStreams (int64_t start)
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue