## NAME

ACE_TTY_IO - Class definitions for platform specific TTY features.

## SYNOPSIS

    #include <ace/TTY_IO.h>

    class ACE_TTY_IO : public ACE_DEV_IO
    {
      public:
        enum Control_Mode{ SETPARAMS, GETPARAMS };

        struct Serial_Params
        {
          public:
            int baudrate;
            int parityenb;
            const char *paritymode;
            int databits;
            int stopbits;
            int readtimeoutmsec;
            int ctsenb;
            int rcvenb;
        };

`int control (Control_Mode cmd, Serial_Params *arg) const;` `operator ACE_DEV_IO &();` `};`

## DESCRIPTION

## PUBLIC MEMBERS

    int control (Control_Mode cmd, Serial_Params *arg) const;

Interface for reading/writing serial device parameters.

    operator ACE_DEV_IO &();

This is necessary to pass ACE_TTY_IO as parameter to DEV_Connector.

## AUTHOR

Douglas C. Schmidt

## LIBRARY

ace