xorp

ServiceFilteredChangeObserver Class Reference

Selective Change Observer. More...

#include <service.hh>

Inheritance diagram for ServiceFilteredChangeObserver:
ServiceChangeObserverBase

List of all members.

Public Member Functions

 ServiceFilteredChangeObserver (ServiceChangeObserverBase *child, ServiceStatus from_mask, ServiceStatus to_mask)
 Constructor.

Protected Member Functions

void status_change (ServiceBase *service, ServiceStatus old_status, ServiceStatus new_status)

Protected Attributes

ServiceChangeObserverBase_child
ServiceStatus _from_mask
ServiceStatus _to_mask

Detailed Description

Selective Change Observer.

Forwards limited subset of status changes to a status change observer.


Constructor & Destructor Documentation

ServiceFilteredChangeObserver::ServiceFilteredChangeObserver ( ServiceChangeObserverBase child,
ServiceStatus  from_mask,
ServiceStatus  to_mask 
)

Constructor.

Only changes from the states represented in from_mask to the states represented in to_mask are reported.

Parameters:
childrecipient of status changes.
from_maskmask of states left to trigger changes.
to_maskmask of states entered to trigger changes.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations