INET Framework for OMNeT++/OMNEST
inet::Topology::Predicate Class Referenceabstract

Base class for selector objects used in extract...() methods of Topology. More...

#include <Topology.h>

Public Member Functions

virtual ~Predicate ()
 
virtual bool matches (cModule *module)=0
 

Detailed Description

Base class for selector objects used in extract...() methods of Topology.

Redefine the matches() method to return whether the given module should be included in the extracted topology or not.

Constructor & Destructor Documentation

◆ ~Predicate()

virtual inet::Topology::Predicate::~Predicate ( )
inlinevirtual
322 {}

Member Function Documentation

◆ matches()

virtual bool inet::Topology::Predicate::matches ( cModule *  module)
pure virtual

The documentation for this class was generated from the following file: