#include <textonlyFrontEnd.h>
Inherits FrontEnd.
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... |
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 }
|
|
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 }
|
|
Display a debug message.
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 }
|
Display open matrices (OBSOLETE!!).
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 }
|
Display logged in Users.
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 }
|
Update function.
Reimplemented from FrontEnd.
Definition at line 18 of file server/frontends/textonly/textonlyFrontEnd.cpp.
00018 { 00019 }