|
| flxDevACS37800 () |
|
bool | onInitialize (TwoWire &) |
|
void | onPropertyUpdate (const char *) |
|
virtual uint8_t | getDefaultAddress (void) |
|
bool | initialize (TwoWire &wirePort) |
|
bool | initialize (flxBusI2C &i2cDriver) |
|
bool | initialize (void) |
|
bool | initialize (uint8_t address) |
|
virtual bool | onInitialize (TwoWire &) |
|
flxTypeID | getType (void) |
|
bool | isType (flxTypeID type) |
|
flxDeviceKind_t | getKind (void) |
|
| flxDevice () |
|
virtual | ~flxDevice () |
|
virtual bool | execute (void) |
| Virtual method called to run the operation - called before data is retrieved. More...
|
|
bool | initialize () |
|
virtual bool | initialize (flxBusI2C &) |
|
virtual bool | initialize (flxBusSPI &) |
|
bool | autoload (void) |
|
void | setAutoload () |
|
void | setAddress (uint8_t address) |
|
uint8_t | address (void) |
|
void | addAddressToName () |
|
void | setIsInitialized (bool isInit) |
|
bool | isInitialized (void) |
|
virtual flxDeviceKind_t | getKind (void) |
|
virtual flxTypeID | getType (void) |
|
virtual bool | execute (void) |
| Virtual method called to run the operation - called before data is retrieved. More...
|
|
virtual bool | onSave (flxStorageBlock *stBlk) |
|
virtual bool | onRestore (flxStorageBlock *stBlk) |
|
| flxObject () |
|
virtual | ~flxObject () |
|
void | setParent (flxObject *parent) |
|
void | setParent (flxObject &parent) |
|
flxObject * | parent () |
|
void | setHidden (bool bHide=true) |
|
bool | hidden () |
|
void | setIsDirty (bool bDirty=true) |
|
bool | isDirty (void) |
|
virtual bool | onSave (flxStorageBlock *stBlk) |
|
virtual bool | save (flxStorage *pStorage) |
|
virtual bool | onRestore (flxStorageBlock *stBlk) |
|
virtual bool | restore (flxStorage *pStorage) |
|
virtual flxTypeID | getType (void) |
|
virtual bool | save (flxStorage *)=0 |
|
virtual bool | restore (flxStorage *)=0 |
|
| _flxPropertyContainer () |
|
void | addProperty (flxProperty *newProperty) |
|
void | addProperty (flxProperty &newProperty) |
|
void | removeProperty (flxProperty *rmProp) |
|
void | removeProperty (flxProperty &rmProp) |
|
flxPropertyList & | getProperties (void) |
|
uint | nProperties (void) |
|
bool | saveProperties (flxStorageBlock *stBlk) |
|
bool | restoreProperties (flxStorageBlock *stBlk) |
|
size_t | propertySaveSize () |
|
void | hideProperty (flxProperty &theProp) |
|
| flxDescriptor () |
|
void | setName (const char *new_name) |
| Set the Name object - storing the pointer to the provided string No allocation is performed. If the previous name was allocated, it is freed. More...
|
|
void | setName (const char *new_name, const char *new_desc) |
| Set the Name object and the Description for the object. Both strings are constants. More...
|
|
void | setName (char *new_name) |
| Set the Name object, but makes a copy of the input string since the input is not const. If the previous name was allocated, it is freed. More...
|
|
const char * | name () |
| Return a const char pointer to the name of the object. More...
|
|
std::string | name_ (void) |
| Returns a std::string of the name of the object. More...
|
|
void | setDescription (const char *new_desc) |
| Set the Description object - the input value is constant and not copied. If the previous description was allocated, it is freed. More...
|
|
void | setDescription (char *new_desc) |
| Set the Description object - the input value is not constant and is copied. If the previous description was allocated, it is freed. More...
|
|
const char * | description () |
| Return the constant C string pointer to the description of the object. More...
|
|
std::string | description_ (void) |
| Return the description of the object as a std::string. More...
|
|
void | setTitle (const char *title) |
| Set the Title object - the title is optional and is used mostly for UX or organizational purposes. The input value is constant and not copied. If the previous title was allocated, it is freed. More...
|
|
void | setTitleAlloc (char *new_title) |
| Set the Title of the object , but make an explict copy of the provided string. More...
|
|
const char * | title (void) |
| Return the C constant string pointer to the title of the object. More...
|
|
void | addParameter (flxParameterIn *newParam, bool head=false) |
|
void | addParameter (flxParameterIn &newParam, bool head=false) |
|
void | removeParameter (flxParameterIn *rmParam) |
|
void | removeParameter (flxParameterIn &rmParam) |
|
size_t | nInputParameters () |
|
void | addParameter (flxParameterOut *newParam, bool head=false) |
|
void | addParameter (flxParameterOut &newParam, bool head=false) |
|
void | removeParameter (flxParameterOut *rmParam) |
|
void | removeParameter (flxParameterOut &rmParam) |
|
size_t | nOutputParameters () |
|
flxParameterOutList & | getOutputParameters (void) |
|
flxParameterInList & | getInputParameters (void) |
|
|
flxParameterOutFloat< flxDevACS37800, &flxDevACS37800::read_volts > | volts |
|
flxParameterOutFloat< flxDevACS37800, &flxDevACS37800::read_amps > | amps |
|
flxParameterOutFloat< flxDevACS37800, &flxDevACS37800::read_watts > | watts |
|
flxParameterOutFloat< flxDevACS37800, &flxDevACS37800::read_volts_rms > | voltsRMS |
|
flxParameterOutFloat< flxDevACS37800, &flxDevACS37800::read_amps > | ampsRMS |
|
flxParameterOutFloat< flxDevACS37800, &flxDevACS37800::read_power_active > | powerActive |
|
flxParameterOutFloat< flxDevACS37800, &flxDevACS37800::read_power_reactive > | powerReactive |
|
flxParameterOutFloat< flxDevACS37800, &flxDevACS37800::read_power_apparent > | powerApparent |
|
flxParameterOutFloat< flxDevACS37800, &flxDevACS37800::read_power_factor > | powerFactor |
|
flxParameterOutBool< flxDevACS37800, &flxDevACS37800::read_pos_angle > | positiveAngle |
|
flxParameterOutBool< flxDevACS37800, &flxDevACS37800::read_pos_power_factor > | positivePowerFactor |
|
flxPropertyRWUInt32< flxDevACS37800, &flxDevACS37800::get_number_of_samples, &flxDevACS37800::set_number_of_samples > | numberOfSamples = {0, 0, 1023} |
|
flxPropertyRWUInt8< flxDevACS37800, &flxDevACS37800::get_bypass_n_enable, &flxDevACS37800::set_bypass_n_enable > | bypassNenable = {0, {{"RMS calculated using zero crossings", 0}, {"RMS calculated using n samples", 1}}} |
|
flxPropertyRWFloat< flxDevACS37800, &flxDevACS37800::get_sense_resistance, &flxDevACS37800::set_sense_resistance > | senseResistance |
|
flxPropertyRWFloat< flxDevACS37800, &flxDevACS37800::get_divider_resistance, &flxDevACS37800::set_divider_resistance > | dividerResistance |
|
flxPropertyRWFloat< flxDevACS37800, &flxDevACS37800::get_current_range, &flxDevACS37800::set_current_range > | currentRange |
|
flxParameterInVoid< flxDevice, &flxDevice::disable_all_parameters > | disableAllParameters |
|
flxParameterInVoid< flxDevice, &flxDevice::enable_all_parameters > | enableAllParameters |
|