Commit | Line | Data |
---|---|---|
d44e3c4f | 1 | /****************************************************************************** |
2 | * Copyright (c) 2000-2016 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 | * Contributors: | |
9 | * Balasko, Jeno | |
10 | * Lovassy, Arpad | |
11 | * Szabo, Janos Zoltan – initial implementation | |
12 | * | |
13 | ******************************************************************************/ | |
970ed795 EL |
14 | // This Test Port skeleton header file was generated by the |
15 | // TTCN-3 Compiler of the TTCN-3 Test Executor version CRL 113 200/4 R2A | |
16 | // for Arpad Lovassy (earplov@esekilxxen1841) on Tue Jul 22 16:49:55 2014 | |
17 | // You may modify this file. Add your attributes and prototypes of your | |
18 | // member functions here. | |
19 | ||
20 | #ifndef PCOType_HH | |
21 | #define PCOType_HH | |
22 | ||
23 | #include "MyExample.hh" | |
24 | ||
25 | namespace MyExample { | |
26 | ||
27 | class PCOType : public PCOType_BASE { | |
28 | public: | |
29 | PCOType(const char *par_port_name = NULL); | |
30 | ~PCOType(); | |
31 | ||
32 | void set_parameter(const char *parameter_name, | |
33 | const char *parameter_value); | |
34 | ||
35 | void Event_Handler(const fd_set *read_fds, | |
36 | const fd_set *write_fds, const fd_set *error_fds, | |
37 | double time_since_last_call); | |
38 | ||
39 | private: | |
40 | /* void Handle_Fd_Event(int fd, boolean is_readable, | |
41 | boolean is_writable, boolean is_error); */ | |
42 | void Handle_Fd_Event_Error(int fd); | |
43 | void Handle_Fd_Event_Writable(int fd); | |
44 | void Handle_Fd_Event_Readable(int fd); | |
45 | /* void Handle_Timeout(double time_since_last_call); */ | |
46 | protected: | |
47 | void user_map(const char *system_port); | |
48 | void user_unmap(const char *system_port); | |
49 | ||
50 | void user_start(); | |
51 | void user_stop(); | |
52 | ||
53 | void outgoing_send(const CHARSTRING& send_par); | |
54 | }; | |
55 | ||
56 | } /* end of namespace */ | |
57 | ||
58 | #endif |