SMACC2
|
#include <smacc_client_behavior_base.hpp>
Public Member Functions | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage) |
Protected Member Functions | |
virtual void | runtimeConfigure () |
virtual void | onEntry () |
virtual void | onExit () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () |
virtual rclcpp::Logger | getLogger () |
Private Member Functions | |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
Private Attributes | |
ISmaccStateMachine * | stateMachine_ |
ISmaccState * | currentState |
smacc2::ISmaccOrthogonal * | currentOrthogonal |
Friends | |
class | ISmaccState |
class | ISmaccOrthogonal |
class | ISmaccAsynchronousClientBehavior |
Definition at line 29 of file smacc_client_behavior_base.hpp.
smacc2::ISmaccClientBehavior::ISmaccClientBehavior | ( | ) |
Definition at line 25 of file smacc_client_behavior_base.cpp.
References currentState, and stateMachine_.
|
virtual |
Definition at line 31 of file smacc_client_behavior_base.cpp.
References getLogger().
|
protectedvirtual |
Reimplemented in smacc2::SmaccAsyncClientBehavior.
Definition at line 74 of file smacc_client_behavior_base.cpp.
|
privatevirtual |
Reimplemented in smacc2::SmaccAsyncClientBehavior.
Definition at line 60 of file smacc_client_behavior_base.cpp.
References getLogger(), getName(), and onEntry().
|
privatevirtual |
Reimplemented in smacc2::SmaccAsyncClientBehavior.
Definition at line 67 of file smacc_client_behavior_base.cpp.
References getLogger(), getName(), and onExit().
|
inlineprotected |
Definition at line 64 of file smacc_client_behavior_impl.hpp.
References currentState.
Referenced by cl_nav2z::CbAbsoluteRotate::onEntry(), cl_nav2z::CbNavigateForward::onEntry(), cl_nav2z::CbNavigateGlobalPosition::onEntry(), and cl_nav2z::CbRotate::onEntry().
|
protectedvirtual |
Definition at line 40 of file smacc_client_behavior_base.cpp.
References getNode().
Referenced by cl_nav2z::CbNavigateBackwards::CbNavigateBackwards(), cl_move_group_interface::CbCircularPivotMotion::computeCurrentEndEffectorPoseRelativeToPivot(), cl_move_group_interface::CbMoveEndEffectorTrajectory::computeJointSpaceTrajectory(), smacc2::SmaccAsyncClientBehavior::dispose(), cl_nav2z::CbNavigateGlobalPosition::execute(), cl_move_group_interface::CbMoveEndEffectorTrajectory::executeJointSpaceTrajectory(), executeOnEntry(), smacc2::SmaccAsyncClientBehavior::executeOnEntry(), executeOnExit(), smacc2::SmaccAsyncClientBehavior::executeOnExit(), cl_move_group_interface::CbCircularPivotMotion::generateTrajectory(), cl_move_group_interface::CbMoveCartesianRelative2::generateTrajectory(), cl_move_group_interface::CbCircularPouringMotion::generateTrajectory(), cl_move_group_interface::CbMoveEndEffectorTrajectory::initializeROS(), cl_move_group_interface::CbMoveKnownState::loadJointStatesFromFile(), cl_move_group_interface::CbMoveJoints::moveJoints(), cl_move_group_interface::CbMoveEndEffectorRelative::moveRelative(), cl_move_group_interface::CbMoveCartesianRelative::moveRelativeCartesian(), cl_move_group_interface::CbMoveEndEffector::moveToAbsolutePose(), smacc2::client_behaviors::CbServiceCall< ServiceType >::onEntry(), smacc2::client_behaviors::CbRosLaunch::onEntry(), smacc2::client_behaviors::CbWaitActionServer::onEntry(), smacc2::client_behaviors::CbWaitNode::onEntry(), smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onEntry(), smacc2::SmaccClientBehavior::onEntry(), cl_move_group_interface::CbAttachObject::onEntry(), cl_move_group_interface::CbDetachObject::onEntry(), cl_move_group_interface::CbEndEffectorRotate::onEntry(), cl_move_group_interface::CbMoveEndEffector::onEntry(), cl_move_group_interface::CbMoveEndEffectorRelative::onEntry(), cl_move_group_interface::CbMoveEndEffectorTrajectory::onEntry(), cl_move_group_interface::CbMoveLastTrajectoryInitialState::onEntry(), cl_move_group_interface::CbUndoLastTrajectory::onEntry(), cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >::onEntry(), cl_nav2z::CbAbsoluteRotate::onEntry(), cl_nav2z::CbNavigateBackwards::onEntry(), cl_nav2z::CbNavigateForward::onEntry(), cl_nav2z::CbNavigateGlobalPosition::onEntry(), cl_nav2z::CbNavigateNextWaypoint::onEntry(), cl_nav2z::CbPauseSlam::onEntry(), cl_nav2z::CbResumeSlam::onEntry(), cl_nav2z::CbRotate::onEntry(), cl_nav2z::CbWaitNav2Nodes::onEntry(), cl_nav2z::CbWaitPose::onEntry(), cl_nav2z::CbWaitTransform::onEntry(), sm_autoware_avp::clients::autoware_client::CbNavigateGlobalPosition::onEntry(), sm_dance_bot::cl_lidar::CbLidarSensor::onEntry(), sm_dance_bot::cl_temperature_sensor::CbConditionTemperatureSensor::onEntry(), sm_dance_bot_strikes_back::cl_lidar::CbLidarSensor::onEntry(), sm_dance_bot_strikes_back::cl_temperature_sensor::CbConditionTemperatureSensor::onEntry(), sm_dance_bot_warehouse::cl_lidar::CbLidarSensor::onEntry(), sm_dance_bot_warehouse::cl_temperature_sensor::CbConditionTemperatureSensor::onEntry(), sm_dance_bot_warehouse_2::cl_lidar::CbLidarSensor::onEntry(), sm_dance_bot_warehouse_2::cl_temperature_sensor::CbConditionTemperatureSensor::onEntry(), sm_dance_bot_warehouse_3::cl_lidar::CbLidarSensor::onEntry(), sm_dance_bot_warehouse_3::cl_nav2zclient::CbPureSpinning::onEntry(), sm_dance_bot_warehouse_3::cl_temperature_sensor::CbConditionTemperatureSensor::onEntry(), smacc2::SmaccClientBehavior::onExit(), cl_nav2z::CbNavigateGlobalPosition::onExit(), cl_nav2z::CbUndoPathBackwards::onExit(), cl_nav2z::CbWaitNav2Nodes::onMessageReceived(), sm_ferrari::cl_subscriber::CbMySubscriberBehavior::onMessageReceived(), sm_pubsub_1::cl_subscriber::CbMySubscriberBehavior::onMessageReceived(), smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onMessageReceived(), cl_move_group_interface::CbMoveEndEffectorTrajectory::onOrthogonalAllocation(), cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >::onOrthogonalAllocation(), postEvent(), cl_keyboard::CbDefaultKeyboardBehavior::postKeyEvent(), cl_nav2z::CbNav2ZClientBehaviorBase::propagateFailureEvent(), cl_nav2z::CbNav2ZClientBehaviorBase::propagateSuccessEvent(), requiresComponent(), runtimeConfigure(), sm_dance_bot::cl_string_publisher::CbStringPublisher::runtimeConfigure(), sm_dance_bot_strikes_back::cl_string_publisher::CbStringPublisher::runtimeConfigure(), sm_dance_bot_warehouse::cl_string_publisher::CbStringPublisher::runtimeConfigure(), sm_dance_bot_warehouse_2::cl_string_publisher::CbStringPublisher::runtimeConfigure(), sm_dance_bot_warehouse_3::cl_string_publisher::CbStringPublisher::runtimeConfigure(), cl_nav2z::CbNavigateForward::setForwardDistance(), cl_nav2z::CbAbsoluteRotate::updateTemporalBehaviorParameters(), smacc2::SmaccAsyncClientBehavior::waitFutureIfNotFinished(), and ~ISmaccClientBehavior().
std::string smacc2::ISmaccClientBehavior::getName | ( | ) | const |
Definition at line 36 of file smacc_client_behavior_base.cpp.
References smacc2::introspection::demangleSymbol().
Referenced by cl_move_group_interface::CbCircularPivotMotion::computeCurrentEndEffectorPoseRelativeToPivot(), cl_move_group_interface::CbMoveEndEffectorTrajectory::computeJointSpaceTrajectory(), smacc2::SmaccAsyncClientBehavior::dispose(), cl_move_group_interface::CbMoveEndEffectorTrajectory::executeJointSpaceTrajectory(), executeOnEntry(), smacc2::SmaccAsyncClientBehavior::executeOnEntry(), executeOnExit(), smacc2::SmaccAsyncClientBehavior::executeOnExit(), cl_move_group_interface::CbCircularPivotMotion::generateTrajectory(), cl_move_group_interface::CbMoveCartesianRelative2::generateTrajectory(), cl_move_group_interface::CbCircularPouringMotion::generateTrajectory(), cl_move_group_interface::CbMoveEndEffectorTrajectory::initializeROS(), cl_move_group_interface::CbMoveKnownState::loadJointStatesFromFile(), cl_move_group_interface::CbMoveJoints::moveJoints(), smacc2::client_behaviors::CbServiceCall< ServiceType >::onEntry(), smacc2::client_behaviors::CbWaitNode::onEntry(), smacc2::SmaccClientBehavior::onEntry(), cl_move_group_interface::CbAttachObject::onEntry(), cl_move_group_interface::CbDetachObject::onEntry(), cl_move_group_interface::CbEndEffectorRotate::onEntry(), cl_move_group_interface::CbMoveEndEffectorTrajectory::onEntry(), cl_move_group_interface::CbMoveLastTrajectoryInitialState::onEntry(), cl_move_group_interface::CbUndoLastTrajectory::onEntry(), cl_nav2z::CbAbsoluteRotate::onEntry(), cl_nav2z::CbNavigateForward::onEntry(), cl_nav2z::CbNavigateGlobalPosition::onEntry(), cl_nav2z::CbRotate::onEntry(), sm_dance_bot_warehouse_3::cl_nav2zclient::CbPureSpinning::onEntry(), smacc2::SmaccClientBehavior::onExit(), cl_nav2z::CbUndoPathBackwards::onExit(), cl_move_group_interface::CbMoveEndEffectorTrajectory::onOrthogonalAllocation(), runtimeConfigure(), and cl_nav2z::CbNavigateForward::setForwardDistance().
|
protectedvirtual |
Definition at line 38 of file smacc_client_behavior_base.cpp.
References smacc2::ISmaccStateMachine::getNode(), and stateMachine_.
Referenced by cl_move_group_interface::CbCircularPivotMotion::computeCurrentEndEffectorPoseRelativeToPivot(), cl_move_group_interface::CbMoveEndEffectorTrajectory::createMarkers(), cl_move_group_interface::CbCircularPivotMotion::createMarkers(), cl_move_group_interface::CbCircularPouringMotion::createMarkers(), cl_nav2z::CbNavigateGlobalPosition::execute(), cl_move_group_interface::CbMoveCartesianRelative2::generateTrajectory(), cl_move_group_interface::CbCircularPouringMotion::generateTrajectory(), cl_move_group_interface::CbMoveEndEffectorTrajectory::getCurrentEndEffectorPose(), getLogger(), cl_move_group_interface::CbMoveEndEffectorTrajectory::initializeROS(), smacc2::client_behaviors::CbServiceCall< ServiceType >::onEntry(), smacc2::client_behaviors::CbWaitNode::onEntry(), smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onEntry(), cl_move_group_interface::CbAttachObject::onEntry(), cl_move_group_interface::CbEndEffectorRotate::onEntry(), cl_move_group_interface::CbMoveCartesianRelative::onEntry(), cl_move_group_interface::CbMoveEndEffector::onEntry(), cl_move_group_interface::CbMoveEndEffectorRelative::onEntry(), cl_move_group_interface::CbMoveJoints::onEntry(), cl_nav2z::CbAbsoluteRotate::onEntry(), cl_nav2z::CbNavigateBackwards::onEntry(), cl_nav2z::CbNavigateForward::onEntry(), cl_nav2z::CbRotate::onEntry(), cl_nav2z::CbUndoPathBackwards::onEntry(), cl_nav2z::CbWaitNav2Nodes::onEntry(), cl_nav2z::CbWaitTransform::onEntry(), sm_autoware_avp::clients::autoware_client::CbNavigateGlobalPosition::onEntry(), sm_autoware_avp::clients::autoware_client::CbSetupInitialPoseEstimation::onEntry(), sm_dance_bot_warehouse_3::cl_nav2zclient::CbPureSpinning::onEntry(), cl_move_group_interface::CbMoveEndEffectorTrajectory::onExit(), cl_nav2z::CbAbsoluteRotate::updateTemporalBehaviorParameters(), and smacc2::SmaccAsyncClientBehavior::waitFutureIfNotFinished().
|
inline |
Definition at line 61 of file smacc_client_behavior_impl.hpp.
References stateMachine_.
Referenced by cl_nav2z::CbNavigateGlobalPosition::execute(), smacc2::SmaccAsyncClientBehavior::onFailure(), smacc2::SmaccAsyncClientBehavior::onFinished(), smacc2::SmaccAsyncClientBehavior::onSuccess(), cl_ros_timer::CbTimerCountdownLoop::onTimerTick(), and cl_ros_timer::CbTimerCountdownOnce::onTimerTick().
|
inlineprotectedvirtual |
Reimplemented in cl_keyboard::CbDefaultKeyboardBehavior, sm_advanced_recovery_1::cl_subscriber::CbDefaultSubscriberBehavior, sm_advanced_recovery_1::cl_subscriber::CbWatchdogSubscriberBehavior, sm_dance_bot::cl_string_publisher::CbStringPublisher, sm_dance_bot_strikes_back::cl_string_publisher::CbStringPublisher, sm_dance_bot_warehouse::cl_string_publisher::CbStringPublisher, sm_dance_bot_warehouse_2::cl_string_publisher::CbStringPublisher, sm_dance_bot_warehouse_3::cl_string_publisher::CbStringPublisher, sm_ferrari::cl_subscriber::CbMySubscriberBehavior, sm_multi_stage_1::cl_subscriber::CbDefaultSubscriberBehavior, sm_multi_stage_1::cl_subscriber::CbWatchdogSubscriberBehavior, sm_pubsub_1::cl_subscriber::CbMySubscriberBehavior, sm_respira_1::cl_subscriber::CbDefaultSubscriberBehavior, sm_respira_1::cl_subscriber::CbWatchdogSubscriberBehavior, sm_three_some::cl_subscriber::CbDefaultSubscriberBehavior, sm_three_some::cl_subscriber::CbWatchdogSubscriberBehavior, smacc2::client_behaviors::CbServiceCall< ServiceType >, smacc2::client_behaviors::CbServiceCall< slam_toolbox::srv::Pause >, smacc2::client_behaviors::CbRosLaunch, smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >, smacc2::client_behaviors::CbWaitActionServer, smacc2::client_behaviors::CbWaitNode, smacc2::client_behaviors::CbWaitTopicMessage< TMessage >, smacc2::SmaccClientBehavior, cl_move_group_interface::CbAttachObject, cl_move_group_interface::CbDetachObject, cl_move_group_interface::CbEndEffectorRotate, cl_move_group_interface::CbExecuteLastTrajectory, cl_move_group_interface::CbMoveCartesianRelative, cl_move_group_interface::CbMoveEndEffector, cl_move_group_interface::CbMoveEndEffectorRelative, cl_move_group_interface::CbMoveEndEffectorTrajectory, cl_move_group_interface::CbMoveJoints, cl_move_group_interface::CbMoveKnownState, cl_move_group_interface::CbMoveLastTrajectoryInitialState, cl_move_group_interface::CbMoveNamedTarget, cl_move_group_interface::CbUndoLastTrajectory, cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >, cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClLidarSensor >, cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClTemperatureSensor >, cl_nav2z::CbAbsoluteRotate, cl_nav2z::CbNavigateBackwards, cl_nav2z::CbNavigateForward, cl_nav2z::CbNavigateGlobalPosition, cl_nav2z::CbNavigateNextWaypoint, cl_nav2z::CbPauseSlam, cl_nav2z::CbResumeSlam, cl_nav2z::CbRotate, cl_nav2z::CbUndoPathBackwards, cl_nav2z::CbWaitNav2Nodes, cl_nav2z::CbWaitPose, cl_nav2z::CbWaitTransform, cl_ros_publisher::CbDefaultPublishLoop, cl_ros_publisher::CbMutedBehavior< RosMsgType >, cl_ros_publisher::CbPublishOnce< RosMsgType >, cl_ros_timer::CbTimer, cl_ros_timer::CbTimer, cl_ros_timer::CbTimerCountdownLoop, cl_ros_timer::CbTimerCountdownLoop, cl_ros_timer::CbTimerCountdownOnce, cl_ros_timer::CbTimerCountdownOnce, cl_ros_timer::CbTimer, cl_ros_timer::CbTimerCountdownLoop, cl_ros_timer::CbTimerCountdownOnce, sm_autoware_avp::clients::autoware_client::CbNavigateGlobalPosition, sm_autoware_avp::clients::autoware_client::CbSetupInitialPoseEstimation, sm_dance_bot::cl_led::CbLEDOff, sm_dance_bot::cl_led::CbLEDOn, sm_dance_bot::cl_lidar::CbLidarSensor, sm_dance_bot::cl_service3::CbService3, sm_dance_bot::cl_temperature_sensor::CbConditionTemperatureSensor, sm_dance_bot_strikes_back::cl_led::CbLEDOff, sm_dance_bot_strikes_back::cl_led::CbLEDOn, sm_dance_bot_strikes_back::cl_lidar::CbLidarSensor, sm_dance_bot_strikes_back::cl_service3::CbService3, sm_dance_bot_strikes_back::cl_temperature_sensor::CbConditionTemperatureSensor, sm_dance_bot_warehouse::cl_led::CbLEDOff, sm_dance_bot_warehouse::cl_led::CbLEDOn, sm_dance_bot_warehouse::cl_lidar::CbLidarSensor, sm_dance_bot_warehouse::cl_service3::CbService3, sm_dance_bot_warehouse::cl_temperature_sensor::CbConditionTemperatureSensor, sm_dance_bot_warehouse_2::cl_led::CbLEDOff, sm_dance_bot_warehouse_2::cl_led::CbLEDOn, sm_dance_bot_warehouse_2::cl_lidar::CbLidarSensor, sm_dance_bot_warehouse_2::cl_service3::CbService3, sm_dance_bot_warehouse_2::cl_temperature_sensor::CbConditionTemperatureSensor, sm_dance_bot_warehouse_3::cl_led::CbLEDOff, sm_dance_bot_warehouse_3::cl_led::CbLEDOn, sm_dance_bot_warehouse_3::cl_lidar::CbLidarSensor, sm_dance_bot_warehouse_3::cl_nav2zclient::CbPureSpinning, sm_dance_bot_warehouse_3::cl_service3::CbService3, sm_dance_bot_warehouse_3::cl_temperature_sensor::CbConditionTemperatureSensor, sm_husky_barrel_search_1::cl_led_array::CbLEDOff, and sm_husky_barrel_search_1::cl_led_array::CbLEDOn.
Definition at line 49 of file smacc_client_behavior_base.hpp.
Referenced by executeOnEntry(), and smacc2::SmaccAsyncClientBehavior::executeOnEntry().
|
inlineprotectedvirtual |
Reimplemented in cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >, cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClLidarSensor >, cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClTemperatureSensor >, smacc2::SmaccClientBehavior, cl_move_group_interface::CbAttachObject, cl_move_group_interface::CbDetachObject, cl_move_group_interface::CbMoveCartesianRelative, cl_move_group_interface::CbMoveEndEffectorRelative, cl_move_group_interface::CbMoveEndEffectorTrajectory, cl_move_group_interface::CbMoveJoints, cl_move_group_interface::CbMoveNamedTarget, cl_nav2z::CbAbsoluteRotate, cl_nav2z::CbNavigateBackwards, cl_nav2z::CbNavigateForward, cl_nav2z::CbNavigateGlobalPosition, cl_nav2z::CbNavigateNextWaypoint, cl_nav2z::CbUndoPathBackwards, cl_ros_publisher::CbDefaultPublishLoop, cl_ros_publisher::CbMutedBehavior< RosMsgType >, cl_ros_publisher::CbPublishOnce< RosMsgType >, cl_ros_timer::CbTimer, cl_ros_timer::CbTimerCountdownLoop, cl_ros_timer::CbTimerCountdownOnce, sm_autoware_avp::clients::autoware_client::CbNavigateGlobalPosition, sm_autoware_avp::clients::autoware_client::CbSetupInitialPoseEstimation, sm_dance_bot::cl_led::CbLEDOff, sm_dance_bot::cl_led::CbLEDOn, sm_dance_bot::cl_string_publisher::CbStringPublisher, sm_dance_bot_strikes_back::cl_led::CbLEDOff, sm_dance_bot_strikes_back::cl_led::CbLEDOn, sm_dance_bot_strikes_back::cl_string_publisher::CbStringPublisher, sm_dance_bot_warehouse::cl_led::CbLEDOff, sm_dance_bot_warehouse::cl_led::CbLEDOn, sm_dance_bot_warehouse::cl_string_publisher::CbStringPublisher, sm_dance_bot_warehouse_2::cl_led::CbLEDOff, sm_dance_bot_warehouse_2::cl_led::CbLEDOn, sm_dance_bot_warehouse_2::cl_string_publisher::CbStringPublisher, sm_dance_bot_warehouse_3::cl_led::CbLEDOff, sm_dance_bot_warehouse_3::cl_led::CbLEDOn, sm_dance_bot_warehouse_3::cl_nav2zclient::CbPureSpinning, sm_dance_bot_warehouse_3::cl_string_publisher::CbStringPublisher, sm_husky_barrel_search_1::cl_led_array::CbLEDOff, and sm_husky_barrel_search_1::cl_led_array::CbLEDOn.
Definition at line 51 of file smacc_client_behavior_base.hpp.
Referenced by executeOnExit(), and smacc2::SmaccAsyncClientBehavior::executeOnExit().
|
private |
Definition at line 89 of file smacc_client_behavior_impl.hpp.
|
protected |
Definition at line 45 of file smacc_client_behavior_impl.hpp.
References smacc2::CURRENT_STATE, getLogger(), and stateMachine_.
Referenced by sm_dance_bot::cl_temperature_sensor::CbConditionTemperatureSensor::onMessageCallback(), sm_dance_bot_strikes_back::cl_temperature_sensor::CbConditionTemperatureSensor::onMessageCallback(), sm_dance_bot_warehouse::cl_temperature_sensor::CbConditionTemperatureSensor::onMessageCallback(), sm_dance_bot_warehouse_2::cl_temperature_sensor::CbConditionTemperatureSensor::onMessageCallback(), sm_dance_bot_warehouse_3::cl_temperature_sensor::CbConditionTemperatureSensor::onMessageCallback(), cl_move_group_interface::CbMoveEndEffectorTrajectory::onOrthogonalAllocation(), and cl_keyboard::CbDefaultKeyboardBehavior::postKeyEvent().
|
protected |
Definition at line 29 of file smacc_client_behavior_impl.hpp.
References smacc2::CURRENT_STATE, getLogger(), smacc2::ISmaccStateMachine::postEvent(), and stateMachine_.
void smacc2::ISmaccClientBehavior::requiresClient | ( | SmaccClientType *& | storage | ) |
Definition at line 67 of file smacc_client_behavior_impl.hpp.
References currentOrthogonal, and smacc2::ISmaccOrthogonal::requiresClient().
Referenced by cl_keyboard::CbDefaultKeyboardBehavior::onEntry(), sm_dance_bot::cl_string_publisher::CbStringPublisher::onEntry(), sm_dance_bot_strikes_back::cl_string_publisher::CbStringPublisher::onEntry(), sm_dance_bot_warehouse::cl_string_publisher::CbStringPublisher::onEntry(), sm_dance_bot_warehouse_2::cl_string_publisher::CbStringPublisher::onEntry(), sm_dance_bot_warehouse_3::cl_string_publisher::CbStringPublisher::onEntry(), sm_ferrari::cl_subscriber::CbMySubscriberBehavior::onEntry(), sm_pubsub_1::cl_subscriber::CbMySubscriberBehavior::onEntry(), smacc2::client_behaviors::CbRosLaunch::onEntry(), smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >::onEntry(), cl_move_group_interface::CbAttachObject::onEntry(), cl_move_group_interface::CbDetachObject::onEntry(), cl_move_group_interface::CbEndEffectorRotate::onEntry(), cl_move_group_interface::CbExecuteLastTrajectory::onEntry(), cl_move_group_interface::CbMoveCartesianRelative::onEntry(), cl_move_group_interface::CbMoveEndEffector::onEntry(), cl_move_group_interface::CbMoveEndEffectorRelative::onEntry(), cl_move_group_interface::CbMoveEndEffectorTrajectory::onEntry(), cl_move_group_interface::CbMoveJoints::onEntry(), cl_move_group_interface::CbMoveNamedTarget::onEntry(), cl_move_group_interface::CbUndoLastTrajectory::onEntry(), cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >::onEntry(), cl_nav2z::CbRotate::onEntry(), cl_ros_publisher::CbDefaultPublishLoop::onEntry(), cl_ros_publisher::CbPublishOnce< RosMsgType >::onEntry(), cl_ros_timer::CbTimer::onEntry(), cl_ros_timer::CbTimerCountdownLoop::onEntry(), cl_ros_timer::CbTimerCountdownOnce::onEntry(), sm_autoware_avp::clients::autoware_client::CbNavigateGlobalPosition::onEntry(), sm_autoware_avp::clients::autoware_client::CbSetupInitialPoseEstimation::onEntry(), sm_dance_bot::cl_led::CbLEDOff::onEntry(), sm_dance_bot::cl_led::CbLEDOn::onEntry(), sm_dance_bot::cl_service3::CbService3::onEntry(), sm_dance_bot_strikes_back::cl_led::CbLEDOff::onEntry(), sm_dance_bot_strikes_back::cl_led::CbLEDOn::onEntry(), sm_dance_bot_strikes_back::cl_service3::CbService3::onEntry(), sm_dance_bot_warehouse::cl_led::CbLEDOff::onEntry(), sm_dance_bot_warehouse::cl_led::CbLEDOn::onEntry(), sm_dance_bot_warehouse::cl_service3::CbService3::onEntry(), sm_dance_bot_warehouse_2::cl_led::CbLEDOff::onEntry(), sm_dance_bot_warehouse_2::cl_led::CbLEDOn::onEntry(), sm_dance_bot_warehouse_2::cl_service3::CbService3::onEntry(), sm_dance_bot_warehouse_3::cl_led::CbLEDOff::onEntry(), sm_dance_bot_warehouse_3::cl_led::CbLEDOn::onEntry(), sm_dance_bot_warehouse_3::cl_service3::CbService3::onEntry(), sm_husky_barrel_search_1::cl_led_array::CbLEDOff::onEntry(), sm_husky_barrel_search_1::cl_led_array::CbLEDOn::onEntry(), smacc2::client_behaviors::CbWaitActionServer::onOrthogonalAllocation(), cl_nav2z::CbNav2ZClientBehaviorBase::onOrthogonalAllocation(), and cl_nav2z::CbWaitPose::onOrthogonalAllocation().
void smacc2::ISmaccClientBehavior::requiresComponent | ( | SmaccComponentType *& | storage | ) |
Definition at line 73 of file smacc_client_behavior_impl.hpp.
References getLogger(), smacc2::ISmaccStateMachine::requiresComponent(), and stateMachine_.
Referenced by cl_move_group_interface::CbAttachObject::onEntry(), cl_move_group_interface::CbDetachObject::onEntry(), cl_move_group_interface::CbExecuteLastTrajectory::onEntry(), cl_move_group_interface::CbMoveEndEffectorTrajectory::onEntry(), cl_move_group_interface::CbMoveLastTrajectoryInitialState::onEntry(), cl_move_group_interface::CbUndoLastTrajectory::onEntry(), cl_nav2z::CbPauseSlam::onEntry(), cl_nav2z::CbResumeSlam::onEntry(), and sm_dance_bot_warehouse_3::cl_nav2zclient::CbPureSpinning::onEntry().
|
protectedvirtual |
Reimplemented in sm_dance_bot::cl_string_publisher::CbStringPublisher, sm_dance_bot_strikes_back::cl_string_publisher::CbStringPublisher, sm_dance_bot_warehouse::cl_string_publisher::CbStringPublisher, sm_dance_bot_warehouse_2::cl_string_publisher::CbStringPublisher, and sm_dance_bot_warehouse_3::cl_string_publisher::CbStringPublisher.
Definition at line 53 of file smacc_client_behavior_base.cpp.
References getLogger(), and getName().
|
friend |
Definition at line 86 of file smacc_client_behavior_base.hpp.
|
friend |
Definition at line 85 of file smacc_client_behavior_base.hpp.
|
friend |
Definition at line 84 of file smacc_client_behavior_base.hpp.
|
private |
Definition at line 82 of file smacc_client_behavior_base.hpp.
Referenced by requiresClient().
|
private |
Definition at line 81 of file smacc_client_behavior_base.hpp.
Referenced by cl_move_group_interface::CbMoveEndEffectorTrajectory::computeJointSpaceTrajectory(), getCurrentState(), ISmaccClientBehavior(), cl_nav2z::CbPauseSlam::onEntry(), and cl_nav2z::CbResumeSlam::onEntry().
|
private |
Definition at line 78 of file smacc_client_behavior_base.hpp.
Referenced by getNode(), getStateMachine(), ISmaccClientBehavior(), postEvent(), and requiresComponent().