Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Parallel_robot Class Reference

#include <parallel_robot.h>

Inheritance diagram for Parallel_robot:
Inheritance graph
[legend]

Public Member Functions

size_t failureThreshold () const
 
virtual void halt () override
 
 Parallel_robot (const std::string &name, const BT::NodeConfiguration &config)
 
 Parallel_robot (const std::string &name, int success_threshold, int failure_threshold=1)
 
void setFailureThreshold (int threshold_M)
 
void setSuccessThreshold (int threshold_M)
 
size_t successThreshold () const
 
 ~Parallel_robot () override=default
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 

Private Member Functions

virtual BT::NodeStatus tick () override
 

Private Attributes

int failure_threshold_
 
bool read_parameter_from_ports_
 
std::set< int > skip_list_
 
int success_threshold_
 

Static Private Attributes

static constexpr const char * THRESHOLD_FAILURE = "failure_threshold"
 
static constexpr const char * THRESHOLD_SUCCESS = "success_threshold"
 

Detailed Description

Definition at line 9 of file parallel_robot.h.

Constructor & Destructor Documentation

◆ Parallel_robot() [1/2]

Parallel_robot::Parallel_robot ( const std::string &  name,
int  success_threshold,
int  failure_threshold = 1 
)

Definition at line 24 of file parallel_robot.cpp.

◆ Parallel_robot() [2/2]

Parallel_robot::Parallel_robot ( const std::string &  name,
const BT::NodeConfiguration &  config 
)

Definition at line 32 of file parallel_robot.cpp.

◆ ~Parallel_robot()

Parallel_robot::~Parallel_robot ( )
overridedefault

Member Function Documentation

◆ failureThreshold()

size_t Parallel_robot::failureThreshold ( ) const

Definition at line 133 of file parallel_robot.cpp.

◆ halt()

void Parallel_robot::halt ( )
overridevirtual

Definition at line 120 of file parallel_robot.cpp.

◆ providedPorts()

static BT::PortsList Parallel_robot::providedPorts ( )
inlinestatic

Definition at line 14 of file parallel_robot.h.

◆ setFailureThreshold()

void Parallel_robot::setFailureThreshold ( int  threshold_M)

Definition at line 143 of file parallel_robot.cpp.

◆ setSuccessThreshold()

void Parallel_robot::setSuccessThreshold ( int  threshold_M)

Definition at line 139 of file parallel_robot.cpp.

◆ successThreshold()

size_t Parallel_robot::successThreshold ( ) const

Definition at line 126 of file parallel_robot.cpp.

◆ tick()

BT::NodeStatus Parallel_robot::tick ( )
overrideprivatevirtual

Definition at line 39 of file parallel_robot.cpp.

Member Data Documentation

◆ failure_threshold_

int Parallel_robot::failure_threshold_
private

Definition at line 33 of file parallel_robot.h.

◆ read_parameter_from_ports_

bool Parallel_robot::read_parameter_from_ports_
private

Definition at line 37 of file parallel_robot.h.

◆ skip_list_

std::set<int> Parallel_robot::skip_list_
private

Definition at line 35 of file parallel_robot.h.

◆ success_threshold_

int Parallel_robot::success_threshold_
private

Definition at line 32 of file parallel_robot.h.

◆ THRESHOLD_FAILURE

constexpr const char* Parallel_robot::THRESHOLD_FAILURE = "failure_threshold"
staticconstexprprivate

Definition at line 39 of file parallel_robot.h.

◆ THRESHOLD_SUCCESS

constexpr const char* Parallel_robot::THRESHOLD_SUCCESS = "success_threshold"
staticconstexprprivate

Definition at line 38 of file parallel_robot.h.


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


multi_cell_builder
Author(s): Matteo Anedda
autogenerated on Sun Apr 9 2023 23:59:51