#include <servo.h>
Public Member Functions | |
virtual int | Close (void) |
virtual int | Open (const char *device) |
virtual int | Open (const char *device, int flags) |
virtual | ~Servo () |
Protected Member Functions | |
virtual int | configure_raw_port (int cflags, int iflags) |
Protected Attributes | |
char | buffer [MAX_SERVO_CMD_BUFFER] |
char | devName [FILENAME_MAX] |
int | fd |
bool | have_tty |
virtual Servo::~Servo | ( | ) | [inline, virtual] |
virtual int Servo::Close | ( | void | ) | [inline, virtual] |
Reimplemented in devsteer, devthrottle, and devbrake.
virtual int Servo::configure_raw_port | ( | int | cflags, |
int | iflags | ||
) | [inline, protected, virtual] |
virtual int Servo::Open | ( | const char * | device | ) | [inline, virtual] |
Reimplemented in devthrottle, and devbrake.
virtual int Servo::Open | ( | const char * | device, |
int | flags | ||
) | [inline, virtual] |
char Servo::buffer[MAX_SERVO_CMD_BUFFER] [protected] |
char Servo::devName[FILENAME_MAX] [protected] |
bool Servo::have_tty [protected] |