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

#include <PhysicalLinkOsgVisualizer.h>

Inheritance diagram for inet::visualizer::PhysicalLinkOsgVisualizer:
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::PhysicalLinkOsgVisualizer::isLinkEnd ( cModule *  module) const
overrideprotectedvirtual

Implements inet::visualizer::LinkVisualizerBase.

33 {
34  return dynamic_cast<inet::physicallayer::IRadio *>(module) != nullptr;
35 }
This interface represents a physical device that is capable of transmitting and receiving radio signa...
Definition: IRadio.h:44
bool inet::visualizer::PhysicalLinkOsgVisualizer::isLinkStart ( cModule *  module) const
overrideprotectedvirtual

Implements inet::visualizer::LinkVisualizerBase.

28 {
29  return dynamic_cast<inet::physicallayer::IRadio *>(module) != nullptr;
30 }
This interface represents a physical device that is capable of transmitting and receiving radio signa...
Definition: IRadio.h:44

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