Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BasicTaskCallbackImpl.cc

Go to the documentation of this file.
00001 /*
00002  * BasicTaskCallbackImpl.cc
00003  *
00004  * Copyright (c) 2003, 2004 The University of Utah and the Flux Group.
00005  * All rights reserved.
00006  *
00007  * This file is licensed under the terms of the GNU Public License.  
00008  * See the file "license.terms" for restrictions on redistribution 
00009  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
00010  */
00011 
00012 /**
00013  * @file BasicTaskCallbackImpl.cc
00014  *
00015  * Implementation of the BasicTaskCallbackImpl class.
00016  */
00017 
00018 #include "config.h"
00019 
00020 #include <iostream>
00021 #include <assert_pp.h>
00022 
00023 #include "BasicTaskCallbackImpl.hh"
00024 
00025 using namespace std;
00026 
00027 void BasicTaskCallbackImpl::sendMessage(const char *msg)
00028     throw (CORBA::SystemException)
00029 {
00030     require(msg != NULL);
00031     
00032     cerr << msg << endl;
00033 }
00034 
00035 void BasicTaskCallbackImpl::MissedDeadline(void)
00036     throw (CORBA::SystemException)
00037 {
00038     this->sendMessage("Missed deadline");
00039 }
00040 
00041 void BasicTaskCallbackImpl::MadeDeadline(void)
00042     throw (CORBA::SystemException)
00043 {
00044     this->sendMessage("Made deadline");
00045 }

Generated on Fri Oct 22 07:50:24 2004 for CPU Broker by  doxygen 1.3.9.1