#include <RoutingLump.h>
Public Member Functions | |
RoutingLumpEntry (Vector3 origin, int level) | |
RoutingLumpEntry (const RoutingLumpEntry &other) | |
const Vector3 & | getOrigin (void) const |
const EConnectionState | getConnectionState (const EDirection direction) const |
void | setConnectionState (const EDirection direction, const EConnectionState connectionState) |
setter method for connection state | |
const EAccessState | getAccessState (void) const |
void | setAccessState (const EAccessState accessState) |
const int | getLevel (void) const |
Private Attributes | |
Vector3 | _origin |
int | _level |
EConnectionState | _connectionStates [MAX_DIRECTIONS] |
EAccessState | _accessState |
Definition at line 47 of file RoutingLump.h.
routing::RoutingLumpEntry::RoutingLumpEntry | ( | Vector3 | origin, | |
int | level | |||
) |
routing::RoutingLumpEntry::RoutingLumpEntry | ( | const RoutingLumpEntry & | other | ) |
const EAccessState routing::RoutingLumpEntry::getAccessState | ( | void | ) | const [inline] |
Definition at line 72 of file RoutingLump.h.
References _accessState.
const EConnectionState routing::RoutingLumpEntry::getConnectionState | ( | const EDirection | direction | ) | const |
const int routing::RoutingLumpEntry::getLevel | ( | void | ) | const [inline] |
Definition at line 80 of file RoutingLump.h.
References _level.
const Vector3& routing::RoutingLumpEntry::getOrigin | ( | void | ) | const [inline] |
Definition at line 58 of file RoutingLump.h.
References _origin.
void routing::RoutingLumpEntry::setAccessState | ( | const EAccessState | accessState | ) | [inline] |
Definition at line 76 of file RoutingLump.h.
References _accessState.
void routing::RoutingLumpEntry::setConnectionState | ( | const EDirection | direction, | |
const EConnectionState | connectionState | |||
) | [inline] |
setter method for connection state
direction | direction to change connection state for | |
connectionState | connection state to set |
Definition at line 68 of file RoutingLump.h.
References _connectionStates.
Definition at line 53 of file RoutingLump.h.
Referenced by getAccessState(), and setAccessState().
EConnectionState routing::RoutingLumpEntry::_connectionStates[MAX_DIRECTIONS] [private] |
Definition at line 52 of file RoutingLump.h.
Referenced by setConnectionState().
int routing::RoutingLumpEntry::_level [private] |
Definition at line 51 of file RoutingLump.h.
Referenced by getLevel().
Vector3 routing::RoutingLumpEntry::_origin [private] |
Definition at line 50 of file RoutingLump.h.
Referenced by getOrigin().