![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtPubSubXmlBlock:
Collaboration diagram for DtPubSubXmlBlock:Public Types | |
| typedef std::set < DtPubSubObjectsXmlBlockSP > | PubSubObjectXmlBlockSet |
Public Member Functions | |
| DtPubSubXmlBlock (DtEnvValueSP existingNode, DtEnvValueSP root) | |
| DtPubSubXmlBlock (DtEnvValueSP root) | |
| virtual | ~DtPubSubXmlBlock () |
| virtual void | updatePubsAndSubs (const DtFomClassMgr &fom) |
| virtual DtPubSubObjectsXmlBlockSP | addObject (unsigned long handle, const DtString &pubs, const DtString &subs) |
| virtual DtPubSubObjectsXmlBlockSP | removeObject (unsigned long handle) |
| virtual void | removeObject (DtPubSubObjectsXmlBlockSP objectSP) |
| virtual PubSubObjectXmlBlockSet | objects () |
| virtual DtPubSubInteractionsXmlBlockSP | setInteractions (const DtString &pubs, const DtString &subs) |
| virtual DtPubSubInteractionsXmlBlockSP | interactions () |
Static Public Member Functions | |
| static DtSpyXmlBlockSP | create (DtNodeAndParentPair xmlNodeAndParent) |
Protected Types | |
| typedef std::map< unsigned long, DtPubSubObjectsXmlBlockSP > | HandleToObjectSpMap |
Protected Member Functions | |
| void | updateObjectPubsAndSubs (DtObjectClassInfo *obj) |
| void | getAttrSubsAndPubs (DtObjectClassInfo *obj) |
| void | updateInteractionPubsAndSubs (DtInteractionClassInfo *inter, DtString &interSubs, DtString &interPubs, bool &addCommaToSubs, bool &addCommaToPubs) |
Protected Attributes | |
| HandleToObjectSpMap | myObjectsByHandle |
| DtPubSubInteractionsXmlBlockSP | myInteractions |
typedef std::map< unsigned long, DtPubSubObjectsXmlBlockSP > DtPubSubXmlBlock::HandleToObjectSpMap [protected] |
| typedef std::set< DtPubSubObjectsXmlBlockSP > DtPubSubXmlBlock::PubSubObjectXmlBlockSet |
| DtPubSubXmlBlock::DtPubSubXmlBlock | ( | DtEnvValueSP | existingNode, |
| DtEnvValueSP | root | ||
| ) |
References DtSpyXmlBlock::addChild(), myInteractions, myObjectsByHandle, DtSpyXmlBlock::objectNode(), and objects().
Referenced by create().
| DtPubSubXmlBlock::DtPubSubXmlBlock | ( | DtEnvValueSP | root | ) |
References DtSpyXmlBlock::addChild(), myInteractions, and DtSpyXmlBlock::objectNode().
| DtPubSubXmlBlock::~DtPubSubXmlBlock | ( | ) | [virtual] |
| DtPubSubObjectsXmlBlockSP DtPubSubXmlBlock::addObject | ( | unsigned long | handle, |
| const DtString & | pubs, | ||
| const DtString & | subs | ||
| ) | [virtual] |
References DtSpyXmlBlock::addChild(), myObjectsByHandle, and DtSpyXmlBlock::objectNode().
Referenced by getAttrSubsAndPubs().
| DtSpyXmlBlockSP DtPubSubXmlBlock::create | ( | DtNodeAndParentPair | xmlNodeAndParent | ) | [static] |
References DtPubSubXmlBlock().
| void DtPubSubXmlBlock::getAttrSubsAndPubs | ( | DtObjectClassInfo * | obj | ) | [protected] |
References addObject(), DtObjectClassInfo::attrs(), and DtObjectClassInfo::handle().
Referenced by updateObjectPubsAndSubs().
| DtPubSubInteractionsXmlBlockSP DtPubSubXmlBlock::interactions | ( | ) | [virtual] |
References myInteractions.
Referenced by DtPubSubXmlBlock().
| DtPubSubObjectsXmlBlockSP DtPubSubXmlBlock::removeObject | ( | unsigned long | handle | ) | [virtual] |
References myObjectsByHandle, and DtSpyXmlBlock::removeChild().
| void DtPubSubXmlBlock::removeObject | ( | DtPubSubObjectsXmlBlockSP | objectSP | ) | [virtual] |
References myObjectsByHandle, and DtSpyXmlBlock::removeChild().
| DtPubSubInteractionsXmlBlockSP DtPubSubXmlBlock::setInteractions | ( | const DtString & | pubs, |
| const DtString & | subs | ||
| ) | [virtual] |
References myInteractions.
Referenced by updatePubsAndSubs().
| void DtPubSubXmlBlock::updateInteractionPubsAndSubs | ( | DtInteractionClassInfo * | inter, |
| DtString & | interSubs, | ||
| DtString & | interPubs, | ||
| bool & | addCommaToSubs, | ||
| bool & | addCommaToPubs | ||
| ) | [protected] |
| void DtPubSubXmlBlock::updateObjectPubsAndSubs | ( | DtObjectClassInfo * | obj | ) | [protected] |
References getAttrSubsAndPubs(), DtObjectClassInfo::published(), DtObjectClassInfo::subclasses(), and DtObjectClassInfo::subscribed().
Referenced by updatePubsAndSubs().
| void DtPubSubXmlBlock::updatePubsAndSubs | ( | const DtFomClassMgr & | fom | ) | [virtual] |
References DtInteractionClassInfo::handle(), DtFomClassMgr::interactionRootClass(), DtFomClassMgr::objectRootClass(), DtInteractionClassInfo::published(), setInteractions(), DtInteractionClassInfo::subclasses(), DtInteractionClassInfo::subscribed(), updateInteractionPubsAndSubs(), and updateObjectPubsAndSubs().
Referenced by DtPubSubXmlBlock(), interactions(), and setInteractions().
Referenced by addObject(), DtPubSubXmlBlock(), and removeObject().