Package ghidra.trace.database.listing
Class AbstractBaseDBTraceCodeUnitsView<T extends DBTraceCodeUnitAdapter>
java.lang.Object
ghidra.trace.database.listing.AbstractBaseDBTraceCodeUnitsView<T>
- Type Parameters:
T- the implementation type of the units contained in the view
- Direct Known Subclasses:
AbstractComposedDBTraceCodeUnitsView,AbstractSingleDBTraceCodeUnitsView
public abstract class AbstractBaseDBTraceCodeUnitsView<T extends DBTraceCodeUnitAdapter>
extends Object
An abstract implementation of a
TraceBaseCodeUnitsView for a specific address space
Note that this class does not declare TraceBaseCodeUnitsView as an implemented interface,
thought it does implement it structurally. If it were implemented nominally, the realizations
would inherit the same interface twice, with different type parameters, which is not allowed.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleancontainsAddress(long snap, Address address) abstract booleancoversRange(Lifespan span, AddressRange range) booleancoversRange(TraceAddressSnapRange range) get(long snap, boolean forward) get(long snap, AddressRange range, boolean forward) get(long snap, AddressSetView set, boolean forward) getAddressSetView(long snap) abstract AddressSetViewgetAddressSetView(long snap, AddressRange within) protected AddressSpaceGet the address space for this viewabstract Tabstract TgetCeiling(long snap, Address address) abstract TgetContaining(long snap, Address address) abstract TgetSpace()getTrace()abstract booleanintersectsRange(Lifespan span, AddressRange range) booleanabstract intsize()
-
Field Details
-
space
-
-
Constructor Details
-
AbstractBaseDBTraceCodeUnitsView
Construct a view- Parameters:
space- the space, bound to an address space
-
-
Method Details
-
getSpace
-
getAddressSpace
Get the address space for this view- Returns:
- the address space
-
getTrace
- See Also:
-
size
public abstract int size()- See Also:
-
getBefore
- See Also:
-
getFloor
- See Also:
-
getContaining
- See Also:
-
getAt
- See Also:
-
getCeiling
- See Also:
-
getAfter
- See Also:
-
get
- See Also:
-
getIntersecting
- See Also:
-
get
- See Also:
-
get
- See Also:
-
get
- See Also:
-
get
- See Also:
-
getAddressSetView
- See Also:
-
getAddressSetView
- See Also:
-
containsAddress
- See Also:
-
coversRange
- See Also:
-
coversRange
- See Also:
-
intersectsRange
- See Also:
-
intersectsRange
- See Also:
-