t_redirection.cpp File Reference

#include <basis/byte_array.h>
#include <basis/function.h>
#include <basis/istring.h>
#include <basis/log_base.h>
#include <basis/object_base.h>
#include <mechanisms/ithread.h>
#include <opsystem/command_line.h>
#include <opsystem/redirecter.h>
#include <data_struct/static_memory_gremlin.h>
#include <textual/byte_format.h>
#include <stdio.h>

Include dependency graph for t_redirection.cpp:

Go to the source code of this file.

Defines

#define LOG(to_print)   CLASS_EMERGENCY_LOG(program_wide_logger(), to_print)
#define BASE_LOG(to_print)   program_wide_logger().log(to_print)
#define static_class_name()   "test_stdio_redirecter"

Functions

int print_instructions ()
int main (int argc, char *argv[])

Variables

const int READ_INTERVAL = 30
 HOOPLE_STARTUP_CODE


Define Documentation

#define BASE_LOG ( to_print   )     program_wide_logger().log(to_print)

Definition at line 38 of file t_redirection.cpp.

#define LOG ( to_print   )     CLASS_EMERGENCY_LOG(program_wide_logger(), to_print)

Definition at line 36 of file t_redirection.cpp.

 
#define static_class_name (  )     "test_stdio_redirecter"

Definition at line 84 of file t_redirection.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 100 of file t_redirection.cpp.

References istring::access(), BASE_LOG, stdio_redirecter::close_input(), istring::end(), FUNCDEF, command_line::get_value(), stdio_redirecter::health(), istring::length(), LOG, NIL, stdio_redirecter::OKAY, common::outcome_name(), print_instructions(), istring::s(), istring::shrink(), portable::sleep_ms(), istring::substring(), stdio_redirecter::write(), and istring::zap().

int print_instructions (  ) 

Definition at line 86 of file t_redirection.cpp.

References BASE_LOG.

Referenced by main().


Variable Documentation

HOOPLE_STARTUP_CODE

Definition at line 40 of file t_redirection.cpp.

const int READ_INTERVAL = 30

Definition at line 32 of file t_redirection.cpp.


Generated on Fri Nov 28 04:30:31 2008 for HOOPLE Libraries by  doxygen 1.5.1