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

#include <bound_box.h>

Collaboration diagram for Bound_Box:

Public Member Functions

 Bound_Box (Bound_Box &&)=default
 
 Bound_Box (const Bound_Box &)=default
 
Bound_Boxoperator= (Bound_Box &&)=default
 
Bound_Boxoperator= (const Bound_Box &)=default
 
 ~Bound_Box ()
 
int init ()
 
void update ()
 
uint8_t get_Bounds ()
 
uint8_t get_Bound (uint8_t fence_no)
 

Static Public Member Functions

static Bound_Boxget_Instance ()
 

Private Member Functions

 Bound_Box ()
 

Private Attributes

Bound< 2 > bounds_ [NUM_BOUNDS]
 

Detailed Description

This class is fully coupled with the concrete limit switch info

Constructor & Destructor Documentation

◆ Bound_Box() [1/3]

Bound_Box::Bound_Box ( Bound_Box &&  )
default

◆ Bound_Box() [2/3]

Bound_Box::Bound_Box ( const Bound_Box )
default

◆ ~Bound_Box()

Bound_Box::~Bound_Box ( )
inline

◆ Bound_Box() [3/3]

Bound_Box::Bound_Box ( )
inlineprivate

Member Function Documentation

◆ get_Bound()

uint8_t Bound_Box::get_Bound ( uint8_t  fence_no)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_Bounds()

uint8_t Bound_Box::get_Bounds ( )
inline
Here is the caller graph for this function:

◆ get_Instance()

Bound_Box & Bound_Box::get_Instance ( )
static
Here is the caller graph for this function:

◆ init()

int Bound_Box::init ( )
Here is the call graph for this function:

◆ operator=() [1/2]

Bound_Box& Bound_Box::operator= ( Bound_Box &&  )
default

◆ operator=() [2/2]

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

◆ update()

void Bound_Box::update ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bounds_

Bound<2> Bound_Box::bounds_[NUM_BOUNDS]
private

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