AntHocNet 2.6.1
Paper-faithful ant-colony ad hoc routing: the shared core and its adapters
Loading...
Searching...
No Matches
anthocnet::core::IKinematics Class Referenceabstract

This node's own position and velocity (#573, ADR-0025). More...

#include <anthocnet/core/ports.h>

Inheritance diagram for anthocnet::core::IKinematics:
ahn_web::Node ns3::anthocnet::RoutingProtocol

Public Member Functions

virtual ~IKinematics ()=default
 
virtual bool self (Kinematics &out) const =0
 Fill out and return true, or return false (leaving out untouched) when the position is unknown.
 

Detailed Description

This node's own position and velocity (#573, ADR-0025).

Absent, not zero: an adapter that does not know where the node is returns false, because a node reported at the origin would sit on top of every other such node and read as an immortal link. Neighbours' kinematics never come through this port; they come from their hellos, as a deployed protocol's would.

Definition at line 105 of file ports.h.

Constructor & Destructor Documentation

◆ ~IKinematics()

virtual anthocnet::core::IKinematics::~IKinematics ( )
virtualdefault

Member Function Documentation

◆ self()

virtual bool anthocnet::core::IKinematics::self ( Kinematics &  out) const
pure virtual

Fill out and return true, or return false (leaving out untouched) when the position is unknown.

Implemented in ahn_web::Node.


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