/**
 * $Id$
 * $Revision$
 * $Author$
 * $Date$
 *
 * Author: cob
 *
 * This file is part of The iWear Framework.
 * In particular this file is part of the Framework Output
 *
 * The iWear Framework is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by the
 * Free Software Foundation as in version 2 of the License.

 * 
 * The iWear Framework is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * The iWear Framework; if not, write to the Free Software Foundation, Inc., 59
 * Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef __IOWARRIORSIGNALDATAFUNCTOR_H
#define __IOWARRIORSIGNALDATAFUNCTOR_H

// Standard includes

// iWear includes
#ifndef __OUTPUTDATAFUNCTOR_H
#include <iwear_output/outputdatafunctor.h>
#endif

#ifndef __IOWARRIOROUTPUTMODULE_H
#include <iwear_iowarrior/iowarrioroutputmodule.h>
#endif


namespace iwear {
namespace output {
namespace iowarrior{
class IOWarriorSignalDataFunctor : public OutputDataFunctor {

public:

    IOWarriorSignalDataFunctor(IOWarriorOutputModule&);
    
    /**
     * Destructor.
     */
    virtual ~IOWarriorSignalDataFunctor(void);

    /**
     * Method that is called on the delivery of an event. It has to be
     * implemented by deriving classes. The correct type of the parameter
     * should be ensured - therefore it can be casted to the appropriate type.
     *
     * @param odf_parameter The Parameter that contains further information on
     * the change that happened.
     */
    virtual void operator()(const OutputDataFunctorParameter& odf_parameter);

private:
    IOWarriorOutputModule& iowarrior_output_module;
};
} // namespace iowarrior
} // namespace output
} // namespace iwear

#endif // __IOWARRIORSIGNALDATAFUNCTOR_H

