Initial commit
This commit is contained in:
24
test-bench/test3/src/events/eventids.h
Normal file
24
test-bench/test3/src/events/eventids.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef EVENTIDS_H
|
||||
#define EVENTIDS_H
|
||||
|
||||
/**
|
||||
* This class is responsible to distribute to every event
|
||||
* used in the project a different event id.
|
||||
*
|
||||
* Only values grater than zero should be used
|
||||
*
|
||||
*/
|
||||
class EventId
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* The event identifiers available
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
Unknown = 0, ///< Unknown event. Must not be used.
|
||||
evRestart = 1 ///< Restart event
|
||||
} eEventId;
|
||||
};
|
||||
|
||||
#endif // EVENTIDS_H
|
||||
Reference in New Issue
Block a user