scheduling_common.cpp

Go to the documentation of this file.
00001 #ifndef SCHEDULING_COMMON_IMPLEMENTATION_FILE
00002 #define SCHEDULING_COMMON_IMPLEMENTATION_FILE
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : scheduling_common                                                 *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *******************************************************************************
00010 * Copyright (c) 1991-$now By Author.  This program is free software; you can  *
00011 * redistribute it and/or modify it under the terms of the GNU General Public  *
00012 * License as published by the Free Software Foundation; either version 2 of   *
00013 * the License or (at your option) any later version.  This is online at:      *
00014 *     http://www.fsf.org/copyleft/gpl.html                                    *
00015 * Please send any updates to: fred@gruntose.com                               *
00016 \*****************************************************************************/
00017 
00018 #include "scheduling_common.h"
00019 
00020 const char *scheduling_common::outcome_name(const outcome &to_name)
00021 {
00022   switch (to_name.value()) {
00023     case POSTPONE: return "POSTPONE";
00024     case CANCEL: return "CANCEL";
00025     case FINISHED: return "FINISHED";
00026     case MORE_LEFT: return "MORE_LEFT";
00027     case NO_ACTOR: return "NO_ACTOR";
00028     default: return common::outcome_name(to_name.value());
00029   }
00030 }
00031 
00032 
00033 #endif //SCHEDULING_COMMON_IMPLEMENTATION_FILE
00034 

Generated on Sat Oct 11 04:28:54 2008 for HOOPLE Libraries by  doxygen 1.5.1