You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
825 B
C++

// vim: set noet ts=4 sw=4:
/*! \file
* \brief Enthält die Klasse Application
*/
#pragma once
#include "../../types.h"
#include "../../thread/thread.h"
//! \brief Test application
//!
//! \todo(12) Create a test application
//! \todo(14) Application should inherit from \ref Thread
//! \todo(16) Make some noise using the \ref PIT::pcspeaker "PC Speaker"
class Application:public Thread {
// Prevent copies and assignments
Application(const Application&) = delete;
Application& operator=(const Application&) = delete;
public:
Application() = default; // XXX: is this used anywhere?
/*! \brief Constructor
*
* \todo(14) Implement Constructor
*/
Application(void* tos): Thread(tos){
}
/*! \brief Contains the application code.
*
* \todo(14) Implement Method
*/
void action();
};