Category : Alternate Operating Systems - Quarterdeck DesqView, CP/M, etc
Archive   : PCCAPP.ZIP
Filename : FRT.H

 
Output of file : FRT.H contained in archive : PCCAPP.ZIP
/*
* This file is part of the Choices Operating System
* Developed by: The TAPESTRY Parallel Computing Laboratory
* University of Illinois at Urbana-Champaign
* Department of Computer Science
* 1304 W. Springfield Ave.
* Urbana, IL 61801
*
* Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992
* The University of Illinois Board of Trustees.
* All Rights Reserved.
*
* Author: Vincent F. Russo ([email protected])
* Author: Gary M. Johnston ([email protected])
* Contributing Author: Lee Lup Yuen ([email protected])
* Project Manager and Principal Investigator: Roy Campbell ([email protected])
*
* Funded by: NSF TAPESTRY Grant No. 1-5-30035, NASA ICLASS Grant
* No. 1-5-25469 and No. NSG1471 and AT&T Metronet Grant No. 1-5-37411.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for educational, research, and non-profit purposes
* is hereby granted provided that the above copyright notice, the
* original authors names, and this permission notice appear in all such
* copies and supporting documentation; that no charge be made for such
* copies; and that the name of the University of Illinois not be used
* in advertising or publicity pertaining to distribution of the
* software without specific prior written permission. Any entity
* desiring permission to incorporate this software into commercial
* products should contact the Computing Research Laboratory, Department
* of Computer Science, University of Illinois, 1304 W. Springfield
* Avenue, Urbana, IL 61801. The University of Illinois makes no
* representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*/
/*
* FreeRunningTimer.h: Class to lookup the time in microseconds since Choices
* was started. This is really only useful for debugging
* and timing since the timer rolls every so often.
* This is the machine-independent parent class.
*
*/

#ifndef FreeRunningTimer_h
#define FreeRunningTimer_h
#ifdef __GNUG__
#pragma once
#pragma interface
#endif

#include "ProxiableObject.h" /* parent class */
class FreeRunningTimerStar;

extern ClassStar FreeRunningTimerClass;

class FreeRunningTimer : public ProxiableObject {
/* A FreeRunningTimer is used to find out the time in microseconds since the
* kernel started running. The timer will wrap around to 0 when the time
* value exceeds the capacity of the internal counter. This is an abstract
* class that should not be instantiated directly; the subclass is responsible
* for maintaining the current time.
*/
public:
/* Method time: Returns time in microseconds since the kernel
* started running. This method must be redefined in the subclass.
* Caution: The timer will wrap around to 0 when it exceeds the
* capacity of an "unsigned int".
*/
proxiable virtual unsigned int time();

/* Method classOf: Return the class of the object. */
Class * classOf();
};

/* The SystemTimer global variable is meant to be used only by the kernel.
* Applications should fetch the SystemTimer from the StandardNameServer
* using the name "SystemTimer".
*/
extern FreeRunningTimerStar SystemTimer;

#endif /* FreeRunningTimer_h */
/*
* This file is part of the Choices Operating System
* Developed by: The TAPESTRY Parallel Computing Laboratory
* University of Illinois at Urbana-Champaign
* Department of Computer Science
* 1304 W. Springfield Ave.
* Urbana, IL 61801
*
* Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992
* The University of Illinois Board of Trustees.
* All Rights Reserved.
*
* Author: Systems Research Group ([email protected])
* Project Manager and Principal Investigator: Roy Campbell ([email protected])
*
* Funded by: NSF TAPESTRY Grant No. 1-5-30035, NASA ICLASS Grant
* No. 1-5-25469 and No. NSG1471 and AT&T Metronet Grant No. 1-5-37411.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for educational, research, and non-profit purposes
* is hereby granted provided that the above copyright notice, the
* original authors names, and this permission notice appear in all such
* copies and supporting documentation; that no charge be made for such
* copies; and that the name of the University of Illinois not be used
* in advertising or publicity pertaining to distribution of the
* software without specific prior written permission. Any entity
* desiring permission to incorporate this software into commercial
* products should contact the Computing Research Laboratory, Department
* of Computer Science, University of Illinois, 1304 W. Springfield
* Avenue, Urbana, IL 61801. The University of Illinois makes no
* representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*/
/* This file was generated by Proxify++ version 0.1 */

#ifndef FreeRunningTimer_h
#define FreeRunningTimer_h
#ifdef __GNUG__
#pragma once
#pragma interface
#endif
#include "ProxiableObject.h"
class FreeRunningTimerStar;
extern ClassStar FreeRunningTimerClass;
class FreeRunningTimer : public ProxiableObject {
public:
proxiable virtual unsigned int time();
};
extern FreeRunningTimerStar SystemTimer;
#include "VersionInstaller.h"
REQUIREDVERSION( FreeRunningTimer );
#endif FreeRunningTimer_h


  3 Responses to “Category : Alternate Operating Systems - Quarterdeck DesqView, CP/M, etc
Archive   : PCCAPP.ZIP
Filename : FRT.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/