SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FXThreadEvent.h
Go to the documentation of this file.
1
/****************************************************************************/
9
//
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
12
// Copyright (C) 2004-2014 DLR (http://www.dlr.de/) and contributors
13
/****************************************************************************/
14
//
15
// This file is part of SUMO.
16
// SUMO is free software: you can redistribute it and/or modify
17
// it under the terms of the GNU General Public License as published by
18
// the Free Software Foundation, either version 3 of the License, or
19
// (at your option) any later version.
20
//
21
/****************************************************************************/
22
#ifndef FXThreadEvent_h
23
#define FXThreadEvent_h
24
25
26
// ===========================================================================
27
// included modules
28
// ===========================================================================
29
#ifdef _MSC_VER
30
#include <
windows_config.h
>
31
#else
32
#include <
config.h
>
33
#endif
34
35
#include "
fxexdefs.h
"
36
37
#ifndef FXBASEOBJECT_H
38
#include "
FXBaseObject.h
"
39
#endif
40
namespace
FXEX {
41
113
class
/*FXAPI */
FXThreadEvent
:
public
FXBaseObject
{
114
FXDECLARE(
FXThreadEvent
)
115
116
private
:
117
FXThreadEventHandle
event
;
118
119
protected
:
120
FXThreadEvent
(
const
FXThreadEvent
&);
121
FXThreadEvent
&
operator=
(
const
FXThreadEvent
&);
122
123
public
:
124
enum
{
125
ID_THREAD_EVENT
=
FXBaseObject::ID_LAST
,
126
ID_LAST
127
};
128
129
public
:
130
long
onThreadSignal
(
FXObject
*, FXSelector,
void
*);
131
long
onThreadEvent
(
FXObject
*, FXSelector,
void
*);
132
133
public
:
135
FXThreadEvent
(
FXObject
* tgt = NULL, FXSelector sel = 0);
136
143
void
signal
();
144
151
void
signal
(FXuint seltype);
152
154
virtual
~FXThreadEvent
();
155
};
156
157
}
// namespace FXEX
158
159
160
#endif
161
162
/****************************************************************************/
163
tmp
buildd
sumo-0.21.0+dfsg
src
utils
foxtools
FXThreadEvent.h
Generated on Thu Nov 20 2014 19:49:53 for SUMO - Simulation of Urban MObility by
1.8.1.2