CarobNS::ltPoolIndex Struct Reference

PoolIndex "Less Than" functor. More...

#include <ControllerPool.hpp>

List of all members.

Public Member Functions

bool operator() (const PoolIndex &pi1, const PoolIndex &pi2) const
 Less than operator.


Detailed Description

PoolIndex "Less Than" functor.


First compares policies (just by comparing their enum values)
Then their parameters (ping delay and controller timeout)
Then the number of controllers
Finally the controllers themselves using ControllerInfo '<' operator
This functor is used by ControllerPoolManager for sorting values in the pool map


The documentation for this struct was generated from the following file:
Generated on Fri Mar 9 17:40:20 2007 for Carob by  doxygen 1.4.7