![]() |
MAK RTIspy API Documentation for HLA 1516
|
DtSortedListItem is an envelope class used by DtSortedList. More...
Inheritance diagram for DtSortedListItem:
Collaboration diagram for DtSortedListItem:Public Member Functions | |
| virtual | ~DtSortedListItem () |
| Destructor. | |
| DtSortedListItem * | prev () const |
| Return previous (next) item. | |
| DtSortedListItem * | next () const |
| void * | data () const |
| Returns the data element contained in the DtSortedListItem envelope. | |
| virtual bool | operator<= (const DtSortedListItem &) const |
| Comparison operators for sorting. | |
| virtual bool | operator< (const DtSortedListItem &) const |
| virtual bool | operator>= (const DtSortedListItem &) const |
| virtual bool | operator> (const DtSortedListItem &) const |
| virtual bool | operator== (const DtSortedListItem &) const |
| virtual void | printData () |
| Print data contents. | |
Protected Member Functions | |
| DtSortedListItem (void *d) | |
| Constructor - called only by DtSortedList. | |
Protected Attributes | |
| DtSortedListItem * | myPrev |
| DtSortedListItem * | myNext |
| void * | myData |
Friends | |
| class | DtSortedList |
DtSortedListItem is an envelope class used by DtSortedList.
When you add an element to a DtSortedList, it creates a DtSortedListItem to contain the element. The DtSortedListItem stores the next and previous pointer, as well as the data element itself. The default relations apply to the data pointer itself.
|
virtual |
Destructor.
|
protected |
Constructor - called only by DtSortedList.
|
inline |
Returns the data element contained in the DtSortedListItem envelope.
References myData.
Referenced by DtRetractInfoList::deleteAll(), DtRtiMsgQueue::deleteMsgs(), DtSortedList::DtSortedList(), DtSortedList::itemLookup(), DtRtiMsgQueue::nextTsoMsg(), DtMessageItem::operator<(), DtRetractInfoItem::operator<(), DtMessageItem::operator<=(), DtRetractInfoItem::operator<=(), DtSortedList::operator=(), DtMessageItem::operator==(), DtRetractInfoItem::operator==(), DtMessageItem::operator>(), DtRetractInfoItem::operator>(), DtMessageItem::operator>=(), DtRetractInfoItem::operator>=(), and DtRtiMsgQueue::peekNextTsoMsg().
|
inline |
References myNext.
Referenced by DtSortedList::add(), DtRetractInfoList::deleteAll(), DtRtiMsgQueue::deleteMsgs(), DtSortedList::DtSortedList(), DtSortedList::operator=(), DtSortedList::printData(), DtFedExec::processInitiatedSave(), DtSortedList::removeAll(), DtRtiMsgQueue::removeMsg(), DtSortedList::reposition(), DtSortedList::repositionForward(), and DtRetractInfoList::~DtRetractInfoList().
|
virtual |
Reimplemented in DtRetractInfoItem, and DtMessageItem.
References myData.
|
virtual |
Comparison operators for sorting.
Reimplemented in DtRetractInfoItem, and DtMessageItem.
References myData.
|
virtual |
Reimplemented in DtRetractInfoItem, and DtMessageItem.
References myData.
|
virtual |
Reimplemented in DtRetractInfoItem, and DtMessageItem.
References myData.
|
virtual |
Reimplemented in DtRetractInfoItem, and DtMessageItem.
References myData.
|
inline |
Return previous (next) item.
If you hit the beginning (end) of the list, returns NULL.
References myPrev.
Referenced by DtSortedList::printData(), DtSortedList::reposition(), and DtSortedList::repositionBackward().
|
virtual |
|
friend |
|
protected |
Referenced by data(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and DtSortedList::remove().
|
protected |
|
protected |