ARPDAS_QNX6 1.0
Public Member Functions
Cmd_Selectee Class Reference

#include <SerSelector.h>

Inheritance diagram for Cmd_Selectee:
Collaboration diagram for Cmd_Selectee:

List of all members.

Public Member Functions

 Cmd_Selectee (const char *name="cmd/Quit")
 Cmd_Selectee (const char *name, int bufsz)
int ProcessData (int flag)

Detailed Description

A Selectee to monitor a command channel. The default channel is "cmd/Quit" and the default action is to terminate the event loop, but this can be overridden in a subclass.

Definition at line 82 of file SerSelector.h.


Constructor & Destructor Documentation

Cmd_Selectee::Cmd_Selectee ( const char *  name = "cmd/Quit")

Opens the specified channel using tm_dev_name() and tm_open_name(). By default, tm_open_name will produce a fatal error if the resulting path is not found.

Definition at line 52 of file SerSelector.cc.

Cmd_Selectee::Cmd_Selectee ( const char *  name,
int  bufsz 
)

Definition at line 54 of file SerSelector.cc.


Member Function Documentation

int Cmd_Selectee::ProcessData ( int  flag) [virtual]
Returns:
non-zero if we should quit

Implements Selectee.

Definition at line 57 of file SerSelector.cc.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines