Khangai Robot Play - Naive  01
THe naive play of the Khangai Robot
JoyStick Class Reference

#include <joystick.h>

Collaboration diagram for JoyStick:

Public Member Functions

 JoyStick (UART_HandleTypeDef *huart)
 
 JoyStick (JoyStick &&)=default
 
 JoyStick (const JoyStick &)=default
 
JoyStickoperator= (JoyStick &&)=default
 
JoyStickoperator= (const JoyStick &)=default
 
 ~JoyStick ()
 
int init ()
 
bool is_Empty ()
 
JoyStick_Commandparse ()
 

Static Public Member Functions

static JoyStickget_Instance (UART_HandleTypeDef *huart)
 

Private Member Functions

JoyStick_Data read ()
 
void parse_JoyData (JoyStick_Data joy)
 

Private Attributes

UART_HandleTypeDef * huart_
 
struct JoyStick_Command Joy_Command
 

Constructor & Destructor Documentation

◆ JoyStick() [1/3]

JoyStick::JoyStick ( UART_HandleTypeDef *  huart)
inline

◆ JoyStick() [2/3]

JoyStick::JoyStick ( JoyStick &&  )
default

◆ JoyStick() [3/3]

JoyStick::JoyStick ( const JoyStick )
default

◆ ~JoyStick()

JoyStick::~JoyStick ( )
inline

Member Function Documentation

◆ get_Instance()

JoyStick & JoyStick::get_Instance ( UART_HandleTypeDef *  huart)
static
Here is the caller graph for this function:

◆ init()

int JoyStick::init ( )
Here is the caller graph for this function:

◆ is_Empty()

bool JoyStick::is_Empty ( )
Here is the caller graph for this function:

◆ operator=() [1/2]

JoyStick& JoyStick::operator= ( JoyStick &&  )
default

◆ operator=() [2/2]

JoyStick& JoyStick::operator= ( const JoyStick )
default

◆ parse()

JoyStick_Command & JoyStick::parse ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_JoyData()

void JoyStick::parse_JoyData ( JoyStick_Data  joy)
private
Here is the caller graph for this function:

◆ read()

JoyStick_Data JoyStick::read ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ huart_

UART_HandleTypeDef* JoyStick::huart_
private

◆ Joy_Command

struct JoyStick_Command JoyStick::Joy_Command
private

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