Exemplo n.º 1
0
 public IApplicationTimer Get(
     bool bModalMode,
     int timerInterval,
     ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new GtkApplicationTimer((uint)timerInterval, timerTickDelegate));
 }
Exemplo n.º 2
0
 IPlasticTimer IThreadWaiterBuilder.GetTimer(
     int timerIntervalMilliseconds, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(mPlasticTimerBuilder.Get(false, timerIntervalMilliseconds, timerTickDelegate));
 }
Exemplo n.º 3
0
 public IApplicationTimer Get(
     bool bModalMode,
     ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new GtkApplicationTimer(DEFAULT_TIMER_INTERVAL, timerTickDelegate));
 }
Exemplo n.º 4
0
 internal GtkApplicationTimer(
     uint timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     mTimerInterval     = timerInterval;
     mTimerTickDelegate = timerTickDelegate;
 }
Exemplo n.º 5
0
 IApplicationTimer IApplicationTimerBuilder.Get(
     bool bModalMode, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new MacApplicationTimer(DEFAULT_TIMER_INTERVAL, timerTickDelegate));
 }
Exemplo n.º 6
0
 public IPlasticTimer Get(bool bModalMode, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new UnityPlasticTimer(DEFAULT_TIMER_INTERVAL, timerTickDelegate));
 }
Exemplo n.º 7
0
 internal MacApplicationTimer(
     double timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     mTimerInterval     = timerInterval;
     mTimerTickDelegate = timerTickDelegate;
 }
Exemplo n.º 8
0
 public UnityPlasticTimer(int timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     mTimerInterval     = timerInterval;
     mTimerTickDelegate = timerTickDelegate;
 }
Exemplo n.º 9
0
 public IPlasticTimer Get(bool bModalMode, int timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new UnityPlasticTimer(timerInterval, timerTickDelegate));
 }
Exemplo n.º 10
0
 public IPlasticTimer Get(bool bModalMode, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new MacPlasticTimer(
                bModalMode, 0.05, timerTickDelegate));
 }
Exemplo n.º 11
0
 internal MacPlasticTimer(bool bModalMode, double timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     mbModalMode        = bModalMode;
     mTimerInterval     = timerInterval;
     mTimerTickDelegate = timerTickDelegate;
 }
Exemplo n.º 12
0
 public IPlasticTimer Get(bool bModalMode, int timerInterval, ThreadWaiter.TimerTick timerTickDelegate)
 {
     return(new MacPlasticTimer(bModalMode, timerInterval / 1000f, timerTickDelegate));
 }