00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "C_CommandAction.hpp"
00021 #include "C_ScenarioControl.hpp"
00022
00023 C_CommandAction::C_CommandAction(T_CmdAction P_ActionData,
00024 T_pControllers P_controllers) {
00025
00026 m_type = P_ActionData.m_type ;
00027 m_args = P_ActionData.m_args ;
00028 m_id = P_ActionData.m_id ;
00029 m_mem_id = P_ActionData.m_mem_id ;
00030 m_instance_id = P_ActionData.m_instance_id ;
00031 m_sub_id = P_ActionData.m_sub_id ;
00032 m_begin = P_ActionData.m_begin ;
00033 m_size = P_ActionData.m_size ;
00034 m_pattern = P_ActionData.m_pattern ;
00035 m_pattern_size = P_ActionData.m_pattern_size ;
00036 m_position = P_ActionData.m_position ;
00037 m_string_expr = P_ActionData.m_string_expr ;
00038 m_check_behaviour = P_ActionData.m_check_behaviour ;
00039 m_field_data_num = P_ActionData.m_field_data_num ;
00040 m_regexp_data = P_ActionData.m_regexp_data ;
00041 m_external_method = P_ActionData.m_external_method ;
00042
00043
00044 m_controllers = *P_controllers ;
00045
00046 }
00047
00048 void C_CommandAction::update_log_controller(C_DataLogControl *P_log) {
00049 m_controllers.m_log = P_log ;
00050 }
00051
00052
00053 C_CommandAction::~C_CommandAction() {
00054 DELETE_VAR(m_regexp_data);
00055 }
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065