Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/contentcreation/pps/FabianLandau/mover/environments/mover_trigger_event_list.h

Last change on this file was 4844, checked in by landauf, 17 years ago
File size: 1.1 KB
Line 
1/*!
2 * @file mover_trigger_event_list.h
3 *  A List to handle several events, caused by mover triggers.
4 */
5
6#ifndef _MOVER_TRIGGER_EVENT_LIST_H
7#define _MOVER_TRIGGER_EVENT_LIST_H
8
9#include "mover_trigger.h"
10#include "mover_trigger_pointer_list.h"
11
12
13class MoverTrigger;
14class MoverTriggerPointerList;
15
16class MoverTriggerEventListElement
17{
18    public:
19        MoverTriggerEventListElement(MoverTrigger *trigger);
20        ~MoverTriggerEventListElement();
21
22        MoverTrigger *trigger;
23        MoverTriggerEventListElement *next;
24};
25
26
27class MoverTriggerEventList
28{
29    public:
30//        static MoverTriggerEventList *getListPointer();
31       
32        void addTrigger(MoverTrigger *trigger);
33        void removeTrigger(MoverTrigger *trigger);
34        bool isEmpty();
35        bool isTriggered(const std::string& triggerName);
36        MoverTriggerPointerList *getPointerList(const std::string& triggerName);
37
38//    protected:
39        MoverTriggerEventList();
40        ~MoverTriggerEventList();
41
42    private:
43        MoverTriggerEventListElement *first;
44//        static MoverTriggerEventList *listPointer;
45};
46
47
48#endif
Note: See TracBrowser for help on using the repository browser.