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

# /Users/fpy/titan-1-5-MBARI/Mers/Executives/DeductiveController/Observation/DiscreteVariable.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 //
    00010
    00011 #ifndef MERS_EXECUTIVES_DEDUCTIVECONTROLLER_OBSERVATION_DISCRETEVARIABLE
    00012 #define MERS_EXECUTIVES_DEDUCTIVECONTROLLER_OBSERVATION_DISCRETEVARIABLE
    00013
    00014 #include <Mers/Interfaces/DiscreteVariable.h>
    00015 #include <Mers/Utils/Lang/ReferencedObject.h>
    00016
    00017 namespace Mers {
    00018         namespace Executives {
    00019                 namespace DeductiveController {
    00020                         namespace Observation {
    00021
    00022                                 class DiscreteValue;
    00023
    00031                                 class DiscreteVariable : public ::Mers::Interfaces::DiscreteVariable,
    00032                                         public Mers::Utils::Lang::ReferencedObject
    00033                                 {
    00034                                 public:
    00041                                         DiscreteVariable( const char * name );
    00042
    00046                                         virtual ~DiscreteVariable();
    00047
    00057                                         void setValues( DiscreteValue * values );
    00058
    00066                                         DiscreteValue * getValue( double value ) const;
    00067
    00068                                 protected:
    00071                                         DiscreteValue * m_values;
    00072                                 };
    00073                         }
    00074                 }
    00075         }
    00076 }
    00077
    00078 #endif