![]() |
Kea 3.1.1
|
Holds information about parked object. More...
#include <parking_lots.h>
Public Member Functions | |
ParkingInfo () | |
Constructor. | |
ParkingInfo (const boost::any &parked_object, std::function< void()> callback=0) | |
Constructor. | |
void | update (const boost::any &parked_object, std::function< void()> callback) |
Update parking information. | |
Public Attributes | |
boost::any | parked_object_ |
The parked object. | |
int | refcount_ |
The current reference count. | |
std::function< void()> | unpark_callback_ |
The pointer to callback. | |
Holds information about parked object.
Definition at line 217 of file parking_lots.h.
|
inline |
Constructor.
Default constructor.
Definition at line 230 of file parking_lots.h.
References refcount_.
|
inline |
Constructor.
parked_object | object being parked. |
callback | pointer to the callback. |
Definition at line 236 of file parking_lots.h.
References parked_object_, refcount_, and unpark_callback_.
|
inline |
Update parking information.
parked_object | parked object. |
callback | pointer to the callback. |
Definition at line 245 of file parking_lots.h.
References parked_object_, and unpark_callback_.
boost::any isc::hooks::ParkingLot::ParkingInfo::parked_object_ |
The parked object.
Definition at line 219 of file parking_lots.h.
Referenced by ParkingInfo(), and update().
int isc::hooks::ParkingLot::ParkingInfo::refcount_ |
The current reference count.
Definition at line 225 of file parking_lots.h.
Referenced by ParkingInfo(), and ParkingInfo().
std::function<void()> isc::hooks::ParkingLot::ParkingInfo::unpark_callback_ |
The pointer to callback.
Definition at line 222 of file parking_lots.h.
Referenced by ParkingInfo(), and update().