#include <vector>
#include <map>
#include <list>
#include <string>
#include <iostream>
#include <cassert>
#include <cmath>
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | ASSERT(TEST, INFO) assert((TEST) && INFO) |
#define | WARN(INFO) std::cerr << "Warning: " << INFO << std::endl; |
#define | WARN_IF(TEST, INFO) if(TEST) WARN("[ " #INFO " ]"); |
#define | MSG(INFO) std::cout << "-- " INFO << std::endl; |
#define | MSG_IF(TEST, INFO) if(TEST) MSG(INFO); |
Typedefs | |
typedef unsigned char | uChar |
typedef unsigned short | uShort |
typedef unsigned int | uInt |
typedef uChar | instruction |
typedef uInt | threadId |
typedef uInt | processId |
typedef uInt | address |
|
Definition at line 29 of file common.h. Referenced by process::getProgram(), program::read(), and program::write(). |
|
|
|
|
|
Definition at line 35 of file common.h. Referenced by virtualMachine::replaceInstruction(), and virtualMachine::run(). |
|
|
|
Definition at line 56 of file common.h. Referenced by thread::getAddress(), process::getThreadAddress(), program::read(), process::spawnThread(), and program::write(). |
|
Definition at line 53 of file common.h. Referenced by virtualMachine::addInstruction(), and virtualMachine::step(). |
|
Definition at line 55 of file common.h. Referenced by process::getId(), virtualMachine::run(), and virtualMachine::step(). |
|
Definition at line 54 of file common.h. Referenced by process::spawnThread(), and virtualMachine::step(). |
|
|
|
|
|