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

# /Users/fpy/titan-1-5-MBARI/Mers/Executives/DeductiveController/TaskFactory.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_FACTORY_HEADER_FILE
    00015 #define MERS_EXECUTIVES_DEDUCTIVE_CONTROLLER_TASK_FACTORY_HEADER_FILE
    00016
    00017 #include "Task.h"
    00018 #include <Mers/Interfaces/StaticTaskFactory.h>
    00019
    00020 namespace Mers {
    00021         namespace Models {
    00022                 namespace Base {
    00023                         class BaseModel;
    00024                 }
    00025         }
    00026         namespace Executives {
    00027                 namespace DeductiveController {
    00028
    00036                         class TaskFactory : public Mers::Interfaces::StaticTaskFactory
    00037                         {
    00038                         public:
    00040                                 typedef ::Mers::Executives::DeductiveController::Task t_DCTask;
    00042                                 typedef ::Mers::Utils::Containers::SharedPointer< t_DCTask >
    00043                                         t_DCTaskSharedPointer;
    00044                         public:
    00052                                 TaskFactory(Mers::Models::Base::BaseModel * model);
    00053
    00057                                 virtual ~TaskFactory();
    00058
    00068                                 virtual t_TaskSharedPointer
    00069                                         createTask( const t_TaskName taskName );
    00070
    00080                                 virtual t_TaskSharedPointer
    00081                                         createTask( const t_TaskName taskName,
    00082                                         std::vector<const t_TaskParameter *> const &parameters );
    00083                         };
    00084                 }
    00085         }
    00086 }
    00087
    00088
    00089 #endif
    00090