Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

SubsystemMonitor::IRMRegistration Class Reference

#include <IRMRegistration.h>

List of all members.

Static Public Methods

void registerSubsystem (RMuid ssUID, SubsystemMonitor::systemFactory factory)
 registers the ISubsystemMonitor class factory with the resource monitor daemon. More...

void registerStatistic (RMuid ssUID, SubsystemMonitor::statisticFactory factory)
 registers the Statistic class factory with the resource monitor daemon. More...

void registerMonitor (RMuid ssUID, SubsystemMonitor::monitorFactory factory)
 registers the Monitor class factory with the resource monitor daemon. More...

void resourceChange (RMuid ssUID, rmResourceInfo *info, bool active)
 informs the resource monitor daemon of a subsystem resource availability change. This method must only be called when the daemon calls ISubsystemMonitor::refreshSubsystemRegistration. As the subsystem detects a change in a resource availability, the subsystem calls resourceChange(). More...


Member Function Documentation

void SubsystemMonitor::IRMRegistration::registerMonitor ( RMuid ssUID,
SubsystemMonitor::monitorFactory factory ) [static]
 

registers the Monitor class factory with the resource monitor daemon.

Parameters:
ssUID   contains the uuid generated by the subsytem
factory   pointer to the function that returns a new instance of the Monitor class.
Note:
Subsystems call this method only if they support inline monitors as reported in Statistic class methods.
See also:
Monitor

void SubsystemMonitor::IRMRegistration::registerStatistic ( RMuid ssUID,
SubsystemMonitor::statisticFactory factory ) [static]
 

registers the Statistic class factory with the resource monitor daemon.

Parameters:
ssUID   contains the uuid generated by the subsytem
factory   pointer to the function that returns a new instance of the Statistic class.
Note:
All subsystems are required to call this method.
See also:
Statistic

void SubsystemMonitor::IRMRegistration::registerSubsystem ( RMuid ssUID,
SubsystemMonitor::systemFactory factory ) [static]
 

registers the ISubsystemMonitor class factory with the resource monitor daemon.

Parameters:
ssUID   contains the uuid generated by the subsytem
factory   pointer to the function that returns a new instance of the ISubsystemMonitor class.
Note:
All subsystems are required to call this method.
See also:
ISubsystemMonitor

void SubsystemMonitor::IRMRegistration::resourceChange ( RMuid ssUID,
rmResourceInfo * info,
bool active ) [static]
 

informs the resource monitor daemon of a subsystem resource availability change. This method must only be called when the daemon calls ISubsystemMonitor::refreshSubsystemRegistration. As the subsystem detects a change in a resource availability, the subsystem calls resourceChange().

Parameters:
ssUID   contains the uuid generated by the subsystem
info   the pointer to the rmResourceInfo structure. When the resource is no longer available, the memory info references should be deallocated after returning from resourceChange(). For a newly available resource, all memory references must remain valid until after the resource is reported as unavailable.
active   true if the resource is now available, false if the resource is now unavailable.


The documentation for this class was generated from the following file:
Generated at Sat Sep 7 21:21:08 2002 for Resource Monitoring Facility by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001