RWAbort Class Reference

abort() on access memory More...

#include <specialmem.h>

Inheritance diagram for RWAbort:
Inheritance graph
[legend]
Collaboration diagram for RWAbort:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RWAbort (TraceValueRegister *registry, const std::string &tracename="")

Protected Member Functions

unsigned char get () const
void set (unsigned char)

Detailed Description

abort() on access memory

Any access to this memory will instantly stop simulavr.

Definition at line 87 of file specialmem.h.


Constructor & Destructor Documentation

RWAbort::RWAbort ( TraceValueRegister registry,
const std::string &  tracename = "" 
)

Definition at line 90 of file specialmem.cpp.


Member Function Documentation

unsigned char RWAbort::get (  )  const [protected, virtual]

This function as the oppposite to get() is expected to read the real byte.

Implements RWMemoryMember.

Definition at line 99 of file specialmem.cpp.

References SystemConsoleHandler::AbortApplication(), and sysConHandler.

Here is the call graph for this function:

void RWAbort::set ( unsigned  nv  )  [protected, virtual]

This function is the function which will be called by the above access operators and is expected to do the real work when writing a byte.

Implements RWMemoryMember.

Definition at line 94 of file specialmem.cpp.

References SystemConsoleHandler::AbortApplication(), and sysConHandler.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sun Feb 12 16:53:00 2012 for Simulavr by  doxygen 1.6.3