mtc_generator.cpp

Go to the documentation of this file.
00001 /** @file mtc_generator.cpp
00002 
00003 Methods for handling multitasking generators
00004 
00005 */
00006 
00007 /* FAU Discrete Event Systems Library (libfaudes)
00008 
00009    Copyright (C) 2008  Matthias Singer
00010    Exclusive copyright is granted to Klaus Schmidt
00011 
00012    This library is free software; you can redistribute it and/or
00013    modify it under the terms of the GNU Lesser General Public
00014    License as published by the Free Software Foundation; either
00015    version 2.1 of the License, or (at your option) any later version.
00016 
00017    This library is distributed in the hope that it will be useful,
00018    but WITHOUT ANY WARRANTY; without even the implied warranty of
00019    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020    Lesser General Public License for more details.
00021 
00022    You should have received a copy of the GNU Lesser General Public
00023    License along with this library; if not, write to the Free Software
00024    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
00025 
00026 
00027 #include "mtc_generator.h"
00028 
00029 namespace faudes {
00030 
00031 // rti wrapper
00032 bool IsStronglyCoaccessible(const MtcSystem& rGen) {
00033   return rGen.IsStronglyCoaccessible();
00034 }
00035 
00036 // rti wrapper
00037 bool IsStronglyTrim(const MtcSystem& rGen) {
00038   return rGen.IsStronglyTrim();
00039 }
00040 
00041 // rti wrapper
00042 void StronglyCoaccessible(MtcSystem& rGen) {
00043   rGen.StronglyCoaccessible();
00044 }
00045 
00046 // rti wrapper
00047 void StronglyCoaccessible(const MtcSystem& rGen, MtcSystem& rRes) {
00048   rRes=rGen;
00049   rRes.StronglyCoaccessible();
00050 }  
00051 
00052 // rti wrapper
00053 void StronglyTrim(MtcSystem& rGen) {
00054   rGen.StronglyTrim();
00055 }
00056 
00057 // rti wrapper
00058 void StronglyTrim(const MtcSystem& rGen, MtcSystem& rRes) {
00059   rRes=rGen;
00060   rRes.StronglyTrim();
00061 }  
00062 
00063 
00064 } // namespace

libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen