10 #ifndef _SENSORLISTITEM_H 11 #define _SENSORLISTITEM_H 17 #if( FMI_SUPPORT_A617 ) 62 std::ofstream &aStream
boolean getPlaySound() const
Get the play sound setting.
uint32 getNumUpdates() const
Get the number of updates submitted.
Data type for Update Sensor Request Packet ID (0x1406) from server to client.
boolean getRecordSensor() const
Get the record sensor setting.
fmi_sensor_config_request mConfig
uint32 getChangeId() const
Get the change id.
Data structure to hold details of an A617 sensor that the server needs to keep.
FileBackedMap< SensorListItem > * mParent
The map that this item belongs to, or NULL if none.
void setCurrentName(CString aName)
Set the current name of the sensor.
void setDisplayIndex(uint8 index)
Set dispolay index in the list.
fmi_sensor_update_request mUpdate
virtual void readFromStream(std::istream &aStream)
Read a ClientListItem from an input stream.
unsigned short int uint16
16-bit unsigned integer
uint8 getDisplayIndex() const
Get display index.
virtual void writeToStream(std::ofstream &aStream)
Stores the name associated with a list item that is sent to the client.
const char * getName() const
Get name.
void setUpdate(fmi_sensor_update_request mUpdate)
Set the update.
unsigned char uint8
8-bit unsigned integer
uint32 getUniqueId() const
Get the unique id.
uint8 getSeverity() const
Get the severity.
Data type for Configure Sensor Request Packet ID (0x1402) from server to client.
const char * getStatus() const
Get the status.
uint16 getIcon() const
Get icon.
void setConfig(fmi_sensor_config_request aConfig)
Set the sensor.
unsigned long int uint32
32-bit unsigned integer
void setParent(FileBackedMap< SensorListItem > *aParent)
Set the parent.
const char * getDescription() const
Get the description.
SensorListItem()
Constructor.