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