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

BasicTaskCallbackImpl.cc

Go to the documentation of this file.
00001 /*
00002  * BasicTaskCallbackImpl.cc
00003  *
00004  * Copyright (c) 2003 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 <assert_pp.h>
00021 
00022 #include "BasicTaskCallbackImpl.hh"
00023 
00024 void BasicTaskCallbackImpl::sendMessage(const char *msg)
00025     throw (CORBA::SystemException)
00026 {
00027     require(msg != NULL);
00028     
00029     cerr << msg << endl;
00030 }
00031 
00032 void BasicTaskCallbackImpl::MissedDeadline(void)
00033     throw (CORBA::SystemException)
00034 {
00035     this->sendMessage("Missed deadline");
00036 }
00037 
00038 void BasicTaskCallbackImpl::MadeDeadline(void)
00039     throw (CORBA::SystemException)
00040 {
00041     this->sendMessage("Made deadline");
00042 }

Generated on Mon Dec 1 16:29:05 2003 for CPU Broker by doxygen 1.3.4