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

/** \defgroup modules_builtintest Loadable Module: BIT
 *
 *  The BIT module provides components responsible for providing
 *  StatUp built-in-test (SBIT), C built-in-test (CBIT), and
 *  Initiated built-in-test (IBIT).
 */

#ifndef BITMODULE_H_
#define BITMODULE_H_

#include "module/Module.h"

/**
 *  The BIT module provides components responsible for providing
 *  StatUp built-in-test (SBIT), Continuous built-in-test (CBIT), and
 *  Initiated built-in-test (IBIT).
 *
 *  \ingroup modules_builtintest
 */
class BITModule : public Module
{
public:
    /// Constructor
    BITModule();

    /// Destructor
    virtual ~BITModule();

    void loadComponents( Logger& logger );

};

/// Class factories

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

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

#endif /*BITMODULE_H_*/
