00001 #pragma once
00002
00003 #include "MulticastTree.h"
00004
00005 class CMulticast
00006 {
00007 private:
00008 __uint32 groups;
00009
00010 CMulticastTree** trees;
00011
00012 public:
00013 CMulticast(__uint32 groups, CTopo* topology, __uint32 source);
00014 virtual ~CMulticast();
00015
00016 inline __uint32 Groups() { return this->groups; }
00017 inline CMulticastTree* operator[](__uint32 index) { assert(index < this->groups); return this->trees[index]; }
00018 };