1
/*******************************************************************************
2
* This file is part of openWNS (open Wireless Network Simulator)
3
* _____________________________________________________________________________
5
* Copyright (C) 2004-2007
6
* Chair of Communication Networks (ComNets)
7
* Kopernikusstr. 16, D-52074 Aachen, Germany
8
* phone: ++49-241-80-27910,
9
* fax: ++49-241-80-22242
10
* email: info@openwns.org
11
* www: http://www.openwns.org
12
* _____________________________________________________________________________
14
* openWNS is free software; you can redistribute it and/or modify it under the
15
* terms of the GNU Lesser General Public License version 2 as published by the
16
* Free Software Foundation;
18
* openWNS is distributed in the hope that it will be useful, but WITHOUT ANY
19
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
20
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
23
* You should have received a copy of the GNU Lesser General Public License
24
* along with this program. If not, see <http://www.gnu.org/licenses/>.
26
******************************************************************************/
28
#include <PROJNAME/SimulationModel.hpp>
29
#include <WNS/node/Node.hpp>
30
#include <WNS/osi/PDU.hpp>
32
using namespace projname;
34
STATIC_FACTORY_REGISTER_WITH_CREATOR(
36
wns::simulator::ISimulationModel,
37
"projname.SimulationModel",
38
wns::PyConfigViewCreator);
40
SimulationModel::SimulationModel(const wns::pyconfig::View& config) :
41
logger_(config.get("logger")),
46
SimulationModel::~SimulationModel()
51
SimulationModel::doStartup()
53
// Your startup code goes here
57
SimulationModel::doShutdown()