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

# /Users/fpy/titan-1-5-MBARI/Mers/Interfaces/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
    00015 #ifndef INTERFACES_DISCRETE_VALUE_HEADER_FILE
    00016 #define INTERFACES_DISCRETE_VALUE_HEADER_FILE
    00017
    00018 namespace Mers {
    00019         namespace Interfaces {
    00020
    00021                 class DiscreteVariable;
    00022
    00028                 class DiscreteValue
    00029                 {
    00030                 public:
    00038                         DiscreteValue(DiscreteVariable * variable, const char * name);
    00039
    00043                         virtual ~DiscreteValue();
    00044
    00050                         const char * getName() const;
    00051
    00057                         DiscreteVariable * getVariable() const;
    00058
    00059                 protected:
    00061                         char * mName;
    00062
    00064                         DiscreteVariable * mVariable;
    00065
    00066                 private:
    00068                         DiscreteValue();
    00069                         DiscreteValue(const DiscreteValue &other);
    00070                         DiscreteValue &operator=(const DiscreteValue &other);
    00071                 };
    00072
    00073         }
    00074 }
    00075
    00076 #endif