| 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 PropertyManager of the simulator and the IPropertyManager factory. |
|---|
| 20 |
|
|---|
| 21 |
// Pre-Compiled Header for Simulator |
|---|
| 22 |
#include "presimulator.h" |
|---|
| 23 |
|
|---|
| 24 |
#include "propertymanager.h" |
|---|
| 25 |
|
|---|
| 26 |
/// \addtogroup simulator "Simulator" |
|---|
| 27 |
/// @{ |
|---|
| 28 |
/// \addtogroup simulatorcomponent "Simulator Components" |
|---|
| 29 |
/// @{ |
|---|
| 30 |
/// \addtogroup propertymanager "Property Manager" |
|---|
| 31 |
/// @{ |
|---|
| 32 |
|
|---|
| 33 |
extern IPropertyManager* createPropertyManager( ISystem& sys ) |
|---|
| 34 |
{ |
|---|
| 35 |
return new PropertyManager( sys ); |
|---|
| 36 |
} |
|---|
| 37 |
|
|---|
| 38 |
PropertyManager::PropertyManager( ISystem& sys ) : system( sys ) |
|---|
| 39 |
{ |
|---|
| 40 |
} |
|---|
| 41 |
|
|---|
| 42 |
PropertyManager::~PropertyManager() |
|---|
| 43 |
{ |
|---|
| 44 |
} |
|---|
| 45 |
|
|---|
| 46 |
//vertual |
|---|
| 47 |
void PropertyManager::startup() |
|---|
| 48 |
{ |
|---|
| 49 |
MESSAGE( "Simulator", "Property Manager", "Startup" ) |
|---|
| 50 |
} |
|---|
| 51 |
|
|---|
| 52 |
//virtual |
|---|
| 53 |
void PropertyManager::operator()() |
|---|
| 54 |
{ |
|---|
| 55 |
} |
|---|
| 56 |
|
|---|
| 57 |
//virtual |
|---|
| 58 |
void PropertyManager::shutdown() |
|---|
| 59 |
{ |
|---|
| 60 |
MESSAGE( "Simulator", "Property Manager", "Shutdown" ) |
|---|
| 61 |
} |
|---|
| 62 |
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 |
/// @} group propertymanager |
|---|
| 66 |
/// @} group simulatorcomponent |
|---|
| 67 |
/// @} group simulator |
|---|