AntiMicroX
Public Member Functions | Private Attributes
SetJoystickXml Class Reference

SetJoystick XML serialization/deserialization helper class Reads data from the supplied SetJoystick object and writes it to XML or reads data from an QXmlStreamReader and writes it to the SetJoystick object. More...

#include <setjoystickxml.h>

Inheritance diagram for SetJoystickXml:
[legend]
Collaboration diagram for SetJoystickXml:
[legend]

Public Member Functions

 SetJoystickXml (SetJoystick *setJoystick, QObject *parent=nullptr)
 
virtual void readConfig (QXmlStreamReader *xml)
 Deserializes the given XML stream into a SetJoystick object. More...
 
virtual void writeConfig (QXmlStreamWriter *xml)
 Serializes a SetJoystick object into the the given XML stream. More...
 

Private Attributes

SetJoystickm_setJoystick
 
JoyAxisXmljoyAxisXml
 
JoyButtonXmljoyButtonXml
 

Detailed Description

SetJoystick XML serialization/deserialization helper class Reads data from the supplied SetJoystick object and writes it to XML or reads data from an QXmlStreamReader and writes it to the SetJoystick object.

Constructor & Destructor Documentation

◆ SetJoystickXml()

SetJoystickXml::SetJoystickXml ( SetJoystick setJoystick,
QObject *  parent = nullptr 
)
explicit

Member Function Documentation

◆ readConfig()

void SetJoystickXml::readConfig ( QXmlStreamReader *  xml)
virtual

Deserializes the given XML stream into a SetJoystick object.

Parameters
[in]xmlThe XML stream to read from

Reimplemented in GameControllerSet.

Here is the call graph for this function:

◆ writeConfig()

void SetJoystickXml::writeConfig ( QXmlStreamWriter *  xml)
virtual

Serializes a SetJoystick object into the the given XML stream.

Parameters
[in,out]xmlThe XML stream to write to
Here is the call graph for this function:

Field Documentation

◆ joyAxisXml

JoyAxisXml* SetJoystickXml::joyAxisXml
private

◆ joyButtonXml

JoyButtonXml* SetJoystickXml::joyButtonXml
private

◆ m_setJoystick

SetJoystick* SetJoystickXml::m_setJoystick
private

The documentation for this class was generated from the following files: