Abstract class for a Subscriber. More...
Public Attributes | |
Notifications | |
More... | |
SensorName | |
Sensor subscription lists. More... | |
SensorReading | |
Sensor readings passed from Sensor classes. More... | |
State | |
Runtime state. More... | |
Abstract class for a Subscriber.
User classes inherit from this class to become a Subscriber for System Monitor.
_.Library.Integer ClearNotifications | ( | ) |
USER DOES NOT IMPLEMENT THIS METHOD.
This method is called to clear notifications for the SYS.Monitor Controller
_.Library.Integer ClearSensors | ( | ) |
USER DOES NOT IMPLEMENT THIS METHOD.
This method is called to clear sensor readings for the SYS.Monitor Controller
_.Library.Integer GetAllSensors | ( | _.Library.Binary | qHandle, |
_.Library.String | Sensor, | ||
_.Library.String | Qualifier, | ||
_.Library.String | Value | ||
) |
_.Library.Integer GetNextSensor | ( | _.Library.String | Sensor, |
_.Library.Binary | qHandle, | ||
_.Library.String | Qualifier, | ||
_.Library.String | Value | ||
) |
USER DOES NOT IMPLEMENT THIS METHOD.
This method is called to get sensor readings. For a given sensor / qualifier pair, returns the next qualifier and the associated value.
Returns 1 if value, 0 if no more values, -1 if invalid Sensor.
_.Library.Status GetNextSensorName | ( | _.Library.String | Sensor | ) |
USER DOES NOT IMPLEMENT THIS METHOD.
This method is called to get sensor names. For a given sensor, returns the next sensor.
Returns sensor name or "" if no more sensors.
_.Library.Integer GetSensor | ( | _.Library.String | Sensor, |
_.Library.String | Qualifier, | ||
_.Library.String | Value | ||
) |
USER DOES NOT IMPLEMENT THIS METHOD.
This method is called to get sensor readings. For a given sensor / qualifier pair, returns the value.
Returns 1 if value, 0 if no value, -1 if invalid Sensor.
_.Library.Integer Notify | ( | _.Library.String | Sensor, |
_.Library.Integer | Severity, | ||
_.Library.String | Msg | ||
) |
USER DOES NOT IMPLEMENT THIS METHOD.
This method is called to post a notification
_.Library.Status Receive | ( | ) |
USER MUST IMPLEMENT THIS METHOD.
This method is called when the sensor array is filled.
Reimplemented in SampleSubscriber.
_.Library.Status Start | ( | ) |
USER MAY IMPLEMENT THIS METHOD.
This method is called when the subscriber class is created.
Reimplemented in SampleSubscriber.
Notifications |
SensorName |
Sensor subscription lists.
If Subscription(type)=1 OR Subscription(name)=1
Subscription(<sensor>)= 1
State |
Runtime state.