/**
 * @brief slot: updates the position data of the tag
 * @param tagId		id of the tag
 * @param timeStamp	timestamp of the position arrival
 * @param x		x position of the tag
 * @param y		y position of the tag
 * @param z		z position of the tag
 * @return
 *      void
 */
void DLDExchangeServerDBusPosition::updatePosition (const QString & tagId, int timestamp, double x, double y, double z)
{
	TagPositionInformation	posInfo;
	posInfo.timestamp = timestamp;
	posInfo.fromValues(x, y, z);

	tagPosition.insert (tagId, posInfo);
	emit updatedPosition (tagId, timestamp, x, y, z);
}
Beispiel #2
0
/**
 * @brief slot: updates the position data of the tag
 * @param tagId		id of the tag
 * @param timeStamp	timestamp of the position arrival
 * @param x		x position of the tag
 * @param y		y position of the tag
 * @param z		z position of the tag
 * @return
 *      void
 */
void DLDExchangeServerDBusPosition::updatePosition (int tagId, int timestamp, double x, double y, double z)
{
	TagPositionInformation	posInfo;
	posInfo.timestamp = timestamp;
	posInfo.x = x;
	posInfo.y = y;
	posInfo.z = z;

	tagPosition.insert (tagId, posInfo);
	emit updatedPosition (tagId, timestamp, x, y, z);
}