1 ///////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2000-2015 Ericsson Telecom AB
3 // All rights reserved. This program and the accompanying materials
4 // are made available under the terms of the Eclipse Public License v1.0
5 // which accompanies this distribution, and is available at
6 // http://www.eclipse.org/legal/epl-v10.html
7 ///////////////////////////////////////////////////////////////////////////////
8 // This Test Port skeleton source file was generated by the
9 // TTCN-3 Compiler of the TTCN-3 Test Executor version 1.8.pre3 build 4
10 // for Attila Balasko (ethbaat@ehubuux110) on Wed Jun 2 15:51:57 2010
13 // You may modify this file. Complete the body of empty functions and
14 // add your member functions here.
20 namespace Titan__LogTestDefinitions
{
22 PCO__PT::PCO__PT(const char *par_port_name
)
23 : PCO__PT_BASE(par_port_name
)
33 void PCO__PT::set_parameter(const char *parameter_name
,
34 const char *parameter_value
)
39 /*void PCO__PT::Handle_Fd_Event(int fd, boolean is_readable,
40 boolean is_writable, boolean is_error) {}*/
42 void PCO__PT::Handle_Fd_Event_Error(int fd
)
47 void PCO__PT::Handle_Fd_Event_Writable(int fd
)
52 void PCO__PT::Handle_Fd_Event_Readable(int fd
)
57 /*void PCO__PT::Handle_Timeout(double time_since_last_call) {}*/
60 void PCO__PT::user_map(const char *system_port
)
62 TTCN_warning("This is a Warning in the port"); //WARNING_UNQUALIFIED
63 TTCN_Logger::log(TTCN_DEBUG
,"This is a TTCN_DEBUG log in the port");//DEBUG_UNQUALIFIED
64 TTCN_Logger::log(TTCN_WARNING
,"This is a TTCN_WARNING log in the port");//WARNING_UNQUALIFIED
65 TTCN_Logger::log(TTCN_ERROR
,"This is a TTCN_ERROR log in the port");//ERROR_UNQUALIFIED
67 TTCN_Logger::begin_event(TTCN_DEBUG
);
68 TTCN_Logger::log_event("This is a log_event");
69 TTCN_Logger::end_event();
73 void PCO__PT::user_unmap(const char *system_port
)
78 void PCO__PT::user_start()
83 void PCO__PT::user_stop()
88 void PCO__PT::outgoing_send(const CHARSTRING
& send_par
)
93 } /* end of namespace */