e38e78dff527b6d8b6f69b76d3dc6740604332e5
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.7.pl2
10 // for ecsardu (ecsardu@E0017A4D11749) sometime in 2008
13 // You may modify this file. Complete the body of empty functions and
14 // add your member functions here.
16 #include "PT_DefOpt.hh"
25 PT__DefOpt::PT__DefOpt(const char *par_port_name
)
26 : PT__DefOpt_BASE(par_port_name
)
31 PT__DefOpt::~PT__DefOpt()
36 void PT__DefOpt::set_parameter(const char *parameter_name
,
37 const char *parameter_value
)
42 void PT__DefOpt::Event_Handler(const fd_set
*read_fds
,
43 const fd_set
*write_fds
, const fd_set
*error_fds
,
44 double time_since_last_call
)
49 void PT__DefOpt::user_map(const char *system_port
)
54 void PT__DefOpt::user_unmap(const char *system_port
)
59 void PT__DefOpt::user_start()
64 void PT__DefOpt::user_stop()
69 // Deff was "sent out". Get back an Opt
70 void PT__DefOpt::outgoing_send(const DATATYPES_NS Deff
& send_par
)
73 TTCN_EncDec::clear_error();
74 send_par
.encode( DATATYPES_NS Deff_descr_
, buffer
, TTCN_EncDec::CT_BER
, BER_ENCODE_DER
);
75 TTCN_EncDec::clear_error();
78 o2
.decode( DATATYPES_NS Opt_descr_
, buffer
, TTCN_EncDec::CT_BER
, BER_ACCEPT_ALL
);
79 incoming_message( o2
);
82 void PT__DefOpt::outgoing_send(const DATATYPES_NS Opt
& send_par
)
85 TTCN_EncDec::clear_error();
86 send_par
.encode( DATATYPES_NS Opt_descr_
, buffer
, TTCN_EncDec::CT_BER
, BER_ENCODE_DER
);
88 TTCN_EncDec::clear_error();
91 d2
.decode( DATATYPES_NS Deff_descr_
, buffer
, TTCN_EncDec::CT_BER
, BER_ACCEPT_ALL
);
92 incoming_message( d2
);
96 } /* end of namespace */
This page took 0.032986 seconds and 4 git commands to generate.