Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

SystemContext class Reference
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

SystemContext Class Reference

#include <system_context.hxx>

Inheritance diagram for SystemContext:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual unsigned int get_time ()=0
virtual void sleep (unsigned long)=0
virtual std::string get_construo_rc_path ()=0
virtual std::string get_user_realname ()=0
virtual std::string get_user_email ()=0
virtual FileType get_file_type (const std::string &filename)=0
virtual FILE * open_input_file (const std::string &filename)=0
virtual FILE * open_output_file (const std::string &filename)=0
virtual unsigned int get_mtime (const std::string &filename)=0
virtual std::vector< std::string > read_directory (const std::string &pathname)=0
virtual std::string translate_filename (const std::string &)=0

Detailed Description

System stuff like file-IO and time

Definition at line 34 of file system_context.hxx.


Member Function Documentation

virtual std::string SystemContext::get_construo_rc_path   [pure virtual]
 

Returns:
'$HOME/.construo/'

Implemented in UnixSystem.

Referenced by ConstruoMain::main().

virtual FileType SystemContext::get_file_type const std::string &    filename [pure virtual]
 

Returns:
the type of the given file

Implemented in UnixSystem.

Referenced by GUIDirectory::GUIDirectory(), and DirectorySorter::operator()().

virtual unsigned int SystemContext::get_mtime const std::string &    filename [pure virtual]
 

Implemented in UnixSystem.

Referenced by GUIDirectory::GUIDirectory(), and WorldButton::load_world().

virtual unsigned int SystemContext::get_time   [pure virtual]
 

Implemented in UnixSystem.

Referenced by DeltaManager::get(), GUIManager::GUIManager(), GUIManager::run_once(), and DeltaManager::set().

virtual std::string SystemContext::get_user_email   [pure virtual]
 

Returns:
the email of the current user or an empty string if not available

Implemented in UnixSystem.

Referenced by World::write_lisp().

virtual std::string SystemContext::get_user_realname   [pure virtual]
 

Returns:
the realname of the current user

Implemented in UnixSystem.

Referenced by World::write_lisp().

virtual FILE* SystemContext::open_input_file const std::string &    filename [pure virtual]
 

Implemented in UnixSystem.

Referenced by World::World(), and World::write_lisp().

virtual FILE* SystemContext::open_output_file const std::string &    filename [pure virtual]
 

Implemented in UnixSystem.

Referenced by World::write_lisp().

virtual std::vector<std::string> SystemContext::read_directory const std::string &    pathname [pure virtual]
 

Returns:
a list of files available in the given directory

Implemented in UnixSystem.

Referenced by GUIDirectory::GUIDirectory().

virtual void SystemContext::sleep unsigned    long [pure virtual]
 

sleep for the given number of milisec

Implemented in UnixSystem.

Referenced by X11Display::run(), SaveGUIManager::run_once(), and LoadGUIManager::run_once().

virtual std::string SystemContext::translate_filename const std::string &    [pure virtual]
 

Implemented in UnixSystem.

Referenced by World::World(), and World::write_lisp().


The documentation for this class was generated from the following file:
Generated on Thu Jul 24 10:25:26 2003 for Construo by doxygen1.3-rc3