monitor.monitordata - ICE 0.1 API documentation

ICE 0.1 API documentation

# monitor.monitordata

Interface providing access to submonitors (returned by a monitorable).

abstract interface MonitorDataInterface;

  Interface passed by Monitorables to the MonitorManager to access SubMonitors.

  abstract void die();

    Destroy the MonitorData.

  abstract const @property const(immutable(char)[][]) monitorNames();

    Get names of submonitors available.

  abstract void startMonitor(const string name);

    Start monitor with specified name.

  abstract void stopMonitor(const string name);

    Stop monitor with specified name.

  abstract SubMonitor getMonitor(const string name);

    Access monitor with specified name.

class MonitorData(M): MonitorDataInterface;

  MonitorData implementation providing access to submonitors of monitorable of specified type.

  SubMonitor function(M)[string] constructors_;

    "Constructor" functions to get submonitors from.

  SubMonitor[string] monitors_;

    Currently running submonitors.

  M monitored_;

    Monitored object.

  this(M monitored, SubMonitor function(M)[string] constructors);

    Construct a MonitorManager providing access to monitors monitoring specified object.

    Parameters:

    M monitored | Monitored object.
    SubMonitor function(M)[string] constructors | "Constructor" functions to get submonitors from.

Copyright © Ferdinand Majerech 2011. | Page generated by AutoDDoc and Ddoc.