Event< S, A > Class Template Reference
#include <Event.h>
List of all members.
Detailed Description
template<typename S, typename A>
class Event< S, A >
Represents the basic structure an unordered Event
Member Enumeration Documentation
template<typename S , typename A >
An event can be a NULL_EVENT.
- See also:
- Chandy-Misra's paper or a normal REGULAR_EVENT
- Enumerator:
-
Constructor & Destructor Documentation
template<typename S , typename A >
Event< S, A >::Event |
( |
size_t |
id, |
|
|
const S & |
sendObj, |
|
|
const S & |
recvObj, |
|
|
const A & |
action, |
|
|
const Type |
type, |
|
|
const SimTime & |
sendTime, |
|
|
const SimTime & |
recvTime | |
|
) |
| | [inline, private] |
Constructor.
- Parameters:
-
| id,: | not guaranteed to be unique. Only events from same sender must have unique id's |
| sendObj,: | the sending node in the graph |
| recvObj,: | the receiving node in the graph |
| action,: | a user defined object describing the action to be performed on the receipt of this event |
| type,: | the type of the event |
- See also:
- EventType
- Parameters:
-
| sendTime,: | sending time |
| recvTime,: | receiving time |
Member Function Documentation
template<typename S , typename A >
const std::string Event< S, A >::detailedString |
( |
|
) |
const [inline] |
template<typename S , typename A >
const Type& Event< S, A >::getType |
( |
|
) |
const [inline] |
- Returns:
- the type of this Event
Friends And Related Function Documentation
template<typename S , typename A >
Member Data Documentation
template<typename S , typename A >
The documentation for this class was generated from the following file: