ML Reference
|
Field without value for notifications. More...
#include <mlFields.h>
Public Member Functions | |
NotifyField () | |
Default constructor, do not use it. | |
NotifyField (const std::string &name) | |
Constructor, creates a notification field with a name . | |
void | setStringValue (const std::string &) |
Only calls notifyAttachments() to notify attached fields or sensors. | |
std::string | getStringValue () const |
Returns an empty string, because the field has no value. | |
void | notify () |
Calls touch() to notify connected sensors or fields. |
Field without value for notifications.
Definition at line 846 of file mlFields.h.
ml::NotifyField::NotifyField | ( | ) |
Default constructor, do not use it.
ml::NotifyField::NotifyField | ( | const std::string & | name | ) |
Constructor, creates a notification field with a name
.
The field does not contain a value and is designed only to handle notifications.
std::string ml::NotifyField::getStringValue | ( | ) | const [virtual] |
Returns an empty string, because the field has no value.
Implements ml::Field.
void ml::NotifyField::notify | ( | ) |
Calls touch() to notify connected sensors or fields.
void ml::NotifyField::setStringValue | ( | const std::string & | ) | [virtual] |
Only calls notifyAttachments() to notify attached fields or sensors.
Passed string values are ignored.
Implements ml::Field.