|
11
|
1 |
/* |
|
|
2 |
* This file is part of the TraKERS\Middleware package. |
|
|
3 |
* |
|
|
4 |
* (c) IRI <http://www.iri.centrepompidou.fr/> |
|
|
5 |
* |
|
|
6 |
* For the full copyright and license information, please view the LICENSE_MIDDLEWARE |
|
|
7 |
* file that was distributed with this source code. |
|
|
8 |
*/ |
|
|
9 |
|
|
|
10 |
/* |
|
|
11 |
* Projet : TraKERS |
|
|
12 |
* Module : MIDDLEWARE |
|
|
13 |
* Sous-Module : Tracking/Events |
|
|
14 |
* Classe : ModChangeEventArgs |
|
|
15 |
* |
|
|
16 |
* Auteur : alexandre.bastien@iri.centrepompidou.fr |
|
|
17 |
* |
|
|
18 |
* Fonctionnalités : Cette classe contient les membres utilisés lors de l'appel au listener correspondant |
|
|
19 |
* à l'événement : On entre dans un nouveau mode. |
|
|
20 |
*/ |
|
|
21 |
|
|
|
22 |
using System; |
|
|
23 |
using System.Collections.Generic; |
|
|
24 |
using System.Linq; |
|
|
25 |
using System.Text; |
|
|
26 |
using Trakers.Communication; |
|
|
27 |
|
|
|
28 |
namespace Trakers.Tracking.Events |
|
|
29 |
{ |
|
|
30 |
public class ModChangeEventArgs : EventArgs |
|
|
31 |
{ |
|
|
32 |
//Fenêtre de debug. |
|
|
33 |
public readonly Debug.DebugWindow debug; |
|
|
34 |
//Serveur TUIO. |
|
|
35 |
public readonly Server server; |
|
|
36 |
//Code du mode. |
|
|
37 |
public readonly String code; |
|
|
38 |
|
|
|
39 |
/* |
|
|
40 |
* Constructeur : Il prend l'affichage de debug et le serveur TUIO. |
|
|
41 |
*/ |
|
|
42 |
public ModChangeEventArgs(Debug.DebugWindow _debug, Server _server, String _code) |
|
|
43 |
{ |
|
|
44 |
debug = _debug; |
|
|
45 |
server = _server; |
|
|
46 |
code = _code; |
|
|
47 |
} |
|
|
48 |
} |
|
|
49 |
} |