Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Kconsole Class Reference

#include <kernel_console.h>

Inheritance diagram for Kconsole:

Mux_console Console List of all members.

Public Member Functions

int getchar (bool blocking=true)
 read a charcater from the input.
void getchar_chance ()
virtual bool register_console (Console *c, int pos=0)
 Register a console to be multiplexed.

Static Public Member Functions

static Mux_consoleconsole () FIASCO_CONST
static void activate ()

Static Private Attributes

static bool initialized

Member Function Documentation

void Kconsole::activate  )  [static]
 

Mux_console * Kconsole::console  )  [static]
 

int Kconsole::getchar bool  blocking = true  )  [virtual]
 

read a charcater from the input.

Parameters:
blocking if true getchar blocks til a charcater is available.
This method must be implemented in every implementation, but can simply return -1 for output only consoles.

Reimplemented from Mux_console.

void Kconsole::getchar_chance  ) 
 

Reimplemented from Mux_console.

bool Kconsole::register_console Console c,
int  pos = 0
[virtual]
 

Register a console to be multiplexed.

Parameters:
cons the Console to add.
pos the position of the console, normally not needed.

Reimplemented from Mux_console.


Member Data Documentation

bool Kconsole::initialized [static, private]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 26 14:20:16 2005 for Fiasco by  doxygen 1.4.2