| author | Tero Marttila <terom@fixme.fi> |
| Tue, 27 Jan 2009 03:02:02 +0200 | |
| changeset 441 | f769fab21a6c |
| parent 431 | c6d7272a164b |
| permissions | -rw-r--r-- |
#include "Group.hh" #include "Node.hh" void NetworkGroup::send_pkt (const NetworkPacketBuffer &pkt, bool reliable) { // iterate + recurse send_pkt for (iterator_type it = targets_begin; it != targets_end; it++) { // handle as NetworkTarget NetworkTarget *target = static_cast<NetworkTarget*>(*it); // exclude? if (target == exclude) continue; // recurse target->send_pkt(pkt, reliable); } }