#include <Controller.h>
Collaboration diagram for vpr::sim::Controller::EventData:

Public Types | |
| enum | EventType { MESSAGE, CONNECTION_INIT, CONNECTION_COMPLETE, LOCALHOST_DELIVERY } |
Public Methods | |
| EventData (const NetworkGraph::net_edge_t _edge, const NetworkLine::LineDirection _dir) | |
| EventData (vpr::SocketImplSIM *sock, const EventType _type) | |
| bool | operator== (const EventData &obj) const |
Public Attributes | |
| EventType | type |
| NetworkGraph::net_edge_t | edge |
| NetworkLine::LineDirection | direction |
| vpr::SocketImplSIM * | socket |
|
|
Definition at line 285 of file Controller.h.
00286 {
00287 MESSAGE,
00288 CONNECTION_INIT,
00289 CONNECTION_COMPLETE,
00290 LOCALHOST_DELIVERY
00291 };
|
|
||||||||||||
|
Definition at line 293 of file Controller.h.
|
|
||||||||||||
|
Definition at line 300 of file Controller.h.
|
|
|
Definition at line 306 of file Controller.h.
00307 {
00308 bool status = false;
00309
00310 if ( type == obj.type )
00311 {
00312 // This may need to be expanded to a full if/else if/else block
00313 // if the possible message data types expands beyond the above
00314 // four.
00315 status = (type == MESSAGE) ? (edge == obj.edge && direction == obj.direction)
00316 : (socket == obj.socket);
00317 }
00318
00319 return status;
00320 }
|
|
|
Definition at line 322 of file Controller.h. |
|
|
Definition at line 323 of file Controller.h. |
|
|
Definition at line 324 of file Controller.h. |
|
|
Definition at line 325 of file Controller.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002