~daniel.bueltmann/openwns-lte/activeAssocProvider

« back to all changes in this revision

Viewing changes to src/SimulationModel.cpp

  • Committer: Yuan Chen
  • Date: 2010-07-14 13:47:49 UTC
  • Revision ID: chen@comnets.rwth-aachen.de-20100714134749-w5jy30i88209l0hf
'Initial version from template'

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************************************************
 
2
 * This file is part of openWNS (open Wireless Network Simulator)
 
3
 * _____________________________________________________________________________
 
4
 *
 
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
 * _____________________________________________________________________________
 
13
 *
 
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;
 
17
 *
 
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
 
21
 * details.
 
22
 *
 
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/>.
 
25
 *
 
26
 ******************************************************************************/
 
27
 
 
28
#include <PROJNAME/SimulationModel.hpp>
 
29
#include <WNS/node/Node.hpp>
 
30
#include <WNS/osi/PDU.hpp>
 
31
 
 
32
using namespace projname;
 
33
 
 
34
STATIC_FACTORY_REGISTER_WITH_CREATOR(
 
35
    SimulationModel,
 
36
    wns::simulator::ISimulationModel,
 
37
    "projname.SimulationModel",
 
38
    wns::PyConfigViewCreator);
 
39
 
 
40
SimulationModel::SimulationModel(const wns::pyconfig::View& config) :
 
41
    logger_(config.get("logger")),
 
42
    config_(config)
 
43
{
 
44
}
 
45
 
 
46
SimulationModel::~SimulationModel()
 
47
{
 
48
}
 
49
 
 
50
void
 
51
SimulationModel::doStartup()
 
52
{
 
53
    // Your startup code goes here
 
54
}
 
55
 
 
56
void
 
57
SimulationModel::doShutdown()
 
58
{
 
59
}