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

# /Users/fpy/titan-1-5-MBARI/Mers/Executives/DeductiveController/Stub/DCCallbackStub.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 #include <iostream>
    00015 #include <cassert>
    00016 #include "DCCallbackStub.h"
    00017
    00019
    00020 using namespace Mers::Executives::DeductiveController::Stub;
    00021 using Mers::Utils::Containers::intList;
    00022 using std::cout;
    00023 using std::endl;
    00024
    00026 // Public Constructors, Copy Constructors, & Destructors
    00028
    00029 DCCallbackStub::DCCallbackStub()
    00030 {
    00031 }
    00032
    00034
    00035 DCCallbackStub::~DCCallbackStub()
    00036 {
    00037 }
    00038
    00040 // Public Function Members
    00042
    00043 void
    00044 DCCallbackStub::update_mode(intList const &mode_update)
    00045 {
    00046         cout << "DCCallbackStub" << endl;
    00047         cout << "Updating the following modes: ";
    00048         cout << mode_update << endl;
    00049 }
    00050
    00052
    00053 void
    00054 DCCallbackStub::update_observation(unsigned int varUID, unsigned int valUID)
    00055 {
    00056         cout << "DC Callback Stub" << endl;
    00057         cout << "Observation update: ("
    00058                 << varUID << " = " << valUID << ")" << endl;
    00059 }
    00060
    00062
    00063 void
    00064 DCCallbackStub::execute_command(intList const &commands)
    00065 {
    00066         cout << "DCCallbackStub" << endl;
    00067         cout << "Executing the following commands:";
    00068         cout << commands << endl;
    00069 }
    00070
    00072