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

#ifndef TESTASYNCCOMPONENT_H_
#define TESTASYNCCOMPONENT_H_

#include "AsyncComponent.h"

/** Dummy implementation of AsyncComponent for testing purposes
 *
 *  \ingroup component
 *
 */
class TestAsyncComponent : public AsyncComponent
{
public:

    TestAsyncComponent( const Str& name, const Module* module = NULL, const Timespan period = Timespan::ZERO_TIMESPAN )
        : AsyncComponent( name, module, period )
    {}

    virtual ~TestAsyncComponent()
    {}

    void run( void )
    {
        printf( "%s->run()\n", getName().cStr() );
    }

};

#endif /*TESTASYNCCOMPONENT_H_*/

