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

# /Users/fpy/titan-1-5-MBARI/Mers/Executives/DeductiveController/Task.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_TASK_HEADER_FILE
    00015 #define MERS_EXECUTIVES_DEDUCTIVE_CONTROLLER_TASK_HEADER_FILE
    00016
    00017 #include <Mers/Interfaces/Task.h>
    00018
    00019 namespace Mers {
    00020         namespace Models {
    00021                 namespace Base {
    00022                         class BaseModelVariable;
    00023                         class BaseModelValue;
    00024                 }
    00025         }
    00026         namespace Executives {
    00027                 namespace DeductiveController {
    00028
    00035                         class Task : public Mers::Interfaces::Task
    00036                         {
    00037                         public:
    00039
    00050                                 Task( Mers::Models::Base::BaseModelVariable * var,
    00051                                         Mers::Models::Base::BaseModelValue * value );
    00052
    00056                                 virtual ~Task();
    00057
    00061                                 Mers::Models::Base::BaseModelVariable * getVariable();
    00062
    00066                                 Mers::Models::Base::BaseModelValue * getValue();
    00067
    00069
    00076                                 virtual Mers::Utils::Lang::String toString() const;
    00077
    00078                                 // Pure virtual over-riders - not implemented !
    00079                                 bool Start( void ) { return true; }
    00080                                 bool Stop( void ) { return true; }
    00081                                 bool Completed( void ) { return true; }
    00082                                 bool Failed( void ) { return true; }
    00083
    00084                         protected:
    00086                                 Mers::Models::Base::BaseModelVariable * mVar;
    00087
    00089                                 Mers::Models::Base::BaseModelValue * mVal;
    00090                         };
    00091                 }
    00092         }
    00093 }
    00094
    00095
    00096 #endif
    00097