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 
16 
17 class SremSsemPort : public SremSsemPort_BASE {
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
void receiveMsg(const LibItsSremSsem__TestSystem::SremInd &, const Params &)
Definition: SremSsemPort.cc:111
Forward declaration of TITAN class.
Definition: layer.hh:29
SremSsemPort(const char *par_port_name=NULL)
Definition: SremSsemPort.cc:16
void outgoing_send(const SremReq &send_par)
Definition: SremSsemPort.cc:89
void set_parameter(const char *parameter_name, const char *parameter_value)
Definition: SremSsemPort.cc:27
void user_map(const char *system_port)
Definition: SremSsemPort.cc:53
Params _layer_params
Definition: SremSsemPort.hh:19
Definition: SremSsemPort.hh:17
void Handle_Fd_Event_Error(int fd)
Definition: SremSsemPort.cc:36
void user_unmap(const char *system_port)
Definition: SremSsemPort.cc:70
void user_start()
Definition: SremSsemPort.cc:79
This class provides basic functionalities for an ITS dictionary.
Definition: Params.hh:21
void user_stop()
Definition: SremSsemPort.cc:84
~SremSsemPort()
Definition: SremSsemPort.cc:20
void Handle_Fd_Event_Readable(int fd)
Definition: SremSsemPort.cc:46
Definition: SremSsemPort.cc:14
Params _cfg_params
Definition: SremSsemPort.hh:18
layer * _layer
Definition: SremSsemPort.hh:20
std::string _time_key
Definition: SremSsemPort.hh:21
void Handle_Fd_Event_Writable(int fd)
Definition: SremSsemPort.cc:41