ML Reference
ml::NotifyField Class Reference

Field without value for notifications. More...

#include <mlFields.h>

Inheritance diagram for ml::NotifyField:
ml::Field

List of all members.

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.

Detailed Description

Field without value for notifications.

Definition at line 846 of file mlFields.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file: