humoto
Public Types | Static Public Member Functions | List of all members
humoto::LeftOrRight Class Reference

Detailed Description

This enum is used to handle symmetric objects (left / right foot etc).

Definition at line 17 of file leftright.h.

#include <leftright.h>

Public Types

enum  Type { UNDEFINED = 0, LEFT = 1, RIGHT = 2, COUNT = 2 }
 

Static Public Member Functions

static Type invert (const Type left_or_right)
 Exchange left and right. More...
 

Member Enumeration Documentation

◆ Type

Enumerator
UNDEFINED 
LEFT 
RIGHT 
COUNT 

Definition at line 20 of file leftright.h.

Member Function Documentation

◆ invert()

static Type humoto::LeftOrRight::invert ( const Type  left_or_right)
inlinestatic

Exchange left and right.

Parameters
[in]left_or_rightLEFT or RIGHT
Returns
RIGHT or LEFT

Definition at line 37 of file leftright.h.


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