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

# /Users/fpy/titan-1-5-MBARI/Mers/Executives/DeductiveController/DiscreteVariable.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 "DiscreteVariable.h"
    00015
    00016 #include <Mers/Models/Base/BaseModelVariable.h>
    00017
    00019
    00020 using namespace Mers::Executives::DeductiveController;
    00021 using Mers::Models::Base::BaseModelVariable;
    00022
    00024
    00025 DiscreteVariable::DiscreteVariable(const BaseModelVariable * var)
    00026         : Mers::Interfaces::DiscreteVariable(var->getName()), mVariable(var)
    00027 {
    00028 }
    00029
    00031
    00032 DiscreteVariable::~DiscreteVariable()
    00033 {
    00034 }
    00035
    00037
    00038 const BaseModelVariable * DiscreteVariable::getVariable() const
    00039 {
    00040         return mVariable;
    00041 }
    00042