INET Framework for OMNeT++/OMNEST
inet::visualizer::DataLinkOsgVisualizer Class Reference

#include <DataLinkOsgVisualizer.h>

Inheritance diagram for inet::visualizer::DataLinkOsgVisualizer:
inet::visualizer::LinkOsgVisualizerBase inet::visualizer::LinkVisualizerBase inet::visualizer::VisualizerBase

Protected Member Functions

virtual bool isLinkStart (cModule *module) const override
 
virtual bool isLinkEnd (cModule *module) const override
 
- Protected Member Functions inherited from inet::visualizer::VisualizerBase
virtual int numInitStages () const override
 
virtual Coord getPosition (const cModule *networkNode) const
 
virtual Coord getContactPosition (const cModule *networkNode, const Coord &fromPosition, const char *contactMode, double contactSpacing) const
 
virtual InterfaceEntrygetInterfaceEntry (cModule *networkNode, cModule *module) const
 

Additional Inherited Members

- Protected Attributes inherited from inet::visualizer::VisualizerBase
cModule * visualizerTargetModule = nullptr
 
const char * tags = nullptr
 

Member Function Documentation

bool inet::visualizer::DataLinkOsgVisualizer::isLinkEnd ( cModule *  module) const
overrideprotectedvirtual

Implements inet::visualizer::LinkVisualizerBase.

34 {
35  return dynamic_cast<MACProtocolBase *>(module) != nullptr || dynamic_cast<MACBase *>(module) != nullptr;
36 }
bool inet::visualizer::DataLinkOsgVisualizer::isLinkStart ( cModule *  module) const
overrideprotectedvirtual

Implements inet::visualizer::LinkVisualizerBase.

29 {
30  return dynamic_cast<MACProtocolBase *>(module) != nullptr || dynamic_cast<MACBase *>(module) != nullptr;
31 }

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