~daniel.bueltmann/openwns-lte/activeAssocProvider

« back to all changes in this revision

Viewing changes to src/SimulationModel.hpp

  • 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
#ifndef PROJNAME_SIMULATIONMODEL_HPP
 
29
#define PROJNAME_SIMULATIONMODEL_HPP
 
30
 
 
31
#include <WNS/simulator/ISimulationModel.hpp>
 
32
#include <WNS/logger/Logger.hpp>
 
33
#include <WNS/pyconfig/View.hpp>
 
34
 
 
35
namespace projname {
 
36
 
 
37
    class SimulationModel :
 
38
        public wns::simulator::ISimulationModel
 
39
    {
 
40
    public:
 
41
        explicit
 
42
        SimulationModel(const wns::pyconfig::View& config);
 
43
 
 
44
        virtual
 
45
        ~SimulationModel();
 
46
 
 
47
    protected:
 
48
        virtual void
 
49
        doStartup();
 
50
 
 
51
        virtual void
 
52
        doShutdown();
 
53
 
 
54
        wns::logger::Logger logger_;
 
55
 
 
56
        wns::pyconfig::View config_;
 
57
    };
 
58
}
 
59
 
 
60
#endif // NOT defined PROJNAME_SIMULATIONMODEL_HPP