Class DBTraceObjectRegisterContainer

java.lang.Object
ghidra.trace.database.memory.DBTraceObjectRegisterContainer
All Implemented Interfaces:
DBTraceObjectInterface, TraceRegisterContainer, TraceObjectInterface, TraceUniqueObject

public class DBTraceObjectRegisterContainer extends Object implements TraceRegisterContainer, DBTraceObjectInterface
  • Constructor Details

    • DBTraceObjectRegisterContainer

      public DBTraceObjectRegisterContainer(DBTraceObject object)
  • Method Details

    • getObject

      public TraceObject getObject()
      Description copied from interface: TraceObjectInterface
      Get the object backing this implementation
      Specified by:
      getObject in interface TraceObjectInterface
      Returns:
      the object
    • translateEvent

      public TraceChangeRecord<?,?> translateEvent(TraceChangeRecord<?,?> rec)
      Description copied from interface: DBTraceObjectInterface
      Translate an object event into the interface-specific event

      Both the object event and the interface-specific event, if applicable, will be emitted. If multiple events need to be emitted, then this method may emit them directly via its object's trace. If exactly one event needs to be emitted, then this method should return the translated record. If no translation applies, or if the translated event(s) were emitted directly, this method returns null.

      Specified by:
      translateEvent in interface DBTraceObjectInterface
      Parameters:
      rec - the object event
      Returns:
      the interface-specific event to emit, or null