[Quantproject-developers] QuantProject/b4_Business/a05_Timing HistoricalEndOfDayTimer.cs,1.3,1.4
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2005-01-08 11:39:02
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a05_Timing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24979/b4_Business/a05_Timing Modified Files: HistoricalEndOfDayTimer.cs Log Message: The HistoricalEndOfDayTimer class has been modified in order to be inherited by IndexBasedEndOfDayTimer class. Index: HistoricalEndOfDayTimer.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a05_Timing/HistoricalEndOfDayTimer.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** HistoricalEndOfDayTimer.cs 20 Dec 2004 00:29:05 -0000 1.3 --- HistoricalEndOfDayTimer.cs 8 Jan 2005 11:38:53 -0000 1.4 *************** *** 32,42 **** public class HistoricalEndOfDayTimer : IEndOfDayTimer { ! private bool isActive; // true iff the timer is started and not stopped ! private Hashtable tickers; ! private EndOfDayDateTime currentTime; ! private EndOfDayDateTime startDateTime; // private EndOfDayDateTime endDateTime; --- 32,42 ---- public class HistoricalEndOfDayTimer : IEndOfDayTimer { ! protected bool isActive; // true iff the timer is started and not stopped ! protected Hashtable tickers; ! protected EndOfDayDateTime currentTime; ! protected EndOfDayDateTime startDateTime; // private EndOfDayDateTime endDateTime; *************** *** 53,60 **** // } ! public event MarketOpenEventHandler MarketOpen; ! public event FiveMinutesBeforeMarketCloseEventHandler FiveMinutesBeforeMarketClose; ! public event MarketCloseEventHandler MarketClose; ! public event OneHourAfterMarketCloseEventHandler OneHourAfterMarketClose; public HistoricalEndOfDayTimer( EndOfDayDateTime startDateTime ) --- 53,60 ---- // } ! public virtual event MarketOpenEventHandler MarketOpen; ! public virtual event FiveMinutesBeforeMarketCloseEventHandler FiveMinutesBeforeMarketClose; ! public virtual event MarketCloseEventHandler MarketClose; ! public virtual event OneHourAfterMarketCloseEventHandler OneHourAfterMarketClose; public HistoricalEndOfDayTimer( EndOfDayDateTime startDateTime ) *************** *** 68,72 **** /// Starts the time walking simulation /// </summary> ! public void Start() { this.isActive = true; --- 68,72 ---- /// Starts the time walking simulation /// </summary> ! public virtual void Start() { this.isActive = true; |