root/simulator/trunk/src/simulator/test.cpp

Revision 1449, 1.7 kB (checked in by sehenley, 7 months ago)

Clean tabs, line endings - etc.

  • Property WBS set to 1.1.4.12
  • Property svn:keywords set to
    Url
    Rev
    Author
    Date
    Id
Line 
1 //    OSRail -- a network enabled railroad operations simulator and utilities
2 //    Copyright (C) 2007,2008 Samuel E. Henley sehenley@comcast.net
3 //
4 //    This program is free software; you can redistribute it and/or modify
5 //    it under the terms of the GNU General Public License as published by
6 //    the Free Software Foundation; either version 2 of the License, or
7 //    (at your option) any later version.
8 //
9 //    This program is distributed in the hope that it will be useful,
10 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
11 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 //    GNU General Public License for more details.
13 //
14 //    You should have received a copy of the GNU General Public License along
15 //    with this program; if not, write to the Free Software Foundation, Inc.,
16 //    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 //
18 /// \file
19 /// Implementation file for Test manager of the simulator and the ITest factory. 
20
21 // Pre-Compiled Header for Simulator
22 #include "presimulator.h"
23
24 #include "test.h"
25
26 /// \addtogroup simulator "Simulator"
27 /// @{
28     /// \addtogroup simulatorcomponent "Simulator Components"
29     /// @{
30         /// \addtogroup testsimulator "Test Simulator"
31         /// @{
32
33
34 extern ITest* createTest( ISystem& sys )
35 {
36     return new Test( sys );
37 }
38
39 Test::Test( ISystem& sys ) : system( sys )
40 {
41 }
42
43 Test::~Test()
44 {
45 }
46
47 //vertual
48 void Test::startup()
49 {
50     MESSAGE( "Simulator", "Test", "Startup" )
51 }
52
53 //virtual
54 void Test::operator()()
55 {
56 }
57
58 //virtual
59 void Test::shutdown()
60 {
61     MESSAGE( "Simulator", "Test", "Shutdown" )
62 }
63
64
65
66         /// @}   group testsimulator
67     /// @}   group simulatorcomponent
68 /// @} group simulator
Note: See TracBrowser for help on using the browser.