libtcspc.RecordLastAccessor

class libtcspc.RecordLastAccessor(*args, **kwargs)[source]

Bases: Accessor, Protocol

Run-time accessor for a RecordLast processor.

See also

tcspc::record_last_accessor

The underlying C++ accessor.

RecordLast

The processor accessed.

get()[source]

Return the last recorded event.

Returns:

A copy of the last event of the recorded type that passed through, or None if no such event has been observed yet.

Return type:

EventInstance or None