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.4.pl3
10 // for Gabor Tatarka (tmpgta@duna127) on Wed Jul 9 16:13:51 2003
13 // You may modify this file. Complete the body of empty functions and
14 // add your member functions here.
16 #include "ExtProcPort.hh"
22 ExtProcPort::ExtProcPort(const char *par_port_name
)
23 : ExtProcPort_BASE(par_port_name
)
28 ExtProcPort::~ExtProcPort()
33 void ExtProcPort::set_parameter(const char *parameter_name
,
34 const char *parameter_value
)
39 void ExtProcPort::Event_Handler(const fd_set
*read_fds
,
40 const fd_set
*write_fds
, const fd_set
*error_fds
,
41 double time_since_last_call
)
46 void ExtProcPort::user_map(const char *system_port
)
51 void ExtProcPort::user_unmap(const char *system_port
)
56 void ExtProcPort::user_start()
61 void ExtProcPort::user_stop()
66 void ExtProcPort::outgoing_call(const MyProc5_call
& call_par
)
70 a
=call_par
.A();b
=call_par
.B();
72 incoming_exception(MyProc5_exception(CHARSTRING("Divide by 0.")));
74 d
=(double)a
/(double)b
;
81 void ExtProcPort::outgoing_reply(const MyProc5_reply
& reply_par
)
86 void ExtProcPort::outgoing_raise(const MyProc5_exception
& raise_exception
)
92 } /* end of namespace */
This page took 0.17306 seconds and 5 git commands to generate.