14 #if( FMI_SUPPORT_A617 ) 43 aStream >> config.
icon;
86 aStream.getline(update.
status,
sizeof(update.
status),
'-');
101 aStream >> config.
name;
116 if( config.
icon < 52428 )
124 std::ostringstream os;
126 aStream << os.str().c_str();
132 aStream << os.str().c_str();
138 aStream << os.str().c_str();
144 aStream << os.str().c_str();
152 aStream << os.str().c_str();
158 aStream << os.str().c_str();
164 aStream << os.str().c_str();
170 aStream << os.str().c_str();
176 aStream << os.str().c_str();
boolean getPlaySound() const
Get the play sound setting.
uint32 getNumUpdates() const
Get the number of updates submitted.
void setId(const key_type &aId)
Set item's ID.
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.
FileBackedMap< SensorListItem > * mParent
The map that this item belongs to, or NULL if none.
void setValid(BOOL aValid=TRUE)
Set this item as valid.
void setCurrentName(CString aName)
Set the current name of the sensor.
virtual void writeToStream(std::ofstream &aStream) const
Write a ClientListItem to an output stream.
CString mCurrentName
The last name acknowledged by the client.
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.