SMACC2
|
#include <component.hpp>
Public Member Functions | |
ISmaccComponent () | |
virtual | ~ISmaccComponent () |
virtual std::string | getName () const |
Protected Attributes | |
ISmaccStateMachine * | stateMachine_ |
ISmaccClient * | owner_ |
Private Member Functions | |
void | initialize (ISmaccClient *owner) |
void | setStateMachine (ISmaccStateMachine *stateMachine) |
Friends | |
class | ISmaccOrthogonal |
class | ISmaccClient |
Definition at line 29 of file component.hpp.
smacc2::ISmaccComponent::ISmaccComponent | ( | ) |
Definition at line 27 of file smacc_component.cpp.
|
virtual |
Definition at line 25 of file smacc_component.cpp.
|
protected |
Definition at line 103 of file smacc_component_impl.hpp.
References smacc2::ISmaccClient::createComponent(), and owner_.
|
protected |
Definition at line 109 of file smacc_component_impl.hpp.
References smacc2::ISmaccClient::createNamedComponent(), and owner_.
|
protected |
Definition at line 44 of file smacc_component.cpp.
References smacc2::ISmaccClient::getLogger(), and owner_.
Referenced by cl_moveit2z::CpGraspingComponent::createGraspableBox(), cl_nav2z::CpCostmapSwitch::disable(), cl_nitrosz::CpCostmapSwitch::disable(), cl_nav2z::CpCostmapSwitch::enable(), cl_nitrosz::CpCostmapSwitch::enable(), cl_moveit2z::CpTrajectoryHistory::getLastTrajectory(), cl_nav2z::CpWaypointNavigatorBase::loadWayPointsFromFile(), cl_nitrosz::CpWaypointNavigatorBase::loadWayPointsFromFile(), cl_nav2z::CpWaypointNavigatorBase::loadWayPointsFromFile2(), cl_nitrosz::CpWaypointNavigatorBase::loadWayPointsFromFile2(), cl_nav2z::CpWaypointNavigatorBase::loadWaypointsFromYamlParameter(), cl_nitrosz::CpWaypointNavigatorBase::loadWaypointsFromYamlParameter(), cl_nav2z::odom_tracker::CpOdomTracker::logStateString(), cl_nitrosz::odom_tracker::CpOdomTracker::logStateString(), cl_nav2z::CpWaypointNavigatorBase::notifyGoalReached(), cl_nitrosz::CpWaypointNavigatorBase::notifyGoalReached(), cl_nav2z::CpWaypointNavigator::onGoalReached(), cl_nitrosz::CpWaypointNavigator::onGoalReached(), smacc2::components::CpTopicSubscriber< MessageType >::onInitialize(), cl_nav2z::CpCostmapSwitch::onInitialize(), cl_nav2z::odom_tracker::CpOdomTracker::onInitialize(), cl_nav2z::Pose::onInitialize(), cl_nitrosz::CpCostmapSwitch::onInitialize(), cl_nitrosz::odom_tracker::CpOdomTracker::onInitialize(), cl_nitrosz::Pose::onInitialize(), cl_nav2z::odom_tracker::CpOdomTracker::popPath(), cl_nitrosz::odom_tracker::CpOdomTracker::popPath(), cl_nav2z::odom_tracker::CpOdomTracker::processOdometryMessage(), cl_nitrosz::odom_tracker::CpOdomTracker::processOdometryMessage(), cl_nav2z::odom_tracker::CpOdomTracker::pushPath(), cl_nitrosz::odom_tracker::CpOdomTracker::pushPath(), cl_moveit2z::CpTrajectoryHistory::pushTrajectory(), cl_nav2z::CpCostmapSwitch::registerProxyFromDynamicReconfigureServer(), cl_nitrosz::CpCostmapSwitch::registerProxyFromDynamicReconfigureServer(), requiresComponent(), requiresComponent(), cl_nav2z::CpWaypointNavigatorBase::seekName(), cl_nitrosz::CpWaypointNavigatorBase::seekName(), cl_nav2z::CpWaypointNavigator::sendNextGoal(), cl_nitrosz::CpWaypointNavigator::sendNextGoal(), cl_nav2z::CpPlannerSwitcher::setBackwardPlanner(), cl_nitrosz::CpPlannerSwitcher::setBackwardPlanner(), cl_nav2z::CpPlannerSwitcher::setForwardPlanner(), cl_nitrosz::CpPlannerSwitcher::setForwardPlanner(), cl_nav2z::CpGoalCheckerSwitcher::setGoalCheckerId(), cl_nitrosz::CpGoalCheckerSwitcher::setGoalCheckerId(), cl_nav2z::CpPlannerSwitcher::setPureSpinningPlanner(), cl_nitrosz::CpPlannerSwitcher::setPureSpinningPlanner(), cl_nav2z::odom_tracker::CpOdomTracker::setStartPoint(), cl_nitrosz::odom_tracker::CpOdomTracker::setStartPoint(), cl_nav2z::odom_tracker::CpOdomTracker::setStartPoint(), cl_nitrosz::odom_tracker::CpOdomTracker::setStartPoint(), cl_nav2z::CpPlannerSwitcher::setUndoPathBackwardPlanner(), cl_nitrosz::CpPlannerSwitcher::setUndoPathBackwardPlanner(), cl_nav2z::odom_tracker::CpOdomTracker::setWorkingMode(), cl_nitrosz::odom_tracker::CpOdomTracker::setWorkingMode(), cl_nav2z::Pose::update(), cl_nitrosz::Pose::update(), cl_nav2z::odom_tracker::CpOdomTracker::updateClearPath(), cl_nitrosz::odom_tracker::CpOdomTracker::updateClearPath(), cl_nav2z::odom_tracker::CpOdomTracker::updateRecordPath(), cl_nitrosz::odom_tracker::CpOdomTracker::updateRecordPath(), cl_nav2z::Pose::waitTransformUpdate(), and cl_nitrosz::Pose::waitTransformUpdate().
|
virtual |
Reimplemented in cl_nav2z::CpAmcl, and cl_nitrosz::CpAmcl.
Definition at line 46 of file smacc_component.cpp.
References smacc2::introspection::demangleSymbol().
Referenced by cl_moveit2z::CpGraspingComponent::createGraspableBox(), cl_moveit2z::CpTrajectoryHistory::getLastTrajectory(), smacc2::components::CpTopicSubscriber< MessageType >::onInitialize(), cl_moveit2z::CpTrajectoryHistory::pushTrajectory(), cl_nav2z::CpWaypointNavigator::sendNextGoal(), and cl_nitrosz::CpWaypointNavigator::sendNextGoal().
|
protected |
Definition at line 42 of file smacc_component.cpp.
References smacc2::ISmaccClient::getNode(), and owner_.
Referenced by cl_nav2z::odom_tracker::CpOdomTracker::clearPath(), cl_nitrosz::odom_tracker::CpOdomTracker::clearPath(), cl_nav2z::CpWaypointsVisualizer::createMarker(), cl_nitrosz::CpWaypointsVisualizer::createMarker(), cl_nav2z::CpWaypointsVisualizer::createMarkerLabel(), cl_nitrosz::CpWaypointsVisualizer::createMarkerLabel(), cl_nav2z::CpWaypointNavigatorBase::loadWaypointsFromYamlParameter(), cl_nitrosz::CpWaypointNavigatorBase::loadWaypointsFromYamlParameter(), smacc2::components::CpTopicSubscriber< MessageType >::onInitialize(), cl_nav2z::CpAmcl::onInitialize(), cl_nav2z::CpGoalCheckerSwitcher::onInitialize(), cl_nav2z::odom_tracker::CpOdomTracker::onInitialize(), cl_nav2z::CpPlannerSwitcher::onInitialize(), cl_nav2z::Pose::onInitialize(), cl_nav2z::CpWaypointsVisualizer::onInitialize(), cl_nitrosz::CpAmcl::onInitialize(), cl_nitrosz::CpGoalCheckerSwitcher::onInitialize(), cl_nitrosz::odom_tracker::CpOdomTracker::onInitialize(), cl_nitrosz::CpPlannerSwitcher::onInitialize(), cl_nitrosz::Pose::onInitialize(), cl_nitrosz::CpWaypointsVisualizer::onInitialize(), cl_nav2z::odom_tracker::CpOdomTracker::processOdometryMessage(), cl_nitrosz::odom_tracker::CpOdomTracker::processOdometryMessage(), cl_nav2z::CpCostmapSwitch::registerProxyFromDynamicReconfigureServer(), cl_nitrosz::CpCostmapSwitch::registerProxyFromDynamicReconfigureServer(), cl_nav2z::odom_tracker::CpOdomTracker::setStartPoint(), cl_nitrosz::odom_tracker::CpOdomTracker::setStartPoint(), cl_nav2z::Pose::update(), cl_nav2z::CpWaypointsVisualizer::update(), cl_nitrosz::Pose::update(), cl_nitrosz::CpWaypointsVisualizer::update(), cl_nav2z::odom_tracker::CpOdomTracker::updateConfiguration(), cl_nitrosz::odom_tracker::CpOdomTracker::updateConfiguration(), cl_nav2z::odom_tracker::CpOdomTracker::updateRecordPath(), cl_nitrosz::odom_tracker::CpOdomTracker::updateRecordPath(), cl_nav2z::Pose::waitTransformUpdate(), and cl_nitrosz::Pose::waitTransformUpdate().
|
protected |
Definition at line 52 of file smacc_component.cpp.
References stateMachine_.
Referenced by smacc2::components::CpTopicSubscriber< MessageType >::onFirstMessageReceived(), smacc2::components::CpTopicSubscriber< MessageType >::onMessageReceived(), cl_nav2z::CpWaypointNavigator::sendNextGoal(), and cl_nitrosz::CpWaypointNavigator::sendNextGoal().
|
private |
Definition at line 29 of file smacc_component.cpp.
References onInitialize(), and owner_.
|
protectedvirtual |
Reimplemented in smacc2::components::CpTopicPublisher< MessageType >, smacc2::components::CpTopicSubscriber< MessageType >, cl_nav2z::CpAmcl, cl_nav2z::CpCostmapSwitch, cl_nav2z::CpGoalCheckerSwitcher, cl_nav2z::odom_tracker::CpOdomTracker, cl_nav2z::CpPlannerSwitcher, cl_nav2z::Pose, cl_nav2z::CpWaypointNavigator, cl_nav2z::CpWaypointNavigatorBase, cl_nav2z::CpWaypointsVisualizer, cl_nitrosz::CpAmcl, cl_nitrosz::CpCostmapSwitch, cl_nitrosz::CpGoalCheckerSwitcher, cl_nitrosz::odom_tracker::CpOdomTracker, cl_nitrosz::CpPlannerSwitcher, cl_nitrosz::Pose, cl_nitrosz::CpWaypointNavigator, cl_nitrosz::CpWaypointNavigatorBase, and cl_nitrosz::CpWaypointsVisualizer.
Definition at line 35 of file smacc_component.cpp.
Referenced by initialize().
|
inlineprotected |
Definition at line 51 of file component.hpp.
Definition at line 37 of file smacc_component_impl.hpp.
References smacc2::ISmaccStateMachine::postEvent(), and stateMachine_.
Referenced by smacc2::components::CpTopicSubscriber< MessageType >::onOrthogonalAllocation().
Definition at line 31 of file smacc_component_impl.hpp.
References smacc2::ISmaccStateMachine::postEvent(), and stateMachine_.
Definition at line 97 of file smacc_component_impl.hpp.
References owner_, and smacc2::ISmaccClient::requiresClient().
|
protected |
Definition at line 70 of file smacc_component_impl.hpp.
References smacc2::introspection::demangleSymbol(), smacc2::ISmaccClient::getComponent(), smacc2::ISmaccClient::getComponents(), getLogger(), and owner_.
|
protected |
Definition at line 44 of file smacc_component_impl.hpp.
References smacc2::introspection::demangleSymbol(), smacc2::ISmaccClient::getComponent(), smacc2::ISmaccClient::getComponents(), getLogger(), and owner_.
Referenced by cl_nav2z::CpWaypointsVisualizer::onInitialize(), and cl_nitrosz::CpWaypointsVisualizer::onInitialize().
|
private |
Definition at line 37 of file smacc_component.cpp.
References stateMachine_.
|
friend |
Definition at line 94 of file component.hpp.
|
friend |
Definition at line 93 of file component.hpp.
|
protected |
Definition at line 83 of file component.hpp.
Referenced by createSiblingComponent(), createSiblingNamedComponent(), getLogger(), getNode(), initialize(), cl_nav2z::CpCostmapSwitch::onInitialize(), cl_nav2z::CpWaypointNavigator::onInitialize(), cl_nitrosz::CpCostmapSwitch::onInitialize(), cl_nitrosz::CpWaypointNavigator::onInitialize(), requiresClient(), requiresComponent(), requiresComponent(), cl_nav2z::CpWaypointNavigator::sendNextGoal(), and cl_nitrosz::CpWaypointNavigator::sendNextGoal().
|
protected |
Definition at line 81 of file component.hpp.
Referenced by getStateMachine(), postEvent(), postEvent(), and setStateMachine().