appkit  1.5.1
RoadNarrows Robotics Application Kit
StateKb.cxx File Reference

Keyboard StateKb derived state class implementation. More...

#include <sys/select.h>
#include <stdio.h>
#include <unistd.h>
#include <stdarg.h>
#include <libgen.h>
#include <fcntl.h>
#include <termios.h>
#include <sstream>
#include <string>
#include <map>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/appkit/Random.h"
#include "rnr/appkit/State.h"
#include "rnr/appkit/StateKb.h"

Go to the source code of this file.

Classes

struct  StateKb
 

Functions

static void fdset_nowarn (int fd, fd_set *pset)
 FD_SET() wrapper with no annoying warnings. More...
 

Detailed Description

Keyboard StateKb derived state class implementation.

LastChangedDate
2013-05-06 10:03:14 -0600 (Mon, 06 May 2013)
Rev
2907
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)
Daniel Packard (danie.nosp@m.l@ro.nosp@m.adnar.nosp@m.rows.nosp@m..com)
Copyright
© 2012-2017. RoadNarrows LLC.
http://www.roadnarrows.com
All Rights Reserved

Definition in file StateKb.cxx.

Function Documentation

static void fdset_nowarn ( int  fd,
fd_set *  pset 
)
inlinestatic

FD_SET() wrapper with no annoying warnings.

Parameters
fdFile descriptor to add to set.
psetPointer to fd set.

Definition at line 89 of file StateKb.cxx.

Referenced by rnr::StateKb::receiveEvent().

90 {
91  FD_SET(fd, pset);
92 }