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

/** \defgroup modules_controller Loadable Module: Servos
 *
 *  The ServoModule provides components responsible for providing
 *  software-hardware-device communications for controller devices -- i.e.,
 *  devices that direct the vehicle and its trajectory, such as the
 *  elevator, movable mass, rudder, and thruster.
 */

#ifndef SERVOMODULE_H_
#define SERVOMODULE_H_

#include "module/Module.h"

/**
 *  The ServoModule provides components responsible for providing
 *  software-hardware-device communications for controller devices -- i.e.,
 *  devices that direct the vehicle and its trajectory, such as the
 *  elevator, movable mass, rudder, and thruster.
 *
 *  \ingroup modules_controller
 */
class ContorllerModule : public Module
{
public:
    /// Constructor
    ContorllerModule();

    /// Destructor
    virtual ~ContorllerModule();

    void loadComponents( Logger& logger );

};

/// Class factories

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

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

#endif /*SERVOMODULE_H_*/
