![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Inheritance diagram for DtAttributeHandleSet:
Collaboration diagram for DtAttributeHandleSet:Public Member Functions | |
| DtAttributeHandleSet (DtObjectClassHandle handle=0) | |
| Constructor. | |
| virtual | ~DtAttributeHandleSet () |
| Destructor. | |
| DtAttributeHandleSet (const DtAttributeHandleSet &orig) | |
| Copy ctor. | |
| DtAttributeHandleSet & | operator= (const DtAttributeHandleSet &orig) |
| Assignment operator. | |
| virtual RTI::ULong | size () const |
| Cardinality of the set. | |
| virtual RTI::AttributeHandle | getHandle (RTI::ULong i) const throw ( RTI::ArrayIndexOutOfBounds) |
| Get ith handle. | |
| virtual void | add (RTI::AttributeHandle h) throw ( RTI::ArrayIndexOutOfBounds, RTI::AttributeNotDefined) |
| Add new value. | |
| virtual void | remove (RTI::AttributeHandle h) throw ( RTI::AttributeNotDefined) |
| not guaranteed safe while iterating | |
| virtual void | empty () |
| Empty the Set. | |
| virtual RTI::Boolean | isEmpty () const |
| is set empty? | |
| virtual bool | isEmptySet () const |
| virtual RTI::Boolean | isMember (RTI::AttributeHandle h) const |
| Is handle h in the set? | |
| virtual DtAttributeHandleSet | setUnion (const DtAttributeHandleSet &) const |
| virtual DtAttributeHandleSet | setIntersection (const DtAttributeHandleSet &) const |
| virtual DtAttributeHandleSet | removeSetIntersection (const DtAttributeHandleSet &) const |
| virtual RTI::ULong | encodedLength () const |
| virtual void | encode (char *buff) const |
| virtual void | print () const |
| virtual void | print (DtObjectClassInfo *fomClass) const |
| virtual DtObjectClassHandle | classHandle () const |
| Additional methods for internal RTI implementation. | |
| virtual void | setClassHandle (DtObjectClassHandle handle) |
| virtual bool | active () const |
| Set/Get active/passive status for subscribed attributes. | |
| virtual void | setActive (bool isActive) |
Static Public Member Functions | |
| static DtAttributeHandleSet * | decode (const char *buff) |
Protected Attributes | |
| unsigned short | mySize |
| DtObjectClassHandle | myClassHandle |
| bool | myActive |
| MAKRti::DtU32 | myWords [DtNumberAttributeWords] |
| DtAttributeHandleSet::~DtAttributeHandleSet | ( | ) | [virtual] |
Destructor.
| DtAttributeHandleSet::DtAttributeHandleSet | ( | const DtAttributeHandleSet & | orig | ) |
Copy ctor.
References DtNumberAttributeWords, myActive, myClassHandle, mySize, and myWords.
| bool DtAttributeHandleSet::active | ( | ) | const [virtual] |
Set/Get active/passive status for subscribed attributes.
References myActive.
| void DtAttributeHandleSet::add | ( | RTI::AttributeHandle | h | ) | throw ( RTI::ArrayIndexOutOfBounds, RTI::AttributeNotDefined) [virtual] |
Add new value.
Implements RTI::AttributeHandleSet.
References DtAttributeBitValue(), and DtRaiseAttributeBit().
Referenced by DtObjectClassInfo::addAttrSorted(), DtObjectClassInfo::addAttrUnsorted(), DtRequestDatabase::addPendingConfirm(), DtRequestDatabase::addRemoteRequest(), DtObjectClassInfo::addRemoteSubscription(), DtRtiObject::addToScope(), DtRequestDatabase::cancelRemoteRequest(), DtRtiObject::decode(), DtOwnershipMsg::DtOwnershipMsg(), DtRequestDatabase::moveRemoteRequestToPendingList(), DtRequestDatabase::pendingConfirmByFed(), DtObjectMgr::processNewObj(), DtObjectClassInfo::publish(), DtObjectMgr::publish(), DtRequestDatabase::releaseConfirm(), DtRequestDatabase::releaseRequested(), DtRequestDatabase::remoteRequestByFed(), DtObjectClassInfo::removeSubscriptions(), DtRtiObject::removeUnexpected(), DtOwnershipMsg::set(), DtObjectClassInfo::subscribe(), DtRtiObject::turnUpdateOn(), DtObjectMgr::unpublishAttributes(), and DtObjectClassInfo::updateRelevance().
| DtObjectClassHandle DtAttributeHandleSet::classHandle | ( | ) | const [virtual] |
Additional methods for internal RTI implementation.
Set/Get class handle of this attribute handle set For now, only used in specific situations (e.g., MOM processing)
References myClassHandle.
| DtAttributeHandleSet * DtAttributeHandleSet::decode | ( | const char * | buff | ) | [static] |
References DtAttributeHandleSet(), DtNumberAttributeWords, DtNetHandleSet::numHandles, and DtNetHandleSet::words.
Referenced by DtUnpubObjMsg::attrHandles(), DtUnsubObjMsg::attrHandles(), DtPubObjMsg::attrHandles(), DtSubObjMsg::attrHandles(), DtRegObjMsg::attrHandles(), DtRequestMsg::attrHandles(), DtOwnershipMsg::attrHandles(), and DtObjectClassInfo::restore().
| void DtAttributeHandleSet::empty | ( | ) | [virtual] |
Empty the Set.
Implements RTI::AttributeHandleSet.
References DtNumberAttributeWords, mySize, and myWords.
Referenced by DtRequestDatabase::clearAll(), DtObjectMgr::divestOwnership(), DtRequestDatabase::releaseConfirm(), DtRequestDatabase::releaseRequested(), and DtObjectClassInfo::subscribe().
| void DtAttributeHandleSet::encode | ( | char * | buff | ) | const [virtual] |
References DtNumberAttributeWords, myWords, DtNetHandleSet::numHandles, size(), and DtNetHandleSet::words.
Referenced by DtRtiObject::encode(), and DtObjectClassInfo::save().
| RTI::ULong DtAttributeHandleSet::encodedLength | ( | ) | const [virtual] |
| RTI::AttributeHandle DtAttributeHandleSet::getHandle | ( | RTI::ULong | i | ) | const throw ( RTI::ArrayIndexOutOfBounds) [virtual] |
Get ith handle.
Implements RTI::AttributeHandleSet.
References DtMaxAttributesPerClass.
Referenced by DtObjectMgr::acquireAttrs(), DtRequestDatabase::addPendingConfirm(), DtRequestDatabase::addRemoteRequest(), DtObjectMgr::cancelAcquire(), DtObjectMgr::cancelDivest(), DtRequestDatabase::cancelRemoteRequest(), DtObjectMgr::divestOwnership(), DtRtiObject::divestRemoteSubscriptions(), DtRtiObject::getDestinations(), DtObjOwnershipInfoXmlBlock::getOwnedAttrs(), DtRequestDatabase::markPendingRequestsUnavailable(), DtRequestDatabase::moveRemoteRequestToPendingList(), print(), DtObjectMgr::processNewObj(), DtObjectMgr::processOwnership(), DtObjectMgr::publish(), DtRequestDatabase::releaseConfirm(), DtRequestDatabase::releaseRequested(), DtObjectMgr::releaseResponse(), DtObjectClassInfo::remotePassiveSubscribe(), DtRtiObject::remotePassiveSubscribe(), DtObjectClassInfo::remoteSubscribe(), DtRtiObject::remoteSubscribe(), DtRtiObject::remoteUnsubscribe(), DtRtiObject::removeDiscoveredClass(), DtRequestDatabase::removePendingConfirm(), DtRequestDatabase::removeRemoteRequest(), DtRtiObject::removeUnexpected(), DtObjectMgr::requestClassUpdate(), DtObjectMgr::sendNotDiscoveredMsgForSmartForwarding(), DtObjectMgr::setAttributeOrderType(), DtObjectMgr::setAttributeTransportType(), DtRtiObject::setDiscoveredClass(), DtObjectMgr::subscribe(), DtObjectClassInfo::throwIfNotDefined(), and DtObjectMgr::unsubscribeAttributes().
| RTI::Boolean DtAttributeHandleSet::isEmpty | ( | ) | const [virtual] |
is set empty?
Implements RTI::AttributeHandleSet.
References RTI_FALSE, RTI::RTI_TRUE, and size().
Referenced by DtObjectMgr::acquireAttrs(), DtObjectClassInfo::deleteRemoteSubscription(), DtObjectMgr::divestOwnership(), DtObjectMgr::processAcquire(), DtObjectMgr::processNotifyAcquire(), DtObjectMgr::processOwnership(), DtObjectMgr::processRequest(), DtObjectMgr::processResign(), DtObjectMgr::provideAttrValueUpdate(), DtObjectMgr::releaseOwnership(), DtObjectClassInfo::remoteSubscribe(), DtObjectClassInfo::removeSubscriptions(), DtObjectMgr::sendPendingRequestAttributes(), and DtObjectMgr::sendPendingSubscription().
| bool DtAttributeHandleSet::isEmptySet | ( | ) | const [virtual] |
References size().
Referenced by DtObjectMgr::acquireAttrs().
| RTI::Boolean DtAttributeHandleSet::isMember | ( | RTI::AttributeHandle | h | ) | const [virtual] |
Is handle h in the set?
Implements RTI::AttributeHandleSet.
References DtAttributeBitValue(), myWords, RTI_FALSE, and RTI::RTI_TRUE.
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::cancelAcquire(), DtObjectMgr::cancelDivest(), DtObjectMgr::divestOwnership(), DtRtiObject::expecting(), DtRtiObject::inScope(), DtRequestDatabase::isRequestCanceled(), DtObjectClassInfo::isSubscribed(), DtRtiObject::isUpdateOn(), DtRtiObject::lrcManaged(), DtRtiObject::owned(), DtRtiObject::pendingRequestIfAvail(), DtRtiObject::pendingUncondRequest(), DtObjectMgr::processGiveToLrc(), DtObjectMgr::processNewObj(), DtObjectMgr::processRegister(), DtObjectClassInfo::publish(), DtObjectMgr::publish(), DtObjectMgr::releaseResponse(), DtObjectClassInfo::removeSubscriptions(), DtRtiObject::rtiOwned(), DtRtiObject::setDiscoveredClass(), DtObjectClassInfo::subscribe(), DtObjectClassInfo::unpublishAttributes(), and DtObjectMgr::unpublishAttributes().
| DtAttributeHandleSet & DtAttributeHandleSet::operator= | ( | const DtAttributeHandleSet & | orig | ) |
Assignment operator.
References DtNumberAttributeWords, myActive, myClassHandle, mySize, and myWords.
| void DtAttributeHandleSet::print | ( | ) | const [virtual] |
References getHandle(), and size().
Referenced by DtUnpubObjMsg::printData(), and DtUnsubObjMsg::printData().
| void DtAttributeHandleSet::print | ( | DtObjectClassInfo * | fomClass | ) | const [virtual] |
References DtObjectClassInfo::attrName(), getHandle(), and size().
| void DtAttributeHandleSet::remove | ( | RTI::AttributeHandle | h | ) | throw ( RTI::AttributeNotDefined) [virtual] |
not guaranteed safe while iterating
Implements RTI::AttributeHandleSet.
References DtAttributeBitValue(), and DtLowerAttributeBit().
Referenced by DtRequestDatabase::addPendingConfirm(), DtRequestDatabase::addRemoteRequest(), DtRequestDatabase::moveRemoteRequestToPendingList(), DtRtiObject::removeFromScope(), DtRequestDatabase::removePendingConfirm(), DtRequestDatabase::removeRemoteRequest(), DtObjectClassInfo::subscribe(), DtRtiObject::turnUpdateOff(), DtObjectClassInfo::unpublishAttributes(), and DtObjectClassInfo::updateRelevance().
| DtAttributeHandleSet DtAttributeHandleSet::removeSetIntersection | ( | const DtAttributeHandleSet & | other | ) | const [virtual] |
References CountBits(), DtNumberAttributeWords, mySize, and myWords.
Referenced by DtObjectMgr::acquireAttrs(), DtRtiObject::addRequest(), DtObjectClassInfo::deleteRemoteSubscription(), DtObjectMgr::divestOwnership(), DtRtiObject::DtRtiObject(), DtRtiObject::giveToRti(), DtRtiObject::lrcUnmanage(), DtObjectMgr::processAcquire(), DtObjectMgr::processCancelAcquire(), DtObjectMgr::processNotifyAcquire(), DtObjectMgr::publish(), DtRtiObject::releaseAttrs(), DtObjectMgr::releaseOwnership(), DtObjectClassInfo::remoteSubscribe(), DtObjectMgr::remoteSubscribe(), DtObjectClassInfo::remoteUnsubscribeAttributes(), DtSubByRegionAttributes::removeAttributes(), DtRequestDatabase::removeCanceledRequests(), DtRtiObject::removeDivesting(), DtRtiObject::removeFromScope(), DtRtiObject::removeRequest(), DtObjectMgr::requestObjectUpdate(), DtRtiObject::turnUpdateOff(), DtObjectMgr::turnUpdatesOff(), DtObjectMgr::turnUpdatesOn(), DtObjectClassInfo::unpublishAttributes(), DtObjectClassInfo::unsubscribeAttributes(), and DtRtiObject::updateOffAttrs().
| void DtAttributeHandleSet::setActive | ( | bool | isActive | ) | [virtual] |
References myActive.
| void DtAttributeHandleSet::setClassHandle | ( | DtObjectClassHandle | handle | ) | [virtual] |
References myClassHandle.
| DtAttributeHandleSet DtAttributeHandleSet::setIntersection | ( | const DtAttributeHandleSet & | other | ) | const [virtual] |
References CountBits(), DtNumberAttributeWords, mySize, and myWords.
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::divestAllInstances(), DtRtiObject::filterOwned(), DtObjectMgr::notifyDivestedAttributes(), DtObjectMgr::processAcquire(), DtObjectMgr::processCancelAcquire(), DtObjectMgr::processDivest(), DtObjectMgr::processNewObj(), DtObjectMgr::processNotifyAcquire(), DtObjectMgr::processOwnership(), DtObjectMgr::processPub(), DtObjectMgr::processRegister(), DtRequestDatabase::releaseConfirm(), DtRequestDatabase::releaseRequested(), DtObjectMgr::sendPendingStartUpdates(), DtObjectMgr::sendPendingStopUpdates(), DtObjectMgr::throwIfAcquisitionPending(), DtRtiObject::updateOnAttrs(), and DtObjectClassInfo::updateRelevance().
| DtAttributeHandleSet DtAttributeHandleSet::setUnion | ( | const DtAttributeHandleSet & | other | ) | const [virtual] |
References CountBits(), DtNumberAttributeWords, mySize, and myWords.
Referenced by DtSubByRegionAttributes::addAttributes(), DtRtiObject::addDivesting(), DtObjectMgr::addPendingDivestNotification(), DtObjectMgr::addPendingRequestAttrs(), DtObjectClassInfo::addRemoteSubscription(), DtRtiObject::addRequest(), DtRtiObject::addToScope(), DtRequestDatabase::cancelAllRemoteRequest(), DtRequestDatabase::cancelRemoteRequest(), DtObjectMgr::divestOwnership(), DtRtiObject::divestToLrc(), DtRtiObject::giveToLrc(), DtRtiObject::giveToRti(), DtObjectMgr::prepareToResign(), DtObjectMgr::processAcquire(), DtObjectMgr::processCancelAcquire(), DtObjectClassInfo::publish(), DtObjectMgr::releaseAllAttributes(), DtObjectMgr::releaseOwnership(), DtObjectMgr::releaseResponse(), DtRequestDatabase::requestedByFed(), DtRtiObject::takeAttrs(), DtObjectMgr::throwIfAcquisitionPending(), and DtRtiObject::turnUpdateOn().
| RTI::ULong DtAttributeHandleSet::size | ( | ) | const [virtual] |
Cardinality of the set.
Implements RTI::AttributeHandleSet.
Referenced by DtObjectMgr::acquireAttrs(), DtRequestDatabase::addPendingConfirm(), DtRequestDatabase::addRemoteRequest(), DtObjectMgr::autoProvideAttrValueUpdate(), DtObjectMgr::cancelAcquire(), DtObjectMgr::cancelDivest(), DtRequestDatabase::cancelRemoteRequest(), DtRequestDatabase::confirmCount(), DtObjectMgr::divestAllInstances(), DtObjectMgr::divestOwnership(), DtRtiObject::divestRemoteSubscriptions(), encode(), DtRtiObject::getDestinations(), DtObjOwnershipInfoXmlBlock::getOwnedAttrs(), DtRtiObject::inScope(), DtObjectMgr::isAcquistionPending(), isEmpty(), isEmptySet(), DtRtiObject::isUpdateOn(), DtObjectMgr::localDeleteObj(), DtRequestDatabase::markPendingRequestsUnavailable(), DtRequestDatabase::moveRemoteRequestToPendingList(), DtObjectMgr::notifyDivestedAttributes(), DtObjectMgr::prepareToResign(), print(), DtObjectMgr::processAcquire(), DtObjectMgr::processCancelAcquire(), DtObjectMgr::processDivest(), DtObjectMgr::processLocDelete(), DtObjectMgr::processNewObj(), DtObjectMgr::processNotifyAcquire(), DtObjectMgr::processOwnership(), DtObjectMgr::processPub(), DtObjectMgr::processRegister(), DtObjectMgr::processResign(), DtObjectClassInfo::publish(), DtObjectMgr::publish(), DtObjectMgr::registerObj(), DtObjectMgr::releaseAllAttributes(), DtRequestDatabase::releaseConfirm(), DtObjectMgr::releaseOwnership(), DtRequestDatabase::releaseRequested(), DtObjectMgr::releaseResponse(), DtObjectClassInfo::relevant(), DtObjectClassInfo::remotePassiveSubscribe(), DtRtiObject::remotePassiveSubscribe(), DtObjectClassInfo::remoteSubscribe(), DtRtiObject::remoteSubscribe(), DtObjectMgr::remoteSubscribe(), DtRtiObject::remoteUnsubscribe(), DtRtiObject::removeDiscoveredClass(), DtRequestDatabase::removePendingConfirm(), DtRequestDatabase::removeRemoteRequest(), DtRtiObject::removeUnexpected(), DtObjectMgr::requestClassUpdate(), DtRequestDatabase::requestCount(), DtObjectMgr::requestObjectUpdate(), DtObjectMgr::restoreObjectList(), DtObjectMgr::sendNotDiscoveredMsgForSmartForwarding(), DtObjectMgr::setAttributeOrderType(), DtObjectMgr::setAttributeTransportType(), DtRtiObject::setDiscoveredClass(), DtObjectClassInfo::subscribe(), DtObjectMgr::subscribe(), DtObjectMgr::throwIfAcquisitionPending(), DtObjectClassInfo::throwIfNotDefined(), DtObjectMgr::turnUpdatesOff(), DtObjectMgr::turnUpdatesOn(), DtObjectClassInfo::unpublishAttributes(), DtObjectClassInfo::unsubscribeAttributes(), DtObjectMgr::unsubscribeAttributes(), and DtObjectClassInfo::updateRelevance().
bool DtAttributeHandleSet::myActive [protected] |
Referenced by active(), DtAttributeHandleSet(), operator=(), and setActive().
Referenced by classHandle(), DtAttributeHandleSet(), operator=(), and setClassHandle().
unsigned short DtAttributeHandleSet::mySize [protected] |
Referenced by DtAttributeHandleSet(), empty(), operator=(), removeSetIntersection(), setIntersection(), and setUnion().
MAKRti::DtU32 DtAttributeHandleSet::myWords[DtNumberAttributeWords] [protected] |
Referenced by DtAttributeHandleSet(), empty(), encode(), isMember(), operator=(), removeSetIntersection(), setIntersection(), and setUnion().