RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <AddressComparatorBase.h>
Public Member Functions | |
virtual bool | matchesThisIPC (const Address &addr, PDU *pdu) |
Protected Member Functions | |
virtual void | onPolicyInit () |
Protected Attributes | |
Address | thisIPCAddr |
Private Member Functions | |
void | initialize () |
Noop base class for the RA address comparator policy The policy decides whether this IPC accepts given address.
Definition at line 36 of file AddressComparatorBase.h.
|
private |
Module initialization routine setting up some parameters for GUI. Inherited policies should be using onPolicyInit() instead.
Definition at line 27 of file AddressComparatorBase.cc.
Reimplemented in PrefixMatch, InfectionComparator, and ExactMatch.
Definition at line 41 of file AddressComparatorBase.cc.
Referenced by RMT::processMessage().
|
protectedvirtual |
A hook method invoked after the initial setup of policy module.
Reimplemented in PrefixMatch, and InfectionComparator.
Definition at line 37 of file AddressComparatorBase.cc.
Referenced by initialize().
|
protected |
This IPC address.
Definition at line 50 of file AddressComparatorBase.h.
Referenced by initialize(), ExactMatch::matchesThisIPC(), InfectionComparator::matchesThisIPC(), PrefixMatch::matchesThisIPC(), and PrefixMatch::onPolicyInit().