Go to the documentation of this file.
65 #ifndef BROADCASTDEVICE_H
66 #define BROADCASTDEVICE_H
77 std::vector<XsDevice*>
children()
const;
98 bool reset(
bool skipDeviceIdCheck =
false)
override;
A class that represents a matrix of real numbers.
bool setSerialBaudRate(XsBaudRate baudrate) override
Change the serial baudrate to baudrate.
A class that represents a vector of real numbers.
bool setSyncSettings(const XsSyncSettingArray &s) override
Set the synchronization settings of the device.
bool gotoConfig() override
Put the device in config mode.
bool closeLogFile() override
Close the log file.
std::vector< int > supportedUpdateRates(XsDataIdentifier dataType) const override
required function to prevent pure-virtualness
bool setTransportMode(bool transportModeEnabled) override
Enable or disable the transport mode for the device.
bool isMeasuring() const override
Returns true if the device is currently in a measuring state.
bool storeFilterState() override
Store orientation filter state in the device.
High level Motion Tracker (MT) management class.
bool isReadingFromFile() const override final
Returns true if the device is reading from a file.
Intimately entangled class with XsControl that allows broadcasting to all main devices.
void flushInputBuffers() override
Clear the inbound data buffers of the device.
bool abortFlushing() override
Abort the wireless flushing operation and finalize the recording.
bool resetLogFileReadPosition() override
Set the read position of the open log file to the start of the file.
bool resetOrientation(XsResetMethod resetMethod) override
Perform an orientation reset on the device using the given resetMethod.
XsOption
Xda options, used to control the kind of data processing done by XDA.
bool setNoRotation(uint16_t duration) override
Set the no rotation period to duration.
bool requestBatteryLevel() override
Request the battery level from the device.
bool setHeadingOffset(double offset) override
Set the 'heading offset' setting of the device.
XsVersion hardwareVersion() const override
required function to prevent pure-virtualness
bool updateCachedDeviceInformation() override
Updates the cached device information for all devices connected to this port.
XsDataIdentifier
Defines the data identifiers.
enum XsBaudRate XsBaudRate
Communication speed.
Pure virtual base class for N-argument specific function forwarding.
XsTimeStamp batteryLevelTime() override
Requests the time the battery level was last updated.
BroadcastDevice(XsControl *control)
Constructor, sets up the XsControl reference.
bool setGravityMagnitude(double mag) override
Sets the 'Gravity Magnitude' of the device to the given value mag.
bool isRecording() const override
Returns true if the device is currently in a recording state.
bool restoreFactoryDefaults() override
Restore the device to its factory default settings.
XsResetMethod
Orientation reset type.
A class to store version information.
bool setXdaFilterProfile(int profileType) override
Sets the filter profile to use for computing orientations on the host PC.
virtual bool reset()
Reset the device.
bool setOnboardFilterProfile(int profileType) override
Sets the filter profile to use for computing orientations on the device.
bool initialize() override
required function to prevent pure-virtualness
bool startRecording() override
Start recording data.
A list of XsSyncSetting values.
bool loadLogFile() override
Load a complete logfile.
bool setInitialPositionLLA(const XsVector &lla) override
Sets the 'Latitude Longitude Altitude' setting of the device to the given vector.
bool setLocationId(int id) override
Set the location ID of the device.
bool gotoMeasurement() override
Put this device in measurement mode.
~BroadcastDevice() override
Destructor, no special actions taken.
A 0-terminated managed string of characters.
XsString productCode() const override
required function to prevent pure-virtualness
bool stopRecording() override
Stop recording data.
std::vector< XsDevice * > children() const
Return the children of this device, actually returns the main devices in the XsControl object.
This class contains method to set, retrieve and compare timestamps.
bool setObjectAlignment(const XsMatrix &matrix) override
Sets the object alignment of a device to the given matrix.
void setOptions(XsOption enable, XsOption disable) override
Enable and disable processing options.