Completed the terminate() method

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1948 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
unzner
2012-11-22 20:36:31 +00:00
parent 431678eabf
commit 86fd2abede
2 changed files with 10 additions and 0 deletions

View File

@ -39,6 +39,11 @@ protected:
* @param reason the exit reason, i.e. exit code, passed on to simulator::terminate
*/
void terminate(int reason);
/**
* Frees all resources allocated by this object.
* This function is called by terminate as well as the destructor.
*/
inline void destroy();
private:
/**
* Sanitises the output string of the serial device monitored.