Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Copyright (c) 2000-2014 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 header file was generated by the | |
9 | // TTCN-3 Compiler of the TTCN-3 Test Executor version 1.7.pre2 build 2 | |
10 | // for ecsardu (ecsardu@E0017A4D11749) on Thu Jan 10 14:37:19 2008 | |
11 | ||
12 | ||
13 | // You may modify this file. Add your attributes and prototypes of your | |
14 | // member functions here. | |
15 | ||
16 | #ifndef PT__DefOpt_HH | |
17 | #define PT__DefOpt_HH | |
18 | ||
19 | #include "Tsenderos.hh" | |
20 | ||
21 | #ifndef OLD_NAMES | |
22 | namespace Tsenderos { | |
23 | #define DATATYPES_NS Datatypes:: | |
24 | #else | |
25 | #define DATATYPES_NS | |
26 | #endif | |
27 | ||
28 | class PT__DefOpt : public PT__DefOpt_BASE { | |
29 | public: | |
30 | PT__DefOpt(const char *par_port_name = NULL); | |
31 | ~PT__DefOpt(); | |
32 | ||
33 | void set_parameter(const char *parameter_name, | |
34 | const char *parameter_value); | |
35 | ||
36 | void Event_Handler(const fd_set *read_fds, | |
37 | const fd_set *write_fds, const fd_set *error_fds, | |
38 | double time_since_last_call); | |
39 | ||
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 DATATYPES_NS Deff& send_par); | |
48 | void outgoing_send(const DATATYPES_NS Opt& send_par); | |
49 | }; | |
50 | ||
51 | #ifndef OLD_NAMES | |
52 | } /* end of namespace */ | |
53 | #endif | |
54 | ||
55 | #endif |