Public Member Functions | Public Attributes | List of all members
Point2D Struct Reference

Public Member Functions

bool operator!= (const Point2D &other) const
 
bool operator!= (const Point2D &p) const
 
bool operator== (const Point2D &other) const
 
bool operator== (const Point2D &p) const
 

Public Attributes

int x = 0
 
int y = 0
 

Detailed Description

The goal of this tutorial is to show all the possible ways that we can define the default value of a port, i.e. the value that it should have if not specified in the XML

Definition at line 11 of file t12_default_ports.cpp.

Member Function Documentation

◆ operator!=() [1/2]

bool Point2D::operator!= ( const Point2D other) const
inline

Definition at line 335 of file gtest_ports.cpp.

◆ operator!=() [2/2]

bool Point2D::operator!= ( const Point2D p) const
inline

Definition at line 19 of file t12_default_ports.cpp.

◆ operator==() [1/2]

bool Point2D::operator== ( const Point2D other) const
inline

Definition at line 331 of file gtest_ports.cpp.

◆ operator==() [2/2]

bool Point2D::operator== ( const Point2D p) const
inline

Definition at line 15 of file t12_default_ports.cpp.

Member Data Documentation

◆ x

int Point2D::x = 0

Definition at line 13 of file t12_default_ports.cpp.

◆ y

int Point2D::y = 0

Definition at line 14 of file t12_default_ports.cpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09