TEMU
4.4
The Terma Emulator
|
#include </builds/termade/temu/temu/include/temu-c/Support/Objsys.h>
Data Fields | |
temu_Class * | Class |
Class pointer. More... | |
char * | Name |
Object name. More... | |
temu_TimeSource * | TimeSource |
Timesource object. More... | |
temu_Component * | Component |
Parent component (null for root comp) More... | |
uint64_t | LoggingFlags |
Log category enabled/disabled. More... | |
int64_t | WillDisposeNotification |
int64_t | DisposedNotification |
void * | UserData |
User data pointer. This is not saved in snapshots. More... | |
uint64_t | IsClassObject: 1 |
The object is a class object. More... | |
uint64_t | IsCheckpointable: 1 |
The object is snapshottable. More... | |
uint64_t | IsTimeSource: 1 |
uint64_t | TraceMemoryReads: 1 |
uint64_t | TraceMemoryWrites: 1 |
uint64_t | BreakOnMemoryRead: 1 |
uint64_t | BreakOnMemoryWrite: 1 |
Root object type for all TEMU objects.
The TEMU object system is used for defining models in TEMU. All models must derive from temu_Object
.
Inheritance in C is done by placing a temu_Object
field as the first field in the derived struct.
TEMU by convention use the name Super
for the parent field name.
The type contains a UserData
void pointer that can be used by for example simulator integrators. The UserData
field can be written by the user. The field is guaranteed to not be modified by the TEMU runtime.
uint64_t temu_Object::BreakOnMemoryRead |
Memory read accesses to this object will trigger break
uint64_t temu_Object::BreakOnMemoryWrite |
Memory write accesses to this object will trigger break
temu_Class* temu_Object::Class |
Class pointer.
temu_Component* temu_Object::Component |
Parent component (null for root comp)
int64_t temu_Object::DisposedNotification |
Notification emitted after object has been deleted
uint64_t temu_Object::IsCheckpointable |
The object is snapshottable.
uint64_t temu_Object::IsClassObject |
The object is a class object.
uint64_t temu_Object::IsTimeSource |
The object is a time source (can be safely casted to temu_TimeSource)
uint64_t temu_Object::LoggingFlags |
Log category enabled/disabled.
char* temu_Object::Name |
Object name.
temu_TimeSource* temu_Object::TimeSource |
Timesource object.
uint64_t temu_Object::TraceMemoryReads |
Memory read accesses to this object will be traced by memory space
uint64_t temu_Object::TraceMemoryWrites |
Memory write accesses to this object will be traced by memory space
void* temu_Object::UserData |
User data pointer. This is not saved in snapshots.
int64_t temu_Object::WillDisposeNotification |
Notification emitted before object is deleted