Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::GAME::CAgentController Class Reference

Class to represent the controller of a game player (a.k.a. agent) More...

#include <AgentController.h>

Public Member Functions

 CAgentController (PERIPHERALS::PeripheralPtr peripheral)
 
 ~CAgentController ()
 
void Initialize ()
 
void Deinitialize ()
 
PERIPHERALS::PeripheralPtr GetPeripheral () const
 
std::string GetPeripheralName () const
 
const std::string & GetPeripheralLocation () const
 
ControllerPtr GetController () const
 
CDateTime LastActive () const
 
float GetActivation () const
 
void ClearButtonState ()
 

Detailed Description

Class to represent the controller of a game player (a.k.a. agent)

The term "agent" is used to distinguish game players from the myriad of other uses of the term "player" in Kodi, such as media players and player cores.

Constructor & Destructor Documentation

◆ CAgentController()

CAgentController::CAgentController ( PERIPHERALS::PeripheralPtr peripheral)

◆ ~CAgentController()

CAgentController::~CAgentController ( )

Member Function Documentation

◆ ClearButtonState()

void CAgentController::ClearButtonState ( )

◆ Deinitialize()

void CAgentController::Deinitialize ( )

◆ GetActivation()

float CAgentController::GetActivation ( ) const

◆ GetController()

ControllerPtr CAgentController::GetController ( ) const

◆ GetPeripheral()

PERIPHERALS::PeripheralPtr KODI::GAME::CAgentController::GetPeripheral ( ) const
inline

◆ GetPeripheralLocation()

const std::string & CAgentController::GetPeripheralLocation ( ) const

◆ GetPeripheralName()

std::string CAgentController::GetPeripheralName ( ) const

◆ Initialize()

void CAgentController::Initialize ( )

◆ LastActive()

CDateTime CAgentController::LastActive ( ) const

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