source: trunk/ETSI-Testsuites/ETSI_auto_IOT/codec/c++/init.cpp

Last change on this file was 22, checked in by rings, 14 years ago
  • Property svn:executable set to *
File size: 3.5 KB
Line 
1/****************************************************************************/
2/* $Id$             */
3/*                                                                          */
4/*   (c) 2009  Universite de Rennes 1                                       */
5/*                                                                          */
6/* Contributors:                                                            */
7/*  - Anthony BAIRE                                                         */
8/*                                                                          */
9/* Contact address: <t3devkit@irisa.fr>                                     */
10/*                                                                          */
11/*                                                                          */
12/* This file is part of application examples provided along with T3DevKit,  */
13/* a free toolkit for building TTCN-3 tests.                                */
14/*                                                                          */
15/* This software is governed by the CeCILL-B license under French law and   */
16/* abiding by the rules of distribution of free software.  You can  use,    */
17/* modify and/or redistribute the software under the terms of the CeCILL-B  */
18/* license as circulated by CEA, CNRS and INRIA at the following URL        */
19/* "http://www.cecill.info".                                                */
20/*                                                                          */
21/* As a counterpart to the access to the source code and  rights to copy,   */
22/* modify and redistribute granted by the license, users are provided only  */
23/* with a limited warranty  and the software's author,  the holder of the   */
24/* economic rights,  and the successive licensors  have only  limited       */
25/* liability.                                                               */
26/*                                                                          */
27/* In this respect, the user's attention is drawn to the risks associated   */
28/* with loading,  using,  modifying and/or developing or reproducing the    */
29/* software by the user in light of its specific status of free software,   */
30/* that may mean  that it is complicated to manipulate,  and  that  also    */
31/* therefore means  that it is reserved for developers  and  experienced    */
32/* professionals having in-depth computer knowledge. Users are therefore    */
33/* encouraged to load and test the software's suitability as regards their  */
34/* requirements in conditions enabling the security of their systems and/or */
35/* data to be ensured and,  more generally, to use and operate it in the    */
36/* same conditions as regards security.                                     */
37/*                                                                          */
38/* The fact that you are presently reading this means that you have had     */
39/* knowledge of the CeCILL-B license and that you accept its terms.         */
40/****************************************************************************/
41#include <t3devlib/t3devlib.h>
42#include "EchoPort.h"
43
44namespace t3devlib {
45       
46        void PAInit()
47        {
48        }
49
50        void SAInit()
51        {
52                // Register the TTCN-3 system port types TestSystem.SipPort
53                // and TestSystem.SipTestPort
54                //
55                // They will both use the port implementation provided in the
56                // EchoPort class.
57                //
58                Port::RegisterType ("TestSystem", "SipPort", &createPort<EchoPort>);
59                Port::RegisterType ("TestSystem", "SipTestPort", &createPort<EchoPort>);
60        }
61
62        void CDInit()
63        {
64        }
65
66        void PAReset()
67        {
68        }
69
70        void SAReset()
71        {
72        }
73}
Note: See TracBrowser for help on using the repository browser.