/** \file
 *
 *  Contains the ControlModule class definition.
 *
 *  Copyright (c) 2007,2008,2009 MBARI
 *  MBARI Proprietary Information.  All Rights Reserved
 */

/** \defgroup modules_control Loadable Module: Control
 *
 *  The Control module provides components responsible for providing
 *  dynamic control of the vehicle via VerticalControl, HeadingControl,
 *  and SpeedControl.
 */

#ifndef CONTROLMODULE_H_
#define CONTROLMODULE_H_

#include "module/Module.h"

/**
 *  Provides components responsible for providing
 *  dynamic control of the vehicle via VerticalControl, HeadingControl,
 *  and SpeedControl.
 *
 *  \ingroup modules_control
 */
class ControlModule : public Module
{
public:
    /// Constructor
    ControlModule();

    /// Destructor
    virtual ~ControlModule();

    void loadComponents( Logger& logger );

};

/// Class factories

/// create_module must be implemented, following the
/// class implementation:
extern "C" Module* create_module()
{
    return new ControlModule();
}

/// destroy_module must be implemented, following the
/// class implementation:
extern "C" void destroy_module( Module* module )
{
    delete module;
}

#endif /*CONTROLMODULE_H_*/
