Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PsCalculus.cxx

Go to the documentation of this file.
00001 /*
00002  * This file is part of openMask © INRIA, CNRS, Universite de Rennes 1 1993-2002, thereinafter the Software
00003  * 
00004  * The Software has been developped within the Siames Project. 
00005  * INRIA, the University of Rennes 1 and CNRS jointly hold intellectual property rights
00006  * 
00007  * The Software has been registered with the Agence pour la Protection des
00008  * Programmes (APP) under registration number IDDN.FR.001.510008.00.S.P.2001.000.41200
00009  *  
00010  * This file may be distributed under the terms of the Q Public License
00011  * version 1.0 as defined by Trolltech AS of Norway and appearing in the file
00012  * LICENSE.QPL included in the packaging of this file.
00013  *
00014  * Licensees holding valid specific licenses issued by INRIA, CNRS or Université de Rennes 1 
00015  * for the software may use this file in accordance with that specific license
00016  *
00017  */
00018 #include <PsCalculus.h>
00019 #include <PsSimulatedObject.h>
00020 #include <PsController.h>
00021 
00022 PsCalculus::PsCalculus (PsSimulatedObject & obj) :
00023    _object ( obj ) {
00024 
00025 }
00026 
00027 
00028 PsCalculus::~PsCalculus () {
00029 
00030 }
00031 void PsCalculus::init () 
00032 {
00033 
00034 }
00035 void PsCalculus::compute () 
00036 {
00037 
00038 }
00039 void PsCalculus::finish () 
00040 {
00041 
00042 }
00043 
00044 
00045 void PsCalculus::initUserInterface () {
00046 }
00047 void PsCalculus::runUserInterfaceDuringInit () {
00048 }
00049 void PsCalculus::runUserInterface () {
00050 }
00051 void PsCalculus::runUserInterfaceDuringSuspend () {
00052 }
00053 void PsCalculus::terminateUserInterface () {
00054 }
00055 
00056 
00057 PsController & PsCalculus::getController () const 
00058 {
00059    return _object.getController();
00060 }
00061 
00062 PsSimulatedObject & PsCalculus::getSimulatedObject () const 
00063 {
00064    return _object ;
00065 }
00066 
00067 
00068 float PsCalculus::getPeriod () const 
00069 {
00070   return _object.getPeriod () ;
00071 }
00072 
00073 
00074 const PsDate &PsCalculus::getSimulatedDate () const 
00075 {
00076    return _object.getController().getSimulatedDate();
00077 }
00078 
00079 
00080 const PsName & PsCalculus::getName () const 
00081 {
00082    return _object.getObjectDescriptor().getName();
00083 }
00084 
00085 
00086 const PsName & PsCalculus::getClass () const 
00087 {
00088    return _object.getObjectDescriptor().getClass();
00089 }
00090 
00091 
00092 const PsName & PsCalculus::getProcess () const 
00093 {
00094    return _object.getObjectDescriptor().getProcess();
00095 }
00096 
00097 const PsFrequency & PsCalculus::getFrequency () const {
00098    return _object.getObjectDescriptor().getFrequency();
00099 }
00100 
00101 
00102 const PsConfigurationParameterDescriptor * PsCalculus::getConfigurationParameters() const {
00103    return _object.getObjectDescriptor().getConfigurationParameters();
00104 }
00105 
00106 
00107 const PsNameToPointerMap<PsInputNT> & PsCalculus::getInputTable () const 
00108 {
00109    return _object.getInputTable () ;
00110 }
00111 
00112 const PsNameToPointerMap<PsOutputNT> & PsCalculus::getOutputTable () const 
00113 {
00114    return _object.getOutputTable () ;
00115 }
00116         
00117 const PsNameToPointerMap<PsOutputNT> & PsCalculus::getControlParameterTable  () const 
00118 {
00119    return _object.getControlParameterTable () ;
00120 }
00121 
00122 PsInputNT * PsCalculus::getPointerToInputNamed ( const PsName & inputName ) const 
00123 {
00124    return _object.getPointerToInputNamed ( inputName ) ;
00125 }
00126 
00127 PsOutputNT * PsCalculus::getPointerToOutputNamed ( const PsName & outputName ) const 
00128 {  
00129    return _object.getPointerToOutputNamed ( outputName ) ;
00130 }
00131 
00132 PsOutputNT *PsCalculus::getPointerToControlParameterNamed ( const PsName & parameterName ) const 
00133 {
00134    return _object.getPointerToControlParameterNamed ( parameterName ) ;
00135 }
00136 
00137 const list < PsEventListener * > & PsCalculus::getEventListeners () const 
00138 {
00139    return _object.getEventListeners() ;
00140 }
00141 
00142 

logo OpenMask

Documentation generated on Mon Nov 25 15:24:59 2002

Generated with doxygen 1.2.12 by Dimitri van Heesch ,   1997-2001