Class DBTraceObjectActivatable

java.lang.Object
ghidra.trace.database.target.iface.DBTraceObjectActivatable
All Implemented Interfaces:
DBTraceObjectInterface, TraceActivatable, TraceObjectInterface, TraceUniqueObject

public class DBTraceObjectActivatable extends Object implements TraceActivatable, DBTraceObjectInterface
  • Constructor Details

    • DBTraceObjectActivatable

      public DBTraceObjectActivatable(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