oasys::ConsoleCommand Class Reference

#include <ConsoleCommand.h>

Inheritance diagram for oasys::ConsoleCommand:

oasys::TclCommand oasys::Logger List of all members.

Detailed Description

Class to export various configuration variables related to the tcl console.

Definition at line 28 of file ConsoleCommand.h.

Public Member Functions

 ConsoleCommand (const char *default_prompt)

Public Attributes

bool stdio_
 If true, spawn a stdin/stdout interpreter.
in_addr_t addr_
 Address to listen for the console.
u_int16_t port_
 Port to listen for the console.
std::string prompt_
 Prompt string.


Constructor & Destructor Documentation

oasys::ConsoleCommand::ConsoleCommand ( const char *  default_prompt  ) 

Definition at line 22 of file ConsoleCommand.cc.

References addr_, oasys::TclCommand::bind_var(), port_, prompt_, and stdio_.


Member Data Documentation

bool oasys::ConsoleCommand::stdio_

If true, spawn a stdin/stdout interpreter.

Definition at line 32 of file ConsoleCommand.h.

Referenced by ConsoleCommand(), main(), and dtn::DTND::run_console().

in_addr_t oasys::ConsoleCommand::addr_

Address to listen for the console.

Definition at line 33 of file ConsoleCommand.h.

Referenced by ConsoleCommand(), dtn::DTND::get_options(), main(), and dtn::DTND::run_console().

u_int16_t oasys::ConsoleCommand::port_

Port to listen for the console.

Definition at line 34 of file ConsoleCommand.h.

Referenced by ConsoleCommand(), dtn::DTND::get_options(), main(), and dtn::DTND::run_console().

std::string oasys::ConsoleCommand::prompt_

Prompt string.

Definition at line 35 of file ConsoleCommand.h.

Referenced by ConsoleCommand(), main(), and dtn::DTND::run_console().


The documentation for this class was generated from the following files:
Generated on Thu Jun 7 16:57:02 2007 for DTN Reference Implementation by  doxygen 1.5.1