- Main Page
- Namespaces
- Classes
- Files
- Related Pages

# /Users/fpy/titan-1-5-MBARI/Mers/Executives/DeductiveController/Rtapi/timeout_handlers.cpp

    00001
    00002 //
    00003 // Copyright (c) 2004           Model-based Embedded and Robotic Systems Group
    00004 // All Rights Reserved          Massachusetts Institute of Technology
    00005 //
    00006 // This software is provided as is. Model-based Embedded and Robotic Systems
    00007 // (MERS) group does not assume any responsibility.
    00008 //
    00009 // Organization:        Model-based Embedded and Robotic Systems Group
    00010 //                                      Massachusetts Institute of Technology
    00011 //
    00013
    00014
    00026 // NOTE:  We don't use this file at the moment
    00027 #error We do not use this file right now - do not build it
    00028
    00029 //#include <unistd.h>
    00030 #include "livapi_rt.h"
    00031
    00032 using namespace Mers::Executives::DeductiveController::Rtapi;
    00033
    00038 void *default_observation_timeout(void *param)
    00039 {
    00040   L2_rtapi * rtapi = (L2_rtapi *) param;
    00041
    00042   // timeout finished so put diagnosis messages on queue
    00043   rtapi->queue_find_mode_estimate();
    00044
    00045   (&rtapi->thequeue)->decrement_timeouts();
    00046   return 0;
    00047 }
    00048
    00053 void *default_command_timeout(void *param)
    00054 {
    00055   L2_rtapi * rtapi = (L2_rtapi *) param;
    00056
    00057   rtapi->queue_find_mode_estimate();
    00058
    00059   (&rtapi->thequeue)->decrement_timeouts();
    00060   return 0;
    00061 }