~daniel.bueltmann/openwns-lte/activeAssocProvider

« back to all changes in this revision

Viewing changes to PyConfig/projname/simulationmodel.py

  • 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
from openwns.logger import Logger
 
29
 
 
30
class SimulationModel(object):
 
31
    __slots__ = ['nameInFactory', 'logger', 'nodes']
 
32
 
 
33
    def __init__(self):
 
34
        self.nameInFactory = 'projname.SimulationModel'
 
35
        self.logger = Logger("PROJNAME", "SimulationModel", True)