Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TextOnlyFrontEnd Class Reference

Textonly Frontend. More...

#include <textonlyFrontEnd.h>

Inherits FrontEnd.

List of all members.

Public Methods

 TextOnlyFrontEnd ()
 TextOnlyFrontEnd (int argc, char** argv)
 ~TextOnlyFrontEnd ()
void update ()
 Update function. More...

void displayUsers (int users)
 Display logged in Users. More...

void displayMatrices (int matrices)
 Display open matrices (OBSOLETE!!). More...

void displayDebugMessage (const char* msg)
 Display a debug message. More...


Detailed Description

Textonly Frontend.

Definition at line 8 of file server/frontends/textonly/textonlyFrontEnd.h.

00008 {
00009     public:
00010     TextOnlyFrontEnd ();
00011     TextOnlyFrontEnd (int argc, char** argv);
00012     ~TextOnlyFrontEnd ();
00013 
00014     void    update ();
00015 
00016     void    displayUsers (int users);   // amount of users logged in
00017     void    displayMatrices (int matrices); // amount of active matrices
00018 
00019     void    displayDebugMessage (const char* msg);
00020 
00021     private:
00022 }

Constructor & Destructor Documentation

TextOnlyFrontEnd::TextOnlyFrontEnd ()

Definition at line 6 of file server/frontends/textonly/textonlyFrontEnd.cpp.

00006 {
00007 }

TextOnlyFrontEnd::TextOnlyFrontEnd ( int argc,
char ** argv)

Definition at line 9 of file server/frontends/textonly/textonlyFrontEnd.cpp.

00009 {
00010 
00011     fprintf ( stderr, "\n3Dsia Server\ntextonly frontend, ugly but good for gdb :)\n" );
00012 
00013 }

TextOnlyFrontEnd::~TextOnlyFrontEnd ()

Definition at line 15 of file server/frontends/textonly/textonlyFrontEnd.cpp.

00015 {
00016 }

Member Function Documentation

void TextOnlyFrontEnd::displayDebugMessage ( const char * msg) [virtual]

Display a debug message.

Parameters:
msg   the debug message

Reimplemented from FrontEnd.

Definition at line 29 of file server/frontends/textonly/textonlyFrontEnd.cpp.

00029 {
00030     fprintf ( stderr, "\n(d) %s", msg );
00031 }

void TextOnlyFrontEnd::displayMatrices ( int matrices) [virtual]

Display open matrices (OBSOLETE!!).

Parameters:
matrices   number of open matrices

Reimplemented from FrontEnd.

Definition at line 25 of file server/frontends/textonly/textonlyFrontEnd.cpp.

00025 {
00026     fprintf ( stderr, "\n(i) Matrices open: %d", matrices );
00027 }

void TextOnlyFrontEnd::displayUsers ( int users) [virtual]

Display logged in Users.

Parameters:
users   number of users to be displayed

Reimplemented from FrontEnd.

Definition at line 21 of file server/frontends/textonly/textonlyFrontEnd.cpp.

00021 {
00022     fprintf ( stderr, "\n(i) Users connected: %d", users );
00023 }

void TextOnlyFrontEnd::update () [virtual]

Update function.

Reimplemented from FrontEnd.

Definition at line 18 of file server/frontends/textonly/textonlyFrontEnd.cpp.

00018 {
00019 }

The documentation for this class was generated from the following files:
Generated at Sat May 13 13:50:27 2000 for 3Dsia by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000