Skip to main content

StopwatchBegin Class

Saves the current epoch time as a timepoint to a data port. More...

Declaration

class moveit_pro::behaviors::StopwatchBegin { ... }

Included Headers

#include <stopwatch_begin.hpp>

Base class

classBT::SyncActionNode

Public Constructors Index

StopwatchBegin (const std::string &name, const BT::NodeConfiguration &config)
StopwatchBegin (const std::string &name, const BT::NodeConfiguration &config, std::unique_ptr< ClockInterfaceBase > clock_interface)

Public Member Functions Index

BT::NodeStatustick () override

Private Member Attributes Index

std::unique_ptr< ClockInterfaceBase >clock_interface_

Interface to a steady clock used to retrieve the current epoch time. More...

Public Static Functions Index

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

Description

Saves the current epoch time as a timepoint to a data port.

Data Port NamePort TypeObject Type
timepointoutputstd::chrono::time_point<std::chrono::steady_clock>

Definition at line 24 of file stopwatch_begin.hpp.

Public Constructors

StopwatchBegin()

moveit_pro::behaviors::StopwatchBegin::StopwatchBegin (const std::string & name, const BT::NodeConfiguration & config)

Declaration at line 27 of file stopwatch_begin.hpp, definition at line 26 of file stopwatch_begin.cpp.

StopwatchBegin()

moveit_pro::behaviors::StopwatchBegin::StopwatchBegin (const std::string & name, const BT::NodeConfiguration & config, std::unique_ptr< ClockInterfaceBase > clock_interface)

Declaration at line 29 of file stopwatch_begin.hpp, definition at line 31 of file stopwatch_begin.cpp.

Public Member Functions

tick()

BT::NodeStatus moveit_pro::behaviors::StopwatchBegin::tick ()

Declaration at line 36 of file stopwatch_begin.hpp, definition at line 48 of file stopwatch_begin.cpp.

Private Member Attributes

clock_interface_

std::unique_ptr<ClockInterfaceBase> moveit_pro::behaviors::StopwatchBegin::clock_interface_

Interface to a steady clock used to retrieve the current epoch time.

Definition at line 40 of file stopwatch_begin.hpp.

Public Static Functions

metadata()

BT::KeyValueVector moveit_pro::behaviors::StopwatchBegin::metadata ()
static

Declaration at line 34 of file stopwatch_begin.hpp, definition at line 43 of file stopwatch_begin.cpp.

providedPorts()

BT::PortsList moveit_pro::behaviors::StopwatchBegin::providedPorts ()
static

Declaration at line 32 of file stopwatch_begin.hpp, definition at line 37 of file stopwatch_begin.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.