This class encapsulates a Jaus AS6009 Element used in the List Manager Service. More...
#include <element.h>
Public Types | |
| typedef std::map< UShort, Element > | Map |
| Type definition for STL map of Elements. | |
| typedef std::vector< Element > | List |
| List of elements. | |
Public Member Functions | |
| Element (const UShort id=0, const UShort next=0, const UShort prev=0) | |
| Constructor, initializes values. | |
| Element (const Element &element) | |
| Copy constructor. | |
| ~Element () | |
| Destructor. | |
| void | Clear () |
| Clears the element. | |
| Element & | operator= (const Element &element) |
| Sets equal to (copies data). | |
Public Attributes | |
| UShort | mID |
| ID of the element. | |
| UShort | mNextID |
| ID of the next element in a list. | |
| UShort | mPrevID |
| ID of the previous element in a list. | |
| Message * | mpElement |
| Pointer to actual element data (Message Payload). | |
| Packet | mPayload |
| Payload data (serialized message data). | |
This class encapsulates a Jaus AS6009 Element used in the List Manager Service.
Definition at line 58 of file element.h.
| typedef std::vector<Element> JAUS::Element::List |
| typedef std::map<UShort, Element> JAUS::Element::Map |
Constructor, initializes values.
| [in] | id | The element UID. |
| [in] | next | The next element in the list ID. 0 if this is a tail element. |
| [in] | prev | The previous element in the list ID. 0 if this is a root element. |
Definition at line 56 of file element.cpp.
| Element::Element | ( | const Element & | element ) |
Copy constructor.
Definition at line 71 of file element.cpp.
| Element::~Element | ( | ) |
Destructor.
Definition at line 85 of file element.cpp.
| void Element::Clear | ( | ) |
Clears the element.
Definition at line 100 of file element.cpp.
Sets equal to (copies data).
Definition at line 119 of file element.cpp.
1.7.2