Code Search for Developers
 
 
  

ATestee.h from Make Controller at Krugle


Show ATestee.h syntax highlighted

/****************************************************************************
**
** CTESTEE
** MakingThings 2006.
**
****************************************************************************/

#ifndef CTESTEE_H
#define CTESTEE_H

#include "MessageInterface.h"
#include "Samba.h"
#include "Osc.h"
#include "PacketUdp.h"

class ATestThread;

class ATestee
{		
	public:
	  enum Status { OK, ERROR_COULDNT_CONNECT, ERROR_COULDNT_DOWNLOAD, ERROR_COULDNT_SWITCH,
	  	            ERROR_CANT_OPEN_SOCKET, ERROR_ALREADY_PROGRAMMED, ERROR_EEPROM_FAILURE,
	  	            ERROR_NO_REPLY_EEPROM_TEST, ERROR_INCORRECT_RESPONSE, ERROR_NO_PROGRAM,
	  	            ERROR_NO_SAMBA, ERROR_NO_TESTER };	

	  ATestee( MessageInterface *messageInterface );

	  Status start();
	  Status stop();
	  
	  Status eepromTest( );
		Status flash();
		
    Status checkForCTestProgram();
    Status checkForATestProgram();
    Status requestErase();
    Status restart();
    
    Status checkForSamba();
    	  
    Status performTest( int i, int* result );
    		
	private:
    MessageInterface *messageInterface;
    PacketUdp* packetUdp;
    Osc* osc;
    
    Samba* samba;
};

#endif




See more files for this project here

Make Controller

The Make Controller is an open microcontroller platform for Makers of all kinds, by MakingThings. This project maintains the official firmware for the board and source for the software tools used with the board.

Project homepage: http://sourceforge.net/projects/makingthings
Programming language(s): C,C#,C++
License: other

  .externalToolBuilders/
    qmake.launch
  debug/
    atest.exe
    ctestee.bin
    moc_ATestThread.cpp
    moc_ATestWindow.cpp
  release/
    atest.exe
    moc_ATestThread.cpp
    moc_ATestWindow.cpp
  .cdtproject
  .project
  ATestThread.cpp
  ATestThread.h
  ATestWindow.cpp
  ATestWindow.h
  ATestee.cpp
  ATestee.h
  Makefile
  Makefile.Debug
  Makefile.Release
  MessageInterface.h
  Osc.cpp
  Osc.h
  PacketInterface.h
  PacketUdp.cpp
  PacketUdp.h
  Samba.cpp
  Samba.h
  SetupAPI.Lib
  SetupAPI.h
  atest.pro
  atest.ui
  guid829.h
  loader256_data.h
  main.cpp
  object_script.ctest.Debug
  object_script.ctest.Release
  ui_atest.h