Skip to content
Snippets Groups Projects
Commit a77a6e29 authored by balaskoa's avatar balaskoa
Browse files

Generated test port skeleton has been refreshed in doc


Signed-off-by: default avatarbalaskoa <Jeno.Balasko@ericsson.com>
Change-Id: I051ef5dd0615d6633d780fdcdd70a4ea928db0ba
parent 10344168
No related branches found
No related tags found
No related merge requests found
...@@ -42,8 +42,8 @@ The generated skeleton header file (that is, `MyMessagePort.hh`) will look as fo ...@@ -42,8 +42,8 @@ The generated skeleton header file (that is, `MyMessagePort.hh`) will look as fo
[source] [source]
---- ----
// This Test Port skeleton header file was generated by the // This Test Port skeleton header file was generated by the
// TTCN-3 Compiler of the TTCN-3 Test Executor version 1.7.pre4 build 4 // TTCN-3 Compiler of the TTCN-3 Test Executor version CRL 113 200/6 R6B
// for Csaba Feher (ecsafeh@ehubuux110) on Tue Jul 29 18:45:10 2008 // for U-ERICSSON\ethbaat (ethbaat@HU-00000670) on Wed Mar 11 14:49:55 2020
// Copyright (c) 2000-2020 Ericsson Telecom AB // Copyright (c) 2000-2020 Ericsson Telecom AB
...@@ -53,34 +53,34 @@ The generated skeleton header file (that is, `MyMessagePort.hh`) will look as fo ...@@ -53,34 +53,34 @@ The generated skeleton header file (that is, `MyMessagePort.hh`) will look as fo
#ifndef MyMessagePort_HH #ifndef MyMessagePort_HH
#define MyMessagePort_HH #define MyMessagePort_HH
#include "MyModule.hh" #include "MyExample.hh"
namespace MyModule { namespace MyExample {
class MyMessagePort : public MyMessagePort_BASE { class MyMessagePort : public MyMessagePort_BASE {
public: public:
MyMessagePort(const char *par_port_name = NULL); MyMessagePort(const char *par_port_name = NULL);
~MyMessagePort(); ~MyMessagePort();
void set_parameter(const char *parameter_name, void set_parameter(const char *parameter_name,
const char *parameter_value); const char *parameter_value);
private: private:
/* void Handle_Fd_Event(int fd, boolean is_readable, /* void Handle_Fd_Event(int fd, boolean is_readable,
boolean is_writable, boolean is_error); */ boolean is_writable, boolean is_error); */
void Handle_Fd_Event_Error(int fd); void Handle_Fd_Event_Error(int fd);
void Handle_Fd_Event_Writable(int fd); void Handle_Fd_Event_Writable(int fd);
void Handle_Fd_Event_Readable(int fd); void Handle_Fd_Event_Readable(int fd);
/* void Handle_Timeout(double time_since_last_call); */ /* void Handle_Timeout(double time_since_last_call); */
protected: protected:
void user_map(const char *system_port, Map_Params& params); void user_map(const char *system_port, Map_Params& params);
void user_unmap(const char *system_port, Map_Params& params); void user_unmap(const char *system_port, Map_Params& params);
void user_start(); void user_start();
void user_stop(); void user_stop();
void outgoing_send(const INTEGER& send_par); void outgoing_send(const INTEGER& send_par);
void outgoing_send(const CHARSTRING& send_par); void outgoing_send(const CHARSTRING& send_par);
}; };
} /* end of namespace */ } /* end of namespace */
...@@ -93,8 +93,8 @@ And the generated skeleton source file, that is, `MyMessagePort.cc`, will be the ...@@ -93,8 +93,8 @@ And the generated skeleton source file, that is, `MyMessagePort.cc`, will be the
[source] [source]
---- ----
// This Test Port skeleton source file was generated by the // This Test Port skeleton source file was generated by the
// TTCN-3 Compiler of the TTCN-3 Test Executor version 1.7.pre4 build 4 // TTCN-3 Compiler of the TTCN-3 Test Executor version CRL 113 200/6 R6B
// for Csaba Feher (ecsafeh@ehubuux110) on Tue Jul 29 18:45:10 2008 // for U-ERICSSON\ethbaat (ethbaat@HU-00000670) on Wed Mar 11 14:49:55 2020
// Copyright (c) 2000-2020 Ericsson Telecom AB // Copyright (c) 2000-2020 Ericsson Telecom AB
...@@ -103,10 +103,10 @@ And the generated skeleton source file, that is, `MyMessagePort.cc`, will be the ...@@ -103,10 +103,10 @@ And the generated skeleton source file, that is, `MyMessagePort.cc`, will be the
#include "MyMessagePort.hh" #include "MyMessagePort.hh"
namespace MyModule { namespace MyExample {
MyMessagePort::MyMessagePort(const char *par_port_name) MyMessagePort::MyMessagePort(const char *par_port_name)
: MyMessagePort_BASE(par_port_name) : MyMessagePort_BASE(par_port_name)
{ {
} }
...@@ -116,38 +116,38 @@ MyMessagePort::~MyMessagePort() ...@@ -116,38 +116,38 @@ MyMessagePort::~MyMessagePort()
} }
void MyMessagePort::set_parameter(const char *parameter_name, void MyMessagePort::set_parameter(const char * /*parameter_name*/,
const char *parameter_value) const char * /*parameter_value*/)
{ {
} }
/*void MyMessagePort::Handle_Fd_Event(int fd, boolean is_readable, /*void MyMessagePort::Handle_Fd_Event(int fd, boolean is_readable,
boolean is_writable, boolean is_error) {}*/ boolean is_writable, boolean is_error) {}*/
void MyMessagePort::Handle_Fd_Event_Error(int fd) void MyMessagePort::Handle_Fd_Event_Error(int /*fd*/)
{ {
} }
void MyMessagePort::Handle_Fd_Event_Writable(int fd) void MyMessagePort::Handle_Fd_Event_Writable(int /*fd*/)
{ {
} }
void MyMessagePort::Handle_Fd_Event_Readable(int fd) void MyMessagePort::Handle_Fd_Event_Readable(int /*fd*/)
{ {
} }
/*void MyMessagePort::Handle_Timeout(double time_since_last_call) {}*/ /*void MyMessagePort::Handle_Timeout(double time_since_last_call) {}*/
void MyMessagePort::user_map(const char *system_port, Map_Params& params) void MyMessagePort::user_map(const char * /*system_port*/, Map_Params& /*params*/)
{ {
} }
void MyMessagePort::user_unmap(const char *system_port, Map_Params& params) void MyMessagePort::user_unmap(const char * /*system_port*/, Map_Params& /*params*/)
{ {
} }
...@@ -162,17 +162,19 @@ void MyMessagePort::user_stop() ...@@ -162,17 +162,19 @@ void MyMessagePort::user_stop()
} }
void MyMessagePort::outgoing_send(const INTEGER& send_par) void MyMessagePort::outgoing_send(const INTEGER& /*send_par*/)
{ {
} }
void MyMessagePort::outgoing_send(const CHARSTRING& send_par) void MyMessagePort::outgoing_send(const CHARSTRING& /*send_par*/)
{ {
} }
} /* end of namespace */ } /* end of namespace */
---- ----
== Procedure-based Example == Procedure-based Example
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment