BAPS/src/BAPPartitioner.cpp

00001 /******************************************************************
00002  *
00003  * Filename    : BAPPartitioner.cpp
00004  * Author      : David Ong Tat-Wee
00005  *
00006  * Version     : 1.0
00007  * Date        : 11 May 98
00008  *
00009  * Description : Implements the BAP Partitioning Stub
00010  *
00011  * Reference   : nil
00012  *
00013  * Notes       : This class is not to be modified without proper
00014  *               authorization
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 #include "BAPPartitioner.h"
00028 
00029 using std::cout;
00030 using std::endl;
00031 
00032 BAPPartitioner::BAPPartitioner(BAPPackage& aPackage)
00033 : BAPBase(), mPackage(aPackage)
00034 {
00035 }
00036 
00037 
00038 BAPPartitioner::~BAPPartitioner()
00039 {
00040 }
00041 
00042 
00043 void BAPPartitioner::Print(int aW, int aDetail) const
00044 {
00045    cout  << tab(aW) << "--== BAPPartitioner ==--" << endl
00046          << tab(aW) << "  ID        = " << ID() << endl
00047          << tab(aW) << "  Name      = " << Name() << endl
00048          << endl;
00049  
00050    mPackage.Print(aW + INDENT, aDetail);
00051 }
00052 

Generated on Tue Sep 9 15:40:10 2008 for BAP by  doxygen 1.5.3