SandUhr::Timer

Name

SandUhr::Timer -- CORBA-Schnittstelle für SandUhr-Timer-Objekte

ÜBERSICHT

module SandUhr {
  interface Timer {
    exception NotRunning { };

    enum TimerState { TSPrepare, TSRunning, TSDone };
    readonly attribute TimerState State;

    attribute string TimeSpec;
    attribute string Message;
    attribute AlarmAction Alarm;

    struct Color {
      unsigned short Red, Green, Blue;
    };
    attribute Color SandColor;

    attribute boolean WindowDecorations;

    enum Layer { LayerDesktop, LayerBelow, LayerNormal, LayerOntop };
    attribute Layer WindowLayer;

    void Destroy ();
    unsigned long TimeLeft () raises (NotRunning);
  };
};
    

BESCHREIBUNG

Die zentrale Komponente von SandUhr ist die SandUhr::Timer-Schnittstelle. Sie repräsentiert das sanduhrförmige Fenster und alle damit verbundenen Informationen.

SIEHE AUCH

SandUhr::TimerFactory(3), SandUhr::AlarmAction(3)