37 std::pair<const Orientation &, bool> orientation,
38 std::pair<const Velocity &, bool> velocity):
41 orientation_{orientation.first},
42 velocity_{velocity.first},
43 bHasOrientation_{orientation.second},
44 bHasVelocity_{velocity.second}{}
59 std::pair<const EMANE::Orientation &, bool>
62 return std::make_pair(std::cref(orientation_),bHasOrientation_);
66 std::pair<const EMANE::Velocity &, bool>
69 return std::make_pair(std::cref(velocity_),bHasVelocity_);
const Position & getPosition() const
Location(NEMId id, const Position &position, std::pair< const Orientation &, bool > orientation, std::pair< const Velocity &, bool > velocity)
std::pair< const Orientation &, bool > getOrientation() const
std::pair< const Velocity &, bool > getVelocity() const
Holds latitude, longitude and altitude.