openETCS
case study for the European Train Control System developed for the authors dissertation
|
generator for virtual machine configuration for Xen hypervisior More...
#include <VMgenerator.h>
Public Member Functions | |
virtual void | Generate (::DSM::CSyntaxTree *const pSyntaxTree,::std::ostream &OutStream) throw (::oETCS::GEN::Error::CException) |
generation method | |
virtual void | GeneratePSM (::DSM::CSyntaxTree *const pSyntaxTree,::std::ostream &OutStream) throw (::oETCS::GEN::Error::CException) |
generation method | |
bool | HasPSM (::DSM::CSyntaxTree *const pSyntaxTree) throw () |
checks, if syntax tree model has a PSM part |
generator for virtual machine configuration for Xen hypervisior
Definition at line 49 of file VMgenerator.h.
|
virtual |
generation method
Generates from a syntax tree the corresponding output.
[in] | pTree | pointer to the syntax tree used for generation |
[in] | OutStream | Stream object used for output |
Implements oETCS::GEN::CGenerator.
Definition at line 80 of file VMgenerator.cpp.
References DSM::CGOPPRRSyntaxTree::GetRootGraph(), and GOPPRR::CNonProperty::m_ID.
Referenced by oETCS::GEN::CMain::Execute().
|
virtual |
generation method
Generates from a syntax tree the corresponding output.
[in] | pTree | pointer to the syntax tree used for generation |
[in] | OutStream | Stream object used for output |
Definition at line 154 of file VMgenerator.cpp.
References DSM::CGOPPRRSyntaxTree::GetRootGraph(), and GOPPRR::CNonProperty::m_ID.
Referenced by oETCS::GEN::CMain::Execute().
bool oETCS::GEN::CVMGenerator::HasPSM | ( | ::DSM::CSyntaxTree *const | pSyntaxTree | ) | throw () |
checks, if syntax tree model has a PSM part
Definition at line 34 of file VMgenerator.cpp.
References DSM::CGOPPRRSyntaxTree::GetProject(), and GOPPRR::CProject::m_PropertySet.
Referenced by oETCS::GEN::CMain::Execute().
Copyright (C) 2010-2012 Johannes Feuser (feuser@uni-bremen.de)
The openETCS library is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or any later version.
The openETCS library is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with the openETCS library. If not, see
"http://www.gnu.org/licenses/.