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

/home/pauldt/projects/IDEA/IDEA-ALL/IDEA-DEV/Core/Simulator/Includes/SimMasterScriptReader.hh

Go to the documentation of this file.
00001 // -*- Mode: c++ -*-
00002 //     File: $Source: /home/cvs/ISG-Repository/IDEA-DEV/Core/Simulator/Includes/SimMasterScriptReader.hh,v $
00003 //      Tag: $Name: DR_01_11_06 $
00004 //      CVS: $Id: SimMasterScriptReader.hh,v 1.6 2005/12/30 22:16:17 rijsman Exp $
00005 //     Info: $CVSROOT/IDEA-DEV/COPYRIGHT
00006 
00007 #ifndef MASTER_SCRIPT_READER_HEADER
00008 #define MASTER_SCRIPT_READER_HEADER
00009 
00010 #include <string>
00011 
00012 #include "SimScriptReaderBase.hh"
00013 #include "MessageDefinitions.hh"
00014 #include "TimeBasics.hh"
00015 
00016 namespace IDEA
00017 {
00018   class Simulator;
00019 
00064   class MasterScriptReader:
00065     public SimulatorScriptReaderBase
00066   {
00067   public:
00071     MasterScriptReader( Simulator* simulator );
00075     void readScript( const std::string& script );
00076   private:
00077     static Time convert( int timeUnits );
00081     MessageHandle parse( Time& delay, std::istringstream& iss);
00085     bool parseObjectSvIdentifier(std::istringstream& iss, std::string& targetObject, std::string& targetTimeline);
00089     bool parseProcedureArguments( std::istringstream& iss, std::string& targetArguments );
00093     Simulator* m_Simulator;
00094     Granularity m_Granulity;
00095   };
00096 }
00097 
00098 #endif //MASTER_SCRIPT_READER_HEADER

Contact information
© IDEA
Generated on Fri Feb 3 17:09:41 2006 for IDEA.