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, bool throwExceptionIfNotExist=false) |
virtual void | onEntry () |
virtual void | onExit () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
Protected Member Functions | |
virtual void | runtimeConfigure () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
Private Member Functions | |
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(), and getName().
|
protectedvirtual |
Reimplemented in smacc2::SmaccAsyncClientBehavior.
Definition at line 77 of file smacc_client_behavior_base.cpp.
|
virtual |
Reimplemented in smacc2::SmaccAsyncClientBehavior.
Definition at line 63 of file smacc_client_behavior_base.cpp.
References getLogger(), getName(), and onEntry().
|
virtual |
Reimplemented in smacc2::SmaccAsyncClientBehavior.
Definition at line 70 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(), cl_nav2z::CbRotate::onEntry(), cl_nitrosz::CbAbsoluteRotate::onEntry(), cl_nitrosz::CbNavigateForward::onEntry(), cl_nitrosz::CbNavigateGlobalPosition::onEntry(), cl_nitrosz::CbRotate::onEntry(), and smacc2::client_behaviors::CbSequence::then().
|
protectedvirtual |
Definition at line 43 of file smacc_client_behavior_base.cpp.
References getNode().
Referenced by cl_nav2z::CbNavigateBackwards::CbNavigateBackwards(), cl_nitrosz::CbNavigateBackwards::CbNavigateBackwards(), cl_moveit2z::CbCircularPivotMotion::computeCurrentEndEffectorPoseRelativeToPivot(), cl_moveit2z::CbMoveEndEffectorTrajectory::computeJointSpaceTrajectory(), smacc2::SmaccAsyncClientBehavior::dispose(), cl_nav2z::CbNavigateGlobalPosition::execute(), cl_nitrosz::CbNavigateGlobalPosition::execute(), cl_moveit2z::CbMoveEndEffectorTrajectory::executeJointSpaceTrajectory(), executeOnEntry(), smacc2::SmaccAsyncClientBehavior::executeOnEntry(), executeOnExit(), smacc2::SmaccAsyncClientBehavior::executeOnExit(), cl_moveit2z::CbCircularPivotMotion::generateTrajectory(), cl_moveit2z::CbMoveCartesianRelative2::generateTrajectory(), cl_moveit2z::CbCircularPouringMotion::generateTrajectory(), cl_moveit2z::CbMoveEndEffectorTrajectory::initializeROS(), cl_nav2z::CbNav2ZClientBehaviorBase::isOwnActionResponse(), cl_nitrosz::CbNav2ZClientBehaviorBase::isOwnActionResponse(), cl_moveit2z::CbMoveKnownState::loadJointStatesFromFile(), cl_moveit2z::CbMoveJoints::moveJoints(), cl_moveit2z::CbMoveEndEffectorRelative::moveRelative(), cl_moveit2z::CbMoveCartesianRelative::moveRelativeCartesian(), cl_moveit2z::CbMoveEndEffector::moveToAbsolutePose(), smacc2::client_behaviors::CbServiceCall< ServiceType >::onEntry(), smacc2::client_behaviors::CbRosLaunch::onEntry(), smacc2::client_behaviors::CbRosLaunch2::onEntry(), smacc2::client_behaviors::CbSequence::onEntry(), smacc2::client_behaviors::CbWaitActionServer::onEntry(), smacc2::client_behaviors::CbWaitNode::onEntry(), smacc2::client_behaviors::CbWaitTopic::onEntry(), smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onEntry(), smacc2::SmaccClientBehavior::onEntry(), cl_moveit2z::CbAttachObject::onEntry(), cl_moveit2z::CbDetachObject::onEntry(), cl_moveit2z::CbEndEffectorRotate::onEntry(), cl_moveit2z::CbMoveEndEffector::onEntry(), cl_moveit2z::CbMoveEndEffectorRelative::onEntry(), cl_moveit2z::CbMoveEndEffectorTrajectory::onEntry(), cl_moveit2z::CbMoveLastTrajectoryInitialState::onEntry(), cl_moveit2z::CbUndoLastTrajectory::onEntry(), cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >::onEntry(), cl_nav2z::CbAbsoluteRotate::onEntry(), cl_nav2z::CbActiveStop::onEntry(), cl_nav2z::CbLoadWaypointsFile::onEntry(), cl_nav2z::CbNavigateBackwards::onEntry(), cl_nav2z::CbNavigateForward::onEntry(), cl_nav2z::CbNavigateGlobalPosition::onEntry(), cl_nav2z::CbNavigateNextWaypoint::onEntry(), cl_nav2z::CbNavigateNextWaypointFree::onEntry(), cl_nav2z::CbPauseSlam::onEntry(), cl_nav2z::CbPositionControlFreeSpace::onEntry(), cl_nav2z::CbPureSpinning::onEntry(), cl_nav2z::CbResumeSlam::onEntry(), cl_nav2z::CbRotate::onEntry(), cl_nav2z::CbUndoPathBackwards::onEntry(), cl_nav2z::CbWaitNav2Nodes::onEntry(), cl_nav2z::CbWaitPose::onEntry(), cl_nav2z::CbWaitTransform::onEntry(), cl_nitrosz::CbAbsoluteRotate::onEntry(), cl_nitrosz::CbActiveStop::onEntry(), cl_nitrosz::CbLoadWaypointsFile::onEntry(), cl_nitrosz::CbNavigateBackwards::onEntry(), cl_nitrosz::CbNavigateForward::onEntry(), cl_nitrosz::CbNavigateGlobalPosition::onEntry(), cl_nitrosz::CbNavigateNextWaypoint::onEntry(), cl_nitrosz::CbNavigateNextWaypointFree::onEntry(), cl_nitrosz::CbPauseSlam::onEntry(), cl_nitrosz::CbPositionControlFreeSpace::onEntry(), cl_nitrosz::CbPureSpinning::onEntry(), cl_nitrosz::CbResumeSlam::onEntry(), cl_nitrosz::CbRotate::onEntry(), cl_nitrosz::CbUndoPathBackwards::onEntry(), cl_nitrosz::CbWaitNav2Nodes::onEntry(), cl_nitrosz::CbWaitPose::onEntry(), cl_nitrosz::CbWaitTransform::onEntry(), smacc2::SmaccClientBehavior::onExit(), cl_nav2z::CbNavigateGlobalPosition::onExit(), cl_nav2z::CbUndoPathBackwards::onExit(), cl_nitrosz::CbNavigateGlobalPosition::onExit(), cl_nitrosz::CbUndoPathBackwards::onExit(), cl_nav2z::CbWaitNav2Nodes::onMessageReceived(), cl_nitrosz::CbWaitNav2Nodes::onMessageReceived(), smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onMessageReceived(), cl_nav2z::CbNav2ZClientBehaviorBase::onNavigationActionAbort(), cl_nitrosz::CbNav2ZClientBehaviorBase::onNavigationActionAbort(), cl_nav2z::CbNav2ZClientBehaviorBase::onNavigationActionSuccess(), cl_nav2z::CbNavigateNextWaypointUntilReached::onNavigationActionSuccess(), cl_nitrosz::CbNav2ZClientBehaviorBase::onNavigationActionSuccess(), cl_nitrosz::CbNavigateNextWaypointUntilReached::onNavigationActionSuccess(), cl_nav2z::CbNav2ZClientBehaviorBase::onNavigationResult(), cl_nitrosz::CbNav2ZClientBehaviorBase::onNavigationResult(), cl_lifecyclenode::CbConfigure::onOrthogonalAllocation(), cl_moveit2z::CbMoveEndEffectorTrajectory::onOrthogonalAllocation(), cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >::onOrthogonalAllocation(), smacc2::client_behaviors::CbServiceCall< ServiceType >::onServiceResponse(), smacc2::client_behaviors::CbSequence::onSubNodeAbort(), smacc2::client_behaviors::CbSequence::onSubNodeSuccess(), cl_nav2z::CbNavigateNextWaypointFree::onSucessCallback(), cl_nitrosz::CbNavigateNextWaypointFree::onSucessCallback(), postEvent(), postEvent(), cl_keyboard::CbDefaultKeyboardBehavior::postKeyEvent(), smacc2::client_behaviors::CbSequence::recursiveConsumeNext(), smacc2::SmaccAsyncClientBehavior::requestForceFinish(), requiresComponent(), runtimeConfigure(), cl_nav2z::CbNav2ZClientBehaviorBase::sendGoal(), cl_nitrosz::CbNav2ZClientBehaviorBase::sendGoal(), cl_nav2z::CbNavigateForward::setForwardDistance(), cl_nitrosz::CbNavigateForward::setForwardDistance(), smacc2::client_behaviors::CbSequence::then(), cl_nav2z::CbAbsoluteRotate::updateTemporalBehaviorParameters(), cl_nitrosz::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_moveit2z::CbCircularPivotMotion::computeCurrentEndEffectorPoseRelativeToPivot(), cl_moveit2z::CbMoveEndEffectorTrajectory::computeJointSpaceTrajectory(), smacc2::SmaccAsyncClientBehavior::dispose(), cl_moveit2z::CbMoveEndEffectorTrajectory::executeJointSpaceTrajectory(), executeOnEntry(), smacc2::SmaccAsyncClientBehavior::executeOnEntry(), executeOnExit(), smacc2::SmaccAsyncClientBehavior::executeOnExit(), cl_moveit2z::CbCircularPivotMotion::generateTrajectory(), cl_moveit2z::CbMoveCartesianRelative2::generateTrajectory(), cl_moveit2z::CbCircularPouringMotion::generateTrajectory(), cl_moveit2z::CbMoveEndEffectorTrajectory::initializeROS(), cl_nav2z::CbNav2ZClientBehaviorBase::isOwnActionResponse(), cl_nitrosz::CbNav2ZClientBehaviorBase::isOwnActionResponse(), cl_moveit2z::CbMoveKnownState::loadJointStatesFromFile(), cl_moveit2z::CbMoveJoints::moveJoints(), smacc2::client_behaviors::CbServiceCall< ServiceType >::onEntry(), smacc2::client_behaviors::CbWaitNode::onEntry(), smacc2::client_behaviors::CbWaitTopic::onEntry(), smacc2::SmaccClientBehavior::onEntry(), cl_moveit2z::CbAttachObject::onEntry(), cl_moveit2z::CbDetachObject::onEntry(), cl_moveit2z::CbEndEffectorRotate::onEntry(), cl_moveit2z::CbMoveEndEffectorTrajectory::onEntry(), cl_moveit2z::CbMoveLastTrajectoryInitialState::onEntry(), cl_moveit2z::CbUndoLastTrajectory::onEntry(), cl_nav2z::CbAbsoluteRotate::onEntry(), cl_nav2z::CbActiveStop::onEntry(), cl_nav2z::CbNavigateForward::onEntry(), cl_nav2z::CbNavigateGlobalPosition::onEntry(), cl_nav2z::CbPositionControlFreeSpace::onEntry(), cl_nav2z::CbPureSpinning::onEntry(), cl_nav2z::CbRotate::onEntry(), cl_nav2z::CbUndoPathBackwards::onEntry(), cl_nitrosz::CbAbsoluteRotate::onEntry(), cl_nitrosz::CbActiveStop::onEntry(), cl_nitrosz::CbNavigateForward::onEntry(), cl_nitrosz::CbNavigateGlobalPosition::onEntry(), cl_nitrosz::CbPositionControlFreeSpace::onEntry(), cl_nitrosz::CbPureSpinning::onEntry(), cl_nitrosz::CbRotate::onEntry(), cl_nitrosz::CbUndoPathBackwards::onEntry(), smacc2::SmaccClientBehavior::onExit(), cl_nav2z::CbUndoPathBackwards::onExit(), cl_nitrosz::CbUndoPathBackwards::onExit(), cl_nav2z::CbNav2ZClientBehaviorBase::onNavigationActionAbort(), cl_nitrosz::CbNav2ZClientBehaviorBase::onNavigationActionAbort(), cl_nav2z::CbNav2ZClientBehaviorBase::onNavigationActionSuccess(), cl_nav2z::CbNavigateNextWaypointUntilReached::onNavigationActionSuccess(), cl_nitrosz::CbNav2ZClientBehaviorBase::onNavigationActionSuccess(), cl_nitrosz::CbNavigateNextWaypointUntilReached::onNavigationActionSuccess(), cl_nav2z::CbNav2ZClientBehaviorBase::onNavigationResult(), cl_nitrosz::CbNav2ZClientBehaviorBase::onNavigationResult(), cl_moveit2z::CbMoveEndEffectorTrajectory::onOrthogonalAllocation(), smacc2::client_behaviors::CbServiceCall< ServiceType >::onServiceResponse(), smacc2::SmaccAsyncClientBehavior::requestForceFinish(), runtimeConfigure(), cl_nav2z::CbNav2ZClientBehaviorBase::sendGoal(), cl_nitrosz::CbNav2ZClientBehaviorBase::sendGoal(), cl_nav2z::CbNavigateForward::setForwardDistance(), cl_nitrosz::CbNavigateForward::setForwardDistance(), cl_nav2z::CbAbsoluteRotate::updateTemporalBehaviorParameters(), cl_nitrosz::CbAbsoluteRotate::updateTemporalBehaviorParameters(), smacc2::SmaccAsyncClientBehavior::waitFutureIfNotFinished(), and ~ISmaccClientBehavior().
|
protectedvirtual |
Definition at line 38 of file smacc_client_behavior_base.cpp.
References smacc2::ISmaccStateMachine::getNode(), and stateMachine_.
Referenced by cl_moveit2z::CbCircularPivotMotion::computeCurrentEndEffectorPoseRelativeToPivot(), cl_moveit2z::CbMoveEndEffectorTrajectory::createMarkers(), cl_moveit2z::CbCircularPivotMotion::createMarkers(), cl_moveit2z::CbCircularPouringMotion::createMarkers(), cl_moveit2z::CbMoveCartesianRelative2::generateTrajectory(), cl_moveit2z::CbCircularPouringMotion::generateTrajectory(), cl_moveit2z::CbMoveEndEffectorTrajectory::getCurrentEndEffectorPose(), getLogger(), cl_moveit2z::CbMoveEndEffectorTrajectory::initializeROS(), smacc2::client_behaviors::CbServiceCall< ServiceType >::onEntry(), smacc2::client_behaviors::CbSequence::onEntry(), smacc2::client_behaviors::CbSleepFor::onEntry(), smacc2::client_behaviors::CbWaitActionServer::onEntry(), smacc2::client_behaviors::CbWaitNode::onEntry(), smacc2::client_behaviors::CbWaitTopic::onEntry(), smacc2::client_behaviors::CbWaitTopicMessage< TMessage >::onEntry(), cl_moveit2z::CbAttachObject::onEntry(), cl_moveit2z::CbEndEffectorRotate::onEntry(), cl_moveit2z::CbMoveCartesianRelative::onEntry(), cl_moveit2z::CbMoveEndEffector::onEntry(), cl_moveit2z::CbMoveEndEffectorRelative::onEntry(), cl_moveit2z::CbMoveJoints::onEntry(), cl_nav2z::CbAbsoluteRotate::onEntry(), cl_nav2z::CbActiveStop::onEntry(), cl_nav2z::CbNavigateBackwards::onEntry(), cl_nav2z::CbNavigateForward::onEntry(), cl_nav2z::CbPositionControlFreeSpace::onEntry(), cl_nav2z::CbPureSpinning::onEntry(), cl_nav2z::CbRotate::onEntry(), cl_nav2z::CbUndoPathBackwards::onEntry(), cl_nav2z::CbWaitNav2Nodes::onEntry(), cl_nav2z::CbWaitTransform::onEntry(), cl_nitrosz::CbAbsoluteRotate::onEntry(), cl_nitrosz::CbActiveStop::onEntry(), cl_nitrosz::CbNavigateBackwards::onEntry(), cl_nitrosz::CbNavigateForward::onEntry(), cl_nitrosz::CbPositionControlFreeSpace::onEntry(), cl_nitrosz::CbPureSpinning::onEntry(), cl_nitrosz::CbRotate::onEntry(), cl_nitrosz::CbUndoPathBackwards::onEntry(), cl_nitrosz::CbWaitNav2Nodes::onEntry(), cl_nitrosz::CbWaitTransform::onEntry(), cl_moveit2z::CbMoveEndEffectorTrajectory::onExit(), smacc2::SmaccAsyncClientBehavior::requestForceFinish(), cl_nav2z::CbAbsoluteRotate::updateTemporalBehaviorParameters(), cl_nitrosz::CbAbsoluteRotate::updateTemporalBehaviorParameters(), and smacc2::SmaccAsyncClientBehavior::waitFutureIfNotFinished().
|
inline |
Definition at line 61 of file smacc_client_behavior_impl.hpp.
References stateMachine_.
Referenced by cl_nav2z::CbNavigateNextWaypoint::onEntry(), cl_nitrosz::CbNavigateNextWaypoint::onEntry(), smacc2::SmaccAsyncClientBehavior::onFailure(), smacc2::SmaccAsyncClientBehavior::onFinished(), smacc2::SmaccAsyncClientBehavior::onSuccess(), cl_ros_timer::CbTimerCountdownLoop::onTimerTick(), cl_ros_timer::CbTimerCountdownOnce::onTimerTick(), cl_nav2z::CbNav2ZClientBehaviorBase::sendGoal(), and cl_nitrosz::CbNav2ZClientBehaviorBase::sendGoal().
Reimplemented in cl_keyboard::CbDefaultKeyboardBehavior, smacc2::client_behaviors::CbServiceCall< ServiceType >, smacc2::client_behaviors::CbServiceCall< slam_toolbox::srv::Pause >, smacc2::client_behaviors::CbRosLaunch, smacc2::client_behaviors::CbRosLaunch2, smacc2::client_behaviors::CbRosStop2, smacc2::client_behaviors::CbSequence, smacc2::CbServiceServerCallbackBase< TService >, smacc2::client_behaviors::CbSleepFor, smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >, smacc2::client_behaviors::CbWaitActionServer, smacc2::client_behaviors::CbWaitNode, smacc2::client_behaviors::CbWaitTopic, smacc2::client_behaviors::CbWaitTopicMessage< TMessage >, smacc2::SmaccClientBehavior, cl_http::CbHttpRequestBase, cl_lifecyclenode::CbActivate, cl_lifecyclenode::CbCleanup, cl_lifecyclenode::CbConfigure, cl_lifecyclenode::CbDeactivate, cl_lifecyclenode::CbDestroy, cl_lifecyclenode::CbShutdown, cl_moveit2z::CbAttachObject, cl_moveit2z::CbDetachObject, cl_moveit2z::CbEndEffectorRotate, cl_moveit2z::CbExecuteLastTrajectory, cl_moveit2z::CbMoveCartesianRelative, cl_moveit2z::CbMoveEndEffector, cl_moveit2z::CbMoveEndEffectorRelative, cl_moveit2z::CbMoveEndEffectorTrajectory, cl_moveit2z::CbMoveJoints, cl_moveit2z::CbMoveKnownState, cl_moveit2z::CbMoveLastTrajectoryInitialState, cl_moveit2z::CbMoveNamedTarget, cl_moveit2z::CbUndoLastTrajectory, cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >, cl_nav2z::CbAbortNavigation, cl_nav2z::CbAbsoluteRotate, cl_nav2z::CbActiveStop, cl_nav2z::CbLoadWaypointsFile, cl_nav2z::CbNavigateBackwards, cl_nav2z::CbNavigateForward, cl_nav2z::CbNavigateGlobalPosition, cl_nav2z::CbNavigateNamedWaypoint, cl_nav2z::CbNavigateNextWaypoint, cl_nav2z::CbNavigateNextWaypointFree, cl_nav2z::CbNavigateNextWaypointUntilReached, cl_nav2z::CbPauseSlam, cl_nav2z::CbPositionControlFreeSpace, cl_nav2z::CbPureSpinning, cl_nav2z::CbResumeSlam, cl_nav2z::CbRotate, cl_nav2z::CbRotateLookAt, cl_nav2z::CbSeekWaypoint, cl_nav2z::CbStopNavigation, cl_nav2z::CbUndoPathBackwards, cl_nav2z::CbWaitNav2Nodes, cl_nav2z::CbWaitPose, cl_nav2z::CbWaitTransform, cl_nitrosz::CbAbortNavigation, cl_nitrosz::CbAbsoluteRotate, cl_nitrosz::CbActiveStop, cl_nitrosz::CbLoadWaypointsFile, cl_nitrosz::CbNavigateBackwards, cl_nitrosz::CbNavigateForward, cl_nitrosz::CbNavigateGlobalPosition, cl_nitrosz::CbNavigateNamedWaypoint, cl_nitrosz::CbNavigateNextWaypoint, cl_nitrosz::CbNavigateNextWaypointFree, cl_nitrosz::CbNavigateNextWaypointUntilReached, cl_nitrosz::CbPauseSlam, cl_nitrosz::CbPositionControlFreeSpace, cl_nitrosz::CbPureSpinning, cl_nitrosz::CbResumeSlam, cl_nitrosz::CbRotate, cl_nitrosz::CbRotateLookAt, cl_nitrosz::CbSeekWaypoint, cl_nitrosz::CbStopNavigation, cl_nitrosz::CbUndoPathBackwards, cl_nitrosz::CbWaitNav2Nodes, cl_nitrosz::CbWaitPose, cl_nitrosz::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, and cl_ros_timer::CbTimerCountdownOnce.
Definition at line 46 of file smacc_client_behavior_base.hpp.
Referenced by executeOnEntry(), smacc2::SmaccAsyncClientBehavior::executeOnEntry(), and cl_moveit2z::CbEndEffectorRotate::onEntry().
Reimplemented in cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >, smacc2::client_behaviors::CbSequence, smacc2::client_behaviors::CbSleepFor, smacc2::SmaccClientBehavior, cl_http::CbHttpRequestBase, cl_lifecyclenode::CbDeactivateOnExit, cl_moveit2z::CbAttachObject, cl_moveit2z::CbDetachObject, cl_moveit2z::CbMoveCartesianRelative, cl_moveit2z::CbMoveEndEffectorRelative, cl_moveit2z::CbMoveEndEffectorTrajectory, cl_moveit2z::CbMoveJoints, cl_moveit2z::CbMoveNamedTarget, cl_nav2z::CbAbortNavigation, cl_nav2z::CbAbsoluteRotate, cl_nav2z::CbActiveStop, cl_nav2z::CbLoadWaypointsFile, cl_nav2z::CbNavigateBackwards, cl_nav2z::CbNavigateForward, cl_nav2z::CbNavigateGlobalPosition, cl_nav2z::CbNavigateNamedWaypoint, cl_nav2z::CbNavigateNextWaypoint, cl_nav2z::CbNavigateNextWaypointFree, cl_nav2z::CbNavigateNextWaypointUntilReached, cl_nav2z::CbPositionControlFreeSpace, cl_nav2z::CbPureSpinning, cl_nav2z::CbSaveSlamMap, cl_nav2z::CbSeekWaypoint, cl_nav2z::CbStopNavigation, cl_nav2z::CbUndoPathBackwards, cl_nitrosz::CbAbortNavigation, cl_nitrosz::CbAbsoluteRotate, cl_nitrosz::CbActiveStop, cl_nitrosz::CbLoadWaypointsFile, cl_nitrosz::CbNavigateBackwards, cl_nitrosz::CbNavigateForward, cl_nitrosz::CbNavigateGlobalPosition, cl_nitrosz::CbNavigateNamedWaypoint, cl_nitrosz::CbNavigateNextWaypoint, cl_nitrosz::CbNavigateNextWaypointFree, cl_nitrosz::CbNavigateNextWaypointUntilReached, cl_nitrosz::CbPositionControlFreeSpace, cl_nitrosz::CbPureSpinning, cl_nitrosz::CbSaveSlamMap, cl_nitrosz::CbSeekWaypoint, cl_nitrosz::CbStopNavigation, cl_nitrosz::CbUndoPathBackwards, cl_ros_publisher::CbDefaultPublishLoop, cl_ros_publisher::CbMutedBehavior< RosMsgType >, cl_ros_publisher::CbPublishOnce< RosMsgType >, cl_ros_timer::CbTimer, cl_ros_timer::CbTimerCountdownLoop, and cl_ros_timer::CbTimerCountdownOnce.
Definition at line 48 of file smacc_client_behavior_base.hpp.
Referenced by executeOnExit(), and smacc2::SmaccAsyncClientBehavior::executeOnExit().
|
private |
Definition at line 90 of file smacc_client_behavior_impl.hpp.
Definition at line 45 of file smacc_client_behavior_impl.hpp.
References smacc2::CURRENT_STATE, getLogger(), and stateMachine_.
Referenced by cl_moveit2z::CbMoveEndEffectorTrajectory::onOrthogonalAllocation(), and cl_keyboard::CbDefaultKeyboardBehavior::postKeyEvent().
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(), smacc2::client_behaviors::CbRosLaunch::onEntry(), smacc2::client_behaviors::CbRosLaunch2::onEntry(), smacc2::client_behaviors::CbRosStop2::onEntry(), smacc2::CbServiceServerCallbackBase< TService >::onEntry(), smacc2::client_behaviors::CbSubscriptionCallbackBase< TMsg >::onEntry(), cl_moveit2z::CbAttachObject::onEntry(), cl_moveit2z::CbDetachObject::onEntry(), cl_moveit2z::CbEndEffectorRotate::onEntry(), cl_moveit2z::CbExecuteLastTrajectory::onEntry(), cl_moveit2z::CbMoveCartesianRelative::onEntry(), cl_moveit2z::CbMoveEndEffector::onEntry(), cl_moveit2z::CbMoveEndEffectorRelative::onEntry(), cl_moveit2z::CbMoveEndEffectorTrajectory::onEntry(), cl_moveit2z::CbMoveJoints::onEntry(), cl_moveit2z::CbMoveNamedTarget::onEntry(), cl_moveit2z::CbUndoLastTrajectory::onEntry(), cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >::onEntry(), cl_nav2z::CbRotate::onEntry(), cl_nav2z::CbSeekWaypoint::onEntry(), cl_nitrosz::CbRotate::onEntry(), cl_nitrosz::CbSeekWaypoint::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(), smacc2::client_behaviors::CbWaitActionServer::onOrthogonalAllocation(), cl_lifecyclenode::CbActivate::onOrthogonalAllocation(), cl_lifecyclenode::CbCleanup::onOrthogonalAllocation(), cl_lifecyclenode::CbConfigure::onOrthogonalAllocation(), cl_lifecyclenode::CbDeactivate::onOrthogonalAllocation(), cl_lifecyclenode::CbDeactivateOnExit::onOrthogonalAllocation(), cl_lifecyclenode::CbDestroy::onOrthogonalAllocation(), cl_lifecyclenode::CbShutdown::onOrthogonalAllocation(), cl_nav2z::CbAbortNavigation::onOrthogonalAllocation(), cl_nav2z::CbNav2ZClientBehaviorBase::onOrthogonalAllocation(), cl_nav2z::CbNavigateNextWaypointUntilReached::onOrthogonalAllocation(), cl_nav2z::CbWaitPose::onOrthogonalAllocation(), cl_nitrosz::CbAbortNavigation::onOrthogonalAllocation(), cl_nitrosz::CbNavigateNextWaypointUntilReached::onOrthogonalAllocation(), cl_nitrosz::CbNav2ZClientBehaviorBase::onOrthogonalAllocation(), cl_nitrosz::CbWaitPose::onOrthogonalAllocation(), and cl_http::CbHttpRequestBase::runtimeConfigure().
void smacc2::ISmaccClientBehavior::requiresComponent | ( | SmaccComponentType *& | storage, |
bool | throwExceptionIfNotExist = false |
||
) |
Definition at line 73 of file smacc_client_behavior_impl.hpp.
References getLogger(), smacc2::ISmaccStateMachine::requiresComponent(), and stateMachine_.
Referenced by cl_moveit2z::CbAttachObject::onEntry(), cl_moveit2z::CbDetachObject::onEntry(), cl_moveit2z::CbExecuteLastTrajectory::onEntry(), cl_moveit2z::CbMoveEndEffectorTrajectory::onEntry(), cl_moveit2z::CbMoveLastTrajectoryInitialState::onEntry(), cl_moveit2z::CbUndoLastTrajectory::onEntry(), cl_nav2z::CbLoadWaypointsFile::onEntry(), cl_nav2z::CbNavigateNextWaypointFree::onEntry(), cl_nav2z::CbPauseSlam::onEntry(), cl_nav2z::CbPositionControlFreeSpace::onEntry(), cl_nav2z::CbPureSpinning::onEntry(), cl_nav2z::CbResumeSlam::onEntry(), cl_nav2z::CbRotateLookAt::onEntry(), cl_nav2z::CbStopNavigation::onEntry(), cl_nitrosz::CbLoadWaypointsFile::onEntry(), cl_nitrosz::CbNavigateNextWaypointFree::onEntry(), cl_nitrosz::CbPauseSlam::onEntry(), cl_nitrosz::CbPositionControlFreeSpace::onEntry(), cl_nitrosz::CbPureSpinning::onEntry(), cl_nitrosz::CbResumeSlam::onEntry(), cl_nitrosz::CbRotateLookAt::onEntry(), and cl_nitrosz::CbStopNavigation::onEntry().
|
protectedvirtual |
Reimplemented in cl_http::CbHttpRequestBase.
Definition at line 56 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_moveit2z::CbMoveEndEffectorTrajectory::computeJointSpaceTrajectory(), getCurrentState(), ISmaccClientBehavior(), cl_nav2z::CbPauseSlam::onEntry(), cl_nav2z::CbResumeSlam::onEntry(), cl_nitrosz::CbPauseSlam::onEntry(), and cl_nitrosz::CbResumeSlam::onEntry().
|
private |
Definition at line 78 of file smacc_client_behavior_base.hpp.
Referenced by getNode(), getStateMachine(), ISmaccClientBehavior(), postEvent(), postEvent(), and requiresComponent().