#include <rfid_tag_app.hpp>
Inheritance diagram for RfidTagAppData:

| Public Types | |
| typedef boost::shared_ptr< RfidTagAppData > | RfidTagAppDataPtr | 
| Smart pointer that clients should use. | |
| Types_NoType | |
| enum value Types_NoType. | |
| Types_Reply | |
| enum value Types_Reply. | |
| enum | Types { Types_NoType, Types_Reply } | 
| Types enum.  More... | |
| Public Member Functions | |
| virtual t_uint | getSizeInBytes () const | 
| Get the size of this data. | |
| void | setTagId (const NodeId &nodeId) | 
| Write the node ID to the packet data. | |
| NodeId | getTagId () const | 
| Read the node ID from the packet data. | |
| void | setType (Types type) | 
| Write the type field to this packet data. | |
| Types | getType () const | 
| Read the type field from this packet data. | |
| ostream & | print (ostream &s) const | 
| Return the stream representation of the object. | |
| Static Public Member Functions | |
| static RfidTagAppDataPtr | create () | 
| A factory method to ensure that all objects are created via newsince we are using smart pointers. | |
| static RfidTagAppDataPtr | create (const RfidTagAppData &rhs) | 
| A factory method to ensure that all objects are created via newsince we are using smart pointers. | |
| Protected Member Functions | |
| RfidTagAppData () | |
| A constructor. | |
| RfidTagAppData (const RfidTagAppData &rhs) | |
| A copy constructor. | |
| virtual PacketDataPtr | clone () const | 
| Returns a pointer to a deep copy of this object. | |
Definition at line 163 of file rfid_tag_app.hpp.
Types enum.
Specifies the types of packets that are sent.
Definition at line 172 of file rfid_tag_app.hpp.
| PacketDataPtr RfidTagAppData::clone | ( | ) | const  [protected, virtual] | 
Returns a pointer to a deep copy of this object.
This is addresses the slicing problem with copy construction.
Reimplemented from PacketData.
Definition at line 103 of file rfid_tag_app.cpp.
References RfidTagAppData().
Referenced by create().
| t_uint RfidTagAppData::getSizeInBytes | ( | ) | const  [inline, virtual] | 
Get the size of this data.
Reimplemented from PacketData.
Definition at line 277 of file rfid_tag_app.hpp.
| NodeId RfidTagAppData::getTagId | ( | ) | const | 
Read the node ID from the packet data.
Definition at line 114 of file rfid_tag_app.cpp.
| RfidTagAppData::Types RfidTagAppData::getType | ( | ) | const  [inline] | 
Read the type field from this packet data.
Definition at line 287 of file rfid_tag_app.hpp.
| void RfidTagAppData::setTagId | ( | const NodeId & | nodeId | ) | 
Write the node ID to the packet data.
| nodeId | the ID to be written. | 
Definition at line 109 of file rfid_tag_app.cpp.
References NodeId::writeToByteArray().
| void RfidTagAppData::setType | ( | Types | type | ) |  [inline] | 
Write the type field to this packet data.
| type | the value for the type field. | 
Definition at line 282 of file rfid_tag_app.hpp.
 1.4.7
 1.4.7