main.C File Reference

A test application for 3-D Console that will display any plain-text file in a page-by-page fashion. More...

#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <stropts.h>
#include <fstream>
#include <archon/math/vector.H>
#include <archon/util/thread.H>
#include <archon/util/ref.H>
#include <archon/util/options.H>
#include <archon/util/file.H>
#include <archon/util/polygon_mesher.H>
#include <archon/x3d/proxy/exception.H>
#include <archon/x3d/proxy/proxy.H>

Include dependency graph for main.C:

Go to the source code of this file.

Namespaces

namespace  Archon
namespace  Archon::SaiTestApps
namespace  Archon::SaiTestApps::Textviewer

Classes

class  Archon::SaiTestApps::Textviewer::TextPage

Functions

void Archon::SaiTestApps::Textviewer::handleClose (Time)
void Archon::SaiTestApps::Textviewer::handleBack (Time)
void Archon::SaiTestApps::Textviewer::handleNext (Time)
int Archon::SaiTestApps::Textviewer::main (int argc, const char *argv[])
int main (int argc, const char *argv[]) throw ()

Variables

Mutex Archon::SaiTestApps::Textviewer::mutex
Condition Archon::SaiTestApps::Textviewer::directoryRefresh (mutex)
bool Archon::SaiTestApps::Textviewer::quit = false


Detailed Description

A test application for 3-D Console that will display any plain-text file in a page-by-page fashion.

The filebrowser test application works nicely with this application. When a file is indicated that is not executable and not known to be of any other type, then the filebrowser will lauch this application with the indicated file as argument.

See also:
sai_test_apps/filebrowser/main.C

Definition in file main.C.


Generated on Sun Jul 30 22:55:55 2006 for Archon by  doxygen 1.4.4