Commit | Line | Data |
---|---|---|
970ed795 | 1 | /////////////////////////////////////////////////////////////////////////////// |
3abe9331 | 2 | // Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
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 | |
11 | // You may modify this file. Complete the body of empty functions and | |
12 | // add your member functions here. | |
13 | ||
14 | #include "PCO_PT.hh" | |
15 | #include <stdio.h> | |
16 | #include "memory.h" | |
17 | ||
18 | namespace Titan__LogTestDefinitions { | |
19 | ||
20 | PCO__PT::PCO__PT(const char *par_port_name) | |
21 | : PCO__PT_BASE(par_port_name) | |
22 | { | |
23 | ||
24 | } | |
25 | ||
26 | PCO__PT::~PCO__PT() | |
27 | { | |
28 | ||
29 | } | |
30 | ||
31 | void PCO__PT::set_parameter(const char *parameter_name, | |
32 | const char *parameter_value) | |
33 | { | |
34 | ||
35 | } | |
36 | ||
37 | /*void PCO__PT::Handle_Fd_Event(int fd, boolean is_readable, | |
38 | boolean is_writable, boolean is_error) {}*/ | |
39 | ||
40 | void PCO__PT::Handle_Fd_Event_Error(int fd) | |
41 | { | |
42 | ||
43 | } | |
44 | ||
45 | void PCO__PT::Handle_Fd_Event_Writable(int fd) | |
46 | { | |
47 | ||
48 | } | |
49 | ||
50 | void PCO__PT::Handle_Fd_Event_Readable(int fd) | |
51 | { | |
52 | ||
53 | } | |
54 | ||
55 | /*void PCO__PT::Handle_Timeout(double time_since_last_call) {}*/ | |
56 | ||
57 | ||
58 | void PCO__PT::user_map(const char *system_port) | |
59 | { | |
60 | TTCN_warning("This is a Warning in the port"); //WARNING_UNQUALIFIED | |
61 | TTCN_Logger::log(TTCN_DEBUG,"This is a TTCN_DEBUG log in the port");//DEBUG_UNQUALIFIED | |
62 | TTCN_Logger::log(TTCN_WARNING,"This is a TTCN_WARNING log in the port");//WARNING_UNQUALIFIED | |
63 | TTCN_Logger::log(TTCN_ERROR,"This is a TTCN_ERROR log in the port");//ERROR_UNQUALIFIED | |
64 | ||
65 | TTCN_Logger::begin_event(TTCN_DEBUG); | |
66 | TTCN_Logger::log_event("This is a log_event"); | |
67 | TTCN_Logger::end_event(); | |
68 | ||
69 | } | |
70 | ||
71 | void PCO__PT::user_unmap(const char *system_port) | |
72 | { | |
73 | ||
74 | } | |
75 | ||
76 | void PCO__PT::user_start() | |
77 | { | |
78 | ||
79 | } | |
80 | ||
81 | void PCO__PT::user_stop() | |
82 | { | |
83 | ||
84 | } | |
85 | ||
86 | void PCO__PT::outgoing_send(const CHARSTRING& send_par) | |
87 | { | |
88 | ||
89 | } | |
90 | ||
91 | } /* end of namespace */ | |
92 |