|
xorp
|
RouteEntry reference class. More...
#include <route_entry.hh>
Public Member Functions | |
| RouteEntryRef (RouteEntry< A > *r) | |
| RouteEntryRef (const RouteEntryRef &o) | |
| RouteEntryRef & | operator= (const RouteEntryRef &o) |
| RouteEntry< A > * | get () const |
| RouteEntry< A > * | operator-> () const |
| bool | operator== (const RouteEntryRef &o) const |
Protected Member Functions | |
| void | release () |
Private Attributes | |
| RouteEntry< A > * | _rt |
RouteEntry reference class.
A reference pointer that manipulates a counter embedded within RouteEntry objects and deletes them when the counter goes to zero. Having the counter embedded in the object makes it easier to reference count than using ref_ptr.