ADBLib  0.5
A simple library for rapid robot code development
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Pages
ADBLib::ctrlCfg Class Reference

Internal use only. Stores control information. More...

#include <Controller.h>

Collaboration diagram for ADBLib::ctrlCfg:

Classes

struct  btnCfg
 < For internal use by Controller More...
 
struct  jysCfg
 < For internal use by Controller. More...
 

Public Types

enum  { BUTTON, JOYSTICK }
 

Public Member Functions

 ctrlCfg ()
 
void free ()
 

Public Attributes

enum ADBLib::ctrlCfg:: { ... }  type
 The type of control this is. More...
 
unsigned int id
 Control ID, needed regardless of button vs joystick. More...
 
bool inverse
 Inverse - if button, inverts. If joystick, flips the axis... sort of. More...
 
struct ADBLib::ctrlCfg::btnCfg btn
 
struct ADBLib::ctrlCfg::jysCfg jys
 

Detailed Description

Internal use only. Stores control information.

Member Enumeration Documentation

anonymous enum
Enumerator
BUTTON 
JOYSTICK 

Constructor & Destructor Documentation

ADBLib::ctrlCfg::ctrlCfg ( )

Here is the call graph for this function:

Member Function Documentation

void ADBLib::ctrlCfg::free ( )
inline

Member Data Documentation

struct ADBLib::ctrlCfg::btnCfg ADBLib::ctrlCfg::btn
unsigned int ADBLib::ctrlCfg::id

Control ID, needed regardless of button vs joystick.

bool ADBLib::ctrlCfg::inverse

Inverse - if button, inverts. If joystick, flips the axis... sort of.

struct ADBLib::ctrlCfg::jysCfg ADBLib::ctrlCfg::jys
enum { ... } ADBLib::ctrlCfg::type

The type of control this is.


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