Class: DimStampedInfo
Library: DIM
Author: C. Gaspar  
Version: v1.0 Update : Wed Apr 05 15:52:46 2000

Descrition :

    To be used by DIM clients - implements DIM service subscription and reception for
         time stamped (and quality flaged) services
    DimStampedInfo requests the server to send together with the service data a quality flag and a timestamp
    DimStampedInfo inherits its behaviour from DimInfo, please refer to it for detailed description.

    Please refer to Usage for examples.

Constructors (as for DimInfo):

    Constructors for Services updated only by the server

    Constructors for Services updated (also) on a time basis     Constructors for Services with a Handler for multiple Services (without time)     Constructors for Services with a Handler for multiple Services (with time) Destructors : Public Functions :

   Inherited from DimInfo:

   New Functionality (The information retrieved by the following methods is set by the sever
    by using the class DimService): Usage : DimStampedInfo can be used like DimInfo:   Example : 
  class RunNumber: public DimStampedInfo
{
public:
         // subscribe to service with handler
        RunNumber(): DimStampedInfo("DELPHI/RUN_NUMBER", -1) {}
         // update handler
        void infoHandler( )
        {
                time_t time;
                time = getTimestamp();
                cout << " Received: " << getInt() << " Time Stamped: " << ctime(&time) <<
                        "Quality: "<< getQuality() << endl;
        }
};


Last update : 02/11/99 15:53:02 by MkHelp 1.1.0