// *****************************************************************************
//  Copyright (C): Christian Nastasi, 2011                                    
//  Author(s): Christian Nastasi                                              
//  Developed at the:                                                         
//  - Retis LAB, TeCIP Institute, Scuola Superiore Sant'Anna (Pisa)           
//  - School of Elec Eng and Computer Science, Queen Mary University (London) 
//  This file is distributed under the terms in the attached LICENSE_2 file.  
//  If you do not find this file, copies can be found by writing to:          
//  - c.nastasi@sssup.it                                                      
//  - nastasichr@gmail.com                                                    
//  - andrea.cavallaro@eecs.qmul.ac.uk                                        
// *****************************************************************************

#ifndef __WiseCameraAppTest_h__
#define __WiseCameraAppTest_h__ 

#include "WiseCameraApplication.h"

class WiseCameraAppTest : public WiseCameraApplication {
private:
	static ofstream logger; //!< Used to collect node print-out

	unsigned int detection_counter;

protected:
	void startup();
	void finishSpecific();
	//void fromNetworkLayer(WiseApplicationPacket *, const char *, double, double);
	void fromNetworkLayer(cPacket* , const char* , double, double);
	void handleSensorReading(WiseCameraMessage *);
	void timerFiredCallback(int);
	virtual void notifyNeighbourDiscovered();
};
#endif // __WiseCameraAppTest_h__	
