| 812 | } |
| 813 | |
| 814 | Node * |
| 815 | ShadowSubdomain::getNode(int tag) |
| 816 | { |
| 817 | Node *theNod = 0; |
| 818 | |
| 819 | if (theNodes.getLocation(tag) < 0) |
| 820 | return 0; |
| 821 | |
| 822 | msgData(0) = ShadowActorSubdomain_getNode; |
| 823 | msgData(1) = tag; |
| 824 | this->sendID(msgData); |
| 825 | this->recvID(msgData); |
| 826 | int theType = msgData(0); |
| 827 | if (theType != -1) { |
| 828 | theNod = theObjectBroker->getNewNode(theType); |
| 829 | |
| 830 | if (theNod != 0) { |
| 831 | this->recvObject(*theNod); |
| 832 | } |
| 833 | } |
| 834 | |
| 835 | return theNod; |
| 836 | } |
| 837 | |
| 838 | int |
| 839 | ShadowSubdomain::getNumElements(void) const |
nothing calls this directly
no test coverage detected