Kea  1.9.9-git
isc::hooks::ParkingLots Class Reference

Collection of parking lots for various hook points. More...

#include <parking_lots.h>

Public Member Functions

void clear ()
 Removes all parked objects. More...
 
ParkingLotPtr getParkingLotPtr (const int hook_index)
 Returns pointer to the parking lot for a hook points. More...
 

Detailed Description

Collection of parking lots for various hook points.

Definition at line 378 of file parking_lots.h.

Member Function Documentation

void isc::hooks::ParkingLots::clear ( )
inline

Removes all parked objects.

It doesn't invoke callbacks associated with the removed objects.

Definition at line 384 of file parking_lots.h.

ParkingLotPtr isc::hooks::ParkingLots::getParkingLotPtr ( const int  hook_index)
inline

Returns pointer to the parking lot for a hook points.

If the parking lot for the specified hook point doesn't exist, it is created.

Parameters
hook_indexindex of the hook point with which the parking lot is associated.
Returns
Pointer to the parking lot.

Definition at line 397 of file parking_lots.h.


The documentation for this class was generated from the following file: