#include <rtpcollisionlist.h>
Inherits RTPMemoryObject.
Public Member Functions | |
| RTPCollisionList (RTPMemoryManager *mgr=0) | |
| Constructs an instance, optionally installing a memory manager. | |
| void | Clear () |
| Clears the list of addresses. | |
| int | UpdateAddress (const RTPAddress *addr, const RTPTime &receivetime, bool *created) |
Updates the entry for address addr to indicate that a collision was detected at time receivetime. | |
| bool | HasAddress (const RTPAddress *addr) const |
Returns true} if the address addr appears in the list. | |
| void | Timeout (const RTPTime ¤ttime, const RTPTime &timeoutdelay) |
Assuming that the current time is given by currenttime, this function times out entries which haven't been updated in the previous time interval specified by timeoutdelay. | |
| RTPCollisionList::RTPCollisionList | ( | RTPMemoryManager * | mgr = 0 |
) |
| void RTPCollisionList::Clear | ( | ) |
| bool RTPCollisionList::HasAddress | ( | const RTPAddress * | addr | ) | const |
| int RTPCollisionList::UpdateAddress | ( | const RTPAddress * | addr, | |
| const RTPTime & | receivetime, | |||
| bool * | created | |||
| ) |
Updates the entry for address addr to indicate that a collision was detected at time receivetime. If the entry did not exist yet, the flag created is set to true, otherwise it is set to false.
1.5.9