Kodi Development  20.0
for Binary and Script based Add-Ons

Public Member Functions

bool IsValid () const
 Check this feature is valid. More...
 
 JoystickFeature (const JOYSTICK_FEATURE &feature)
 
 JoystickFeature (const JoystickFeature &other)
 Class copy constructor. More...
 
 JoystickFeature (const std::string &name="", JOYSTICK_FEATURE_TYPE type=JOYSTICK_FEATURE_TYPE_UNKNOWN)
 Class constructor. More...
 
const std::string & Name (void) const
 Get name of feature. More...
 
JoystickFeatureoperator= (const JoystickFeature &rhs)
 Copy data from another JoystickFeature class to here. More...
 
bool operator== (const JoystickFeature &other) const
 Compare this with another class of this type. More...
 
const DriverPrimitivePrimitive (JOYSTICK_FEATURE_PRIMITIVE which) const
 Get primitive of feature by wanted type. More...
 
std::array< DriverPrimitive, JOYSTICK_PRIMITIVE_MAX > & Primitives ()
 Get all primitives on this class. More...
 
const std::array< DriverPrimitive, JOYSTICK_PRIMITIVE_MAX > & Primitives () const
 Get all primitives on this class (as constant). More...
 
void SetInvalid (void)
 Set type as invalid. More...
 
void SetName (const std::string &name)
 Set name of feature. More...
 
void SetPrimitive (JOYSTICK_FEATURE_PRIMITIVE which, const DriverPrimitive &primitive)
 Set primitive for feature by wanted type. More...
 
void SetType (JOYSTICK_FEATURE_TYPE type)
 Set type of feature. More...
 
void ToStruct (JOYSTICK_FEATURE &feature) const
 
JOYSTICK_FEATURE_TYPE Type (void) const
 Get name of feature. More...
 

Static Public Member Functions

static void FreeStruct (JOYSTICK_FEATURE &feature)
 

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