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

# /Users/fpy/titan-1-5-MBARI/Mers/Executives/DeductiveController/Rtapi/CommandCallback.h

    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 #if !defined(AFX_COMMANDCALLBACK_H__B4885315_63D0_4CEA_B003_3BDFA55DB564__INCLUDED_)
    00015 #define AFX_COMMANDCALLBACK_H__B4885315_63D0_4CEA_B003_3BDFA55DB564__INCLUDED_
    00016
    00017 #if _MSC_VER > 1000
    00018 #pragma once
    00019 #endif // _MSC_VER > 1000
    00020
    00021 #include <Mers/Utils/Lang/BaseModelObject.h>
    00022
    00023 namespace Mers {
    00024         namespace Executives {
    00025                 namespace DeductiveController {
    00026                         namespace Rtapi {
    00027
    00033                                 class CommandCallback : public Mers::Utils::Lang::BaseModelObject
    00034                                 {
    00035                                 public:
    00039                                         CommandCallback();
    00043                                         virtual ~CommandCallback();
    00044
    00051                                         virtual void issueCommand(unsigned int commandVariable,
    00052                                                                                                                                                 unsigned int commandValue) = 0;
    00053
    00054 #ifndef EMBEDDED
    00055
    00060                                         virtual void print(std::ostream &out) const;
    00061 #endif
    00062
    00063                                 };
    00064                         }
    00065                 }
    00066         }
    00067 }
    00068
    00069 #endif // !defined(AFX_COMMANDCALLBACK_H__B4885315_63D0_4CEA_B003_3BDFA55DB564__INCLUDED_)