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

# /Users/fpy/titan-1-5-MBARI/Mers/Executives/DeductiveController/DiscreteValue.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 #ifndef MERS_EXECUTIVES_DEDUCTIVE_CONTROLLER_DISCRETE_VALUE_HEADER_FILE
    00015 #define MERS_EXECUTIVES_DEDUCTIVE_CONTROLLER_DISCRETE_VALUE_HEADER_FILE
    00016
    00017 #include <Mers/Interfaces/DiscreteValue.h>
    00018
    00019 #include "DiscreteVariable.h"
    00020
    00021 namespace Mers {
    00022         namespace Models {
    00023                 namespace Base {
    00024                         class BaseModelValue;
    00025                 }
    00026         }
    00027         namespace Executives {
    00028                 namespace DeductiveController {
    00029
    00037                         class DiscreteValue : public Mers::Interfaces::DiscreteValue
    00038                         {
    00039                         public:
    00041
    00052                                 DiscreteValue(DiscreteVariable * variable,
    00053                                         const Mers::Models::Base::BaseModelValue * value);
    00054
    00058                                 virtual ~DiscreteValue();
    00059
    00065                                 DiscreteVariable * getVariable() const;
    00066
    00070                                 virtual const Mers::Models::Base::BaseModelValue * getValue() const;
    00071
    00072                         protected:
    00074                                 const Mers::Models::Base::BaseModelValue * mValue;
    00075                         };
    00076                 }
    00077         }
    00078 }
    00079
    00080
    00081 #endif
    00082