Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

print.c File Reference

Go to the source code of this file.

Functions

void start_log_file (char *filename, bool append)
void stop_log_file (void)
void print_string_to_log_file_only (char *string)
int get_printer_output_column (void)
void tell_printer_that_output_column_has_been_reset (void)
void start_redirection_to_file (FILE *already_opened_file)
void stop_redirection_to_file (void)
void print_string (char *s)
void print (char *format,...)
 print -- Print a given string using the agent's current print function


Function Documentation

int get_printer_output_column void   ) 
 

Definition at line 128 of file print.c.

Referenced by chunk_instantiation(), create_instantiation(), neatly_print_wme_augmentation_of_id(), print(), print_consed_list_of_condition_wmes(), print_consed_list_of_conditions(), retract_instantiation(), second_stage_chunk_instantiation(), and soar_ecExplainChunkConditionList().

void print char *  format,
... 
 

print -- Print a given string using the agent's current print function

This function invokes the current agent's top level PRINT_CALLBACK & LOG_CALLBACK to perform an agent specific print operation. This operation mimics the output generated internally by the soar kernel, and so using this function provides an easy way to guarentee that input produced by you interface, and by the soar kernel will be handled the same way.

Definition at line 211 of file print.c.

Referenced by check_context_slot_decisions(), decision_consistent_with_current_preferences(), parse_preferences_soar8_non_operator(), and run_preference_semantics().

void print_string char *  s  ) 
 

Definition at line 159 of file print.c.

References LOG_CALLBACK, PRINT_CALLBACK, soar_agent, and soar_invoke_first_callback().

Referenced by backtrace_through_instantiation(), build_chunk_conds_for_grounds_and_add_negateds(), chunk_instantiation(), do_one_top_level_phase(), do_print_for_production_name(), explain_trace_chunk(), neatly_print_wme_augmentation_of_id(), parse_memory_stats(), print(), print_location_of_most_recent_lexeme(), print_object_trace(), print_object_trace_using_provided_format_string(), print_preference_and_source(), print_saved_test(), print_stack_trace(), print_sym(), print_trace_format_list(), print_tracing_rule(), second_stage_chunk_instantiation(), soar_cPopCallback(), soar_ecGDSPrint(), soar_ecPrintAllProductionsOfType(), soar_ecPrintInternalSymbols(), soar_ecPrintMemoryPoolStatistics(), soar_exPrintMemoryPoolStatistics(), trace_grounded_potentials(), trace_locals(), trace_ungrounded_potentials(), and write_rhs_function_code().

void print_string_to_log_file_only char *  string  ) 
 

Definition at line 123 of file print.c.

Referenced by get_next_char(), and soar_cDefaultAskCallback().

void start_log_file char *  filename,
bool  append
 

Definition at line 94 of file print.c.

References make_memory_block_for_string(), print(), and stop_log_file().

void start_redirection_to_file FILE *  already_opened_file  ) 
 

Definition at line 138 of file print.c.

void stop_log_file void   ) 
 

Definition at line 112 of file print.c.

References free_memory_block_for_string(), and print().

Referenced by abort_with_fatal_error(), just_before_exit_soar(), and start_log_file().

void stop_redirection_to_file void   ) 
 

Definition at line 146 of file print.c.

void tell_printer_that_output_column_has_been_reset void   ) 
 

Definition at line 133 of file print.c.

Referenced by get_next_char().


Generated on Thu Dec 11 13:00:27 2003 for Soar Kernel by doxygen 1.3.5