SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
MFXEventQue.h
Go to the documentation of this file.
1
/****************************************************************************/
7
// missing_desc
8
/****************************************************************************/
9
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
10
// Copyright (C) 2004-2014 DLR (http://www.dlr.de/) and contributors
11
/****************************************************************************/
12
//
13
// This file is part of SUMO.
14
// SUMO is free software: you can redistribute it and/or modify
15
// it under the terms of the GNU General Public License as published by
16
// the Free Software Foundation, either version 3 of the License, or
17
// (at your option) any later version.
18
//
19
/****************************************************************************/
20
#ifndef MFXEventQue_h
21
#define MFXEventQue_h
22
23
24
// ===========================================================================
25
// included modules
26
// ===========================================================================
27
#ifdef _MSC_VER
28
#include <
windows_config.h
>
29
#else
30
#include <
config.h
>
31
#endif
32
33
#include <fx.h>
34
#include <list>
35
#include <
utils/foxtools/MFXMutex.h
>
36
37
class
MFXEventQue
{
38
public
:
39
MFXEventQue
() { }
40
~MFXEventQue
() { }
41
42
void
*
top
();
43
void
pop
();
44
void
add
(
void
* what);
45
size_t
size
();
46
bool
empty
();
47
private
:
48
MFXMutex
myMutex
;
49
std::list<void*>
myEvents
;
50
};
51
52
53
#endif
54
55
/****************************************************************************/
56
MFXEventQue::size
size_t size()
Definition:
MFXEventQue.cpp:65
MFXEventQue::top
void * top()
Definition:
MFXEventQue.cpp:39
windows_config.h
MFXEventQue::pop
void pop()
Definition:
MFXEventQue.cpp:49
config.h
MFXEventQue::myMutex
MFXMutex myMutex
Definition:
MFXEventQue.h:48
MFXEventQue
Definition:
MFXEventQue.h:37
MFXEventQue::myEvents
std::list< void * > myEvents
Definition:
MFXEventQue.h:49
MFXEventQue::add
void add(void *what)
Definition:
MFXEventQue.cpp:57
MFXEventQue::~MFXEventQue
~MFXEventQue()
Definition:
MFXEventQue.h:40
MFXMutex.h
MFXMutex
Definition:
MFXMutex.h:56
MFXEventQue::empty
bool empty()
Definition:
MFXEventQue.cpp:74
MFXEventQue::MFXEventQue
MFXEventQue()
Definition:
MFXEventQue.h:39
build
buildd
sumo-0.21.0+dfsg
src
utils
foxtools
MFXEventQue.h
Generated on Wed Mar 18 2015 22:57:45 for SUMO - Simulation of Urban MObility by
1.8.9.1