summaryrefslogtreecommitdiff
path: root/cesar/maximus/system/src/StationConfiguration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/maximus/system/src/StationConfiguration.cpp')
-rw-r--r--cesar/maximus/system/src/StationConfiguration.cpp141
1 files changed, 0 insertions, 141 deletions
diff --git a/cesar/maximus/system/src/StationConfiguration.cpp b/cesar/maximus/system/src/StationConfiguration.cpp
deleted file mode 100644
index 27d907dc15..0000000000
--- a/cesar/maximus/system/src/StationConfiguration.cpp
+++ /dev/null
@@ -1,141 +0,0 @@
-/************************************************************************
- StationConfiguration.cpp - Copyright buret
-
-Here you can write a license for your code, some comments or any other
-information you want to have in your generated code. To to this simply
-configure the "headings" directory in uml to point to a directory
-where you have your heading files.
-
-or you can just replace the contents of this file with your own.
-If you want to do this, this file is located at
-
-/usr/share/apps/umbrello/headings/heading.cpp
-
--->Code Generators searches for heading files based on the file extension
- i.e. it will look for a file name ending in ".h" to include in C++ header
- files, and for a file name ending in ".java" to include in all generated
- java code.
- If you name the file "heading.<extension>", Code Generator will always
- choose this file even if there are other files with the same extension in the
- directory. If you name the file something else, it must be the only one with that
- extension in the directory to guarantee that Code Generator will choose it.
-
-you can use variables in your heading files which are replaced at generation
-time. possible variables are : author, date, time, filename and filepath.
-just write %variable_name%
-
-This file was generated on %date% at %time%
-The original location of this file is /home/buret/eclipse/maximus/system/src/StationConfiguration.cpp
-**************************************************************************/
-
-#include "StationConfiguration.h"
-
-#include "Error.h"
-#include "Logger.h"
-
-using namespace std;
-
-
-// Constructors/Destructors
-//
-
-
-StationConfiguration::StationConfiguration ( string & station_executable, string station_name )
-{
- logFunction();
-
- if ( !setStationExecutable(station_executable) || !setStationName(station_name) )
- {
- throw Error(__PRETTY_FUNCTION__, "Error during initialization");
- }
- initAttributes();
-}
-
-
-void StationConfiguration::initAttributes ( )
-{
- logFunction();
-}
-
-
-StationConfiguration::~StationConfiguration ( )
-{
- logFunction();
-}
-
-
-//
-// Methods
-//
-
-
-// Other methods
-//
-
-
-// public methods
-//
-
-
-// private methods
-//
-
-
-// protected methods
-//
-
-
-// Accessor methods
-//
-
-
-// public attribute accessor methods
-//
-
-
-// private attribute accessor methods
-//
-
-
-bool StationConfiguration::setStationExecutable ( const string & station_executable )
-{
- if (station_executable.empty())
- {
- throw Error(__PRETTY_FUNCTION__, "Station executable is an empty string");
- }
- else
- {
- mStationExecutable = station_executable;
- }
-
- return true;
-}
-
-
-const string & StationConfiguration::getStationExecutable ( ) const
-{
- if (mStationExecutable.empty())
- {
- throw Error(__PRETTY_FUNCTION__, "Station executable is an empty string");
- }
- return mStationExecutable;
-}
-
-
-bool StationConfiguration::setStationName ( const string & station_name )
-{
- mStationName = station_name;
-
- return true;
-}
-
-
-const string & StationConfiguration::getStationName ( ) const
-{
- return mStationName;
-}
-
-
-// protected attribute accessor methods
-//
-