Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

BAPBase.h

Go to the documentation of this file.
00001 /******************************************************************
00002  *
00003  * Filename    : BAPBase.h
00004  * Author      : David Ong Tat-Wee
00005  *
00006  * Version     : 1.0b
00007  * Date        : 11 Feb 98
00008  *
00009  * Description : Interface file for generic BAP base class.  All objects
00010  *               of BAP domain inherit from this class.
00011  *
00012  * Reference   : nil
00013  *
00014  * Notes       : nil
00015  *
00016  * Changes     : nil
00017  *
00018  * Copyright   : Copyright (c) 1998
00019  *               All rights reserved by
00020  *               Resource Allocation and Scheduling Group
00021  *               Department of Information Systems and Computer Science
00022  *               National University of Singapore
00023  *
00024  ******************************************************************/
00025 
00026 
00027 #ifndef __BAP_BASE__
00028 #define __BAP_BASE__
00029 
00030 
00031 #include "def.h"
00032 
00033 
00034 class BAPBase
00035 {
00036 public:
00037    BAPBase();
00038    BAPBase(long aID, string aName = "Nameless");
00039    ~BAPBase();
00040 
00041    long           ID() const;
00042    string         Name() const;
00043    string         Name(string aName);
00044    virtual void   Print(int aWidth = 1, int aDetail = 0) const = 0;
00045 
00046 private:
00047    const long  mID;
00048    string      mName;
00049 };
00050 
00051 
00052 #endif

Generated on Thu Sep 29 21:26:14 2005 for BAPS by  doxygen 1.4.4