X2 Standard  Version 1.24
Public Member Functions | List of all members
CircuitLabelsInterface Class Referenceabstract

The CircuitLabelsInterface allows power control drivers to provide TheSky a text label assoicated with each circuit. More...

#include <circuitlabels.h>

Public Member Functions

virtual int circuitLabel (const int &nZeroBasedIndex, BasicStringInterface &str)=0
 

Detailed Description

The CircuitLabelsInterface allows power control drivers to provide TheSky a text label assoicated with each circuit.

This interface is optional. By default, TheSky will control the text labels assoicated with each ciricuit of a power control device. If the power control device is capable and it and controls text labels associated with each circuit, support this interface.

Don't forget to respond accordingly in your queryAbstraction().

Member Function Documentation

◆ circuitLabel()

virtual int CircuitLabelsInterface::circuitLabel ( const int &  nZeroBasedIndex,
BasicStringInterface str 
)
pure virtual

Called by TheSky query (read) the text label of a circuit.

Parameters
nZeroBasedIndex(in) the zero based index of the circuit.
str(out) the text label associated with this circuit.

The documentation for this class was generated from the following file:
X2 Examples
(C) Software Bisque, Inc. All rights reserved.