Public Member Functions | |
abstract ReaderMuseBuilder | withPacketTypes (HashSet< MuseDataPacketType > types) |
abstract ReaderMuseBuilder | skipPacketTypes (HashSet< MuseDataPacketType > types) |
abstract ReaderMuseBuilder | withModel (MuseModel model) |
abstract ReaderMuseBuilder | withPlaybackSettings (ReaderMusePlaybackSettings settings) |
abstract ReaderMuseBuilder | withEventLoop (EventLoop loop) |
abstract ReaderMuse | build (MuseFileReader reader) |
abstract ReaderMuse | buildWithAsync (MuseFileReader reader, EventLoop asyncLoop) |
Static Public Member Functions | |
static native ReaderMuseBuilder | get () |
Builds a ReaderMuse that plays back the packets in the given MuseFileReader .
It exposes a way to set the configuration with chainable method calls, e.g.:
|
abstract |
Construct a ReaderMuse
reader | The MuseFileReader to use to read the file. |
|
abstract |
Construct a ReaderMuse
reader | The MuseFileReader to use to read the file. |
asyncLoop | The EventLoop to use for the call to Muse::runAsynchronously() |
|
static |
Returns a reference to a ReaderMuseBuilder
|
abstract |
The set of packet types to explicitly ignore in the file.
The default is the empty set.
The eventual set used is computed by the last call to withPacketTypes() minus the last call to skipPacketTypes()
types | The set of packet types to skip. |
|
abstract |
The EventLoop to use to handle simulated playback.
The default is a null pointer (no event loop).
loop | The EventLoop to use. |
|
abstract |
The model that this Muse should say it is.
The default is Muse 2014 ( MU_01 ).
model | The model to use. |
|
abstract |
The set of packet types to pass through from the file.
The default set contains the following all packet types in MuseDataPacketType .
The eventual set used is computed by the last call to withPacketTypes() minus the last call to skipPacketTypes()
types | The set of packet types to read. |
|
abstract |
The playback settings to use with playing back the file.
The default is ReaderMusePlaybackSettings.AS_FAST_AS_POSSIBLE_WITH_SAVED_TIMESTAMP
settings | The playback settings to use. |