ETSI STF525 / Internal Testing test suite This project provides an internal testing test suite and its associated Test Adapter/Codec

SremSsemPort.hh
Go to the documentation of this file.
1 // This Test Port skeleton header file was generated by the
2 // TTCN-3 Compiler of the TTCN-3 Test Executor version CRL 113 200/5 R3A
3 // for U-ERICSSON\ethgry (ethgry@HU00078339) on Fri Aug 14 21:19:06 2015
4
5 // Copyright Ericsson Telecom AB 2000-2014
6
7 // You may modify this file. Add your attributes and prototypes of your
8 // member functions here.
9
10 #ifndef SREMSSEMPORT_HH
11 #define SREMSSEMPORT_HH
12
13 #include "LibItsSremSsem_TestSystem.hh"
14
15 namespace LibItsSremSsem__TestSystem {
16
17 class SremSsemPort : public SremSsemPort_BASE {
18 Params _cfg_params;
19 Params _layer_params;
20 layer* _layer;
21 std::string _time_key;
22 public:
23 SremSsemPort(const char *par_port_name = NULL);
24 ~SremSsemPort();
25
26 void set_parameter(const char *parameter_name,
27 const char *parameter_value);
28
29 void receiveMsg (const LibItsSremSsem__TestSystem::SremInd&, const Params&);
30
31 void receiveMsg (const LibItsSremSsem__TestSystem::SsemInd&, const Params&);
32
33 private:
34 /* void Handle_Fd_Event(int fd, boolean is_readable,
35 boolean is_writable, boolean is_error); */
36 void Handle_Fd_Event_Error(int fd);
37 void Handle_Fd_Event_Writable(int fd);
38 void Handle_Fd_Event_Readable(int fd);
39 /* void Handle_Timeout(double time_since_last_call); */
40 protected:
41 void user_map(const char *system_port);
42 void user_unmap(const char *system_port);
43
44 void user_start();
45 void user_stop();
46
47 void outgoing_send(const SremReq& send_par);
48
49 void outgoing_send(const SsemReq& send_par);
50
51 };
52
53 } /* end of namespace */
54
55 #endif
LibItsSremSsem__TestSystem::SremSsemPort::receiveMsg
void receiveMsg(const LibItsSremSsem__TestSystem::SremInd &, const Params &)
Definition: SremSsemPort.cc:111
layer
Forward declaration of TITAN class.
Definition: layer.hh:29
LibItsSremSsem__TestSystem::SremSsemPort::SremSsemPort
SremSsemPort(const char *par_port_name=NULL)
Definition: SremSsemPort.cc:16
LibItsSremSsem__TestSystem::SremSsemPort::outgoing_send
void outgoing_send(const SremReq &send_par)
Definition: SremSsemPort.cc:89
LibItsSremSsem__TestSystem::SremSsemPort::set_parameter
void set_parameter(const char *parameter_name, const char *parameter_value)
Definition: SremSsemPort.cc:27
LibItsSremSsem__TestSystem::SremSsemPort::user_map
void user_map(const char *system_port)
Definition: SremSsemPort.cc:53
LibItsSremSsem__TestSystem::SremSsemPort::_layer_params
Params _layer_params
Definition: SremSsemPort.hh:19
LibItsSremSsem__TestSystem::SremSsemPort
Definition: SremSsemPort.hh:17
LibItsSremSsem__TestSystem::SremSsemPort::Handle_Fd_Event_Error
void Handle_Fd_Event_Error(int fd)
Definition: SremSsemPort.cc:36
LibItsSremSsem__TestSystem::SremSsemPort::user_unmap
void user_unmap(const char *system_port)
Definition: SremSsemPort.cc:70
LibItsSremSsem__TestSystem::SremSsemPort::user_start
void user_start()
Definition: SremSsemPort.cc:79
Params
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
LibItsSremSsem__TestSystem::SremSsemPort::user_stop
void user_stop()
Definition: SremSsemPort.cc:84
LibItsSremSsem__TestSystem::SremSsemPort::~SremSsemPort
~SremSsemPort()
Definition: SremSsemPort.cc:20
LibItsSremSsem__TestSystem::SremSsemPort::Handle_Fd_Event_Readable
void Handle_Fd_Event_Readable(int fd)
Definition: SremSsemPort.cc:46
LibItsSremSsem__TestSystem
Definition: SremSsemPort.cc:14
LibItsSremSsem__TestSystem::SremSsemPort::_cfg_params
Params _cfg_params
Definition: SremSsemPort.hh:18
LibItsSremSsem__TestSystem::SremSsemPort::_layer
layer * _layer
Definition: SremSsemPort.hh:20
LibItsSremSsem__TestSystem::SremSsemPort::_time_key
std::string _time_key
Definition: SremSsemPort.hh:21
LibItsSremSsem__TestSystem::SremSsemPort::Handle_Fd_Event_Writable
void Handle_Fd_Event_Writable(int fd)
Definition: SremSsemPort.cc:41