SimCon interface update: save returns a boolean, now (+ redundant virtual keywords removed).

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1724 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2012-10-05 12:12:56 +00:00
parent 37f030b9a3
commit 171d178309
8 changed files with 25 additions and 16 deletions

View File

@ -35,22 +35,23 @@ public:
* Initialize the controller.
*/
OVPController();
virtual ~OVPController();
virtual void onInstrPtrChanged(address_t instrPtr);
~OVPController();
void onInstrPtrChanged(address_t instrPtr);
/**
* Save simulator state.
* @param path Location to store state information
* @return \c true if the state has been successfully saved, \c false otherwise
*/
virtual void save(const std::string& path);
bool save(const std::string& path);
/**
* Restore simulator state.
* @param path Location to previously saved state information
*/
virtual void restore(const std::string& path);
void restore(const std::string& path);
/**
* Reboot simulator.
*/
virtual void reboot();
void reboot();
/**
* Returns the current instruction pointer.
* @return the current eip