ReadTagData Class Reference

This class keeps track of tag data received. More...

#include <rfid_reader_app.hpp>

List of all members.

Public Member Functions

 ReadTagData (const NodeId &readTagId, const SimTime &timeRead, const SimTime &timeReadSent)
 A constructor.
NodeId getReadTagId () const
 Get the ID of the tag read.
SimTime getTimeRead () const
 Get the time that the tag was read.
SimTime getTimeReadSent () const
 Get the time that the read packet was sent for the tag read.
SimTime getReadLatency () const
 Get the latency of the read time for the tag.

Friends

ostream & operator<< (ostream &s, const ReadTagData &readTagData)


Detailed Description

This class keeps track of tag data received.

Definition at line 22 of file rfid_reader_app.hpp.


Member Function Documentation

SimTime ReadTagData::getReadLatency (  )  const [inline]

Get the latency of the read time for the tag.

Returns:
the latency between the time the read packet was sent and the tag's reply was received.

Definition at line 64 of file rfid_reader_app.hpp.

NodeId ReadTagData::getReadTagId (  )  const [inline]

Get the ID of the tag read.

Returns:
the tag ID.

Definition at line 35 of file rfid_reader_app.hpp.

SimTime ReadTagData::getTimeRead (  )  const [inline]

Get the time that the tag was read.

Returns:
the time the tag was read.

Definition at line 44 of file rfid_reader_app.hpp.

SimTime ReadTagData::getTimeReadSent (  )  const [inline]

Get the time that the read packet was sent for the tag read.

Returns:
the time the read packet was sent.

Definition at line 54 of file rfid_reader_app.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Dec 12 17:04:41 2006 for rfidsim by  doxygen 1.4.7