bool onResume() final
Overriden onResume, which calls onManagedResume. Cannot be overriden further by the child class of Ma...
bool onStart() final
Overriden onStart, which calls onManagedStart. Cannot be overriden further by the child class of Mana...
void pauseAll()
Pauses all managed resources.
void resumeAll()
Resumes all managed resources.
virtual void onManagedTerminate()=0
User-defined function that's called at the end of transition from UNCONFIGURED to TERMINATED state...
void acquireAll(const ros::NodeHandlePtr &node_handle)
Acquires all managed resources.
resource::SubscriberManager subscriber_manager
Manager for subscribing to ROS topics.
virtual bool onManagedStop()=0
User-defined function that's called at the end of transition from PAUSED to STOPPED state User has to...
virtual bool onManagedResume()=0
User-defined function that's called at the end of transition from PAUSED to RUNNING state User has to...
virtual ~ManagedRobotActivity()
Virtual destructor.
void onCreate() final
Overriden onCreate, which calls onManagedCreate. Cannot be overriden further by the child class of Ma...
resource::ServiceServerManager service_manager
Manager for advertising ROS services.
void onTerminate() final
Overriden onTerminate, which calls onManagedTerminate. Cannot be overriden further by the child class...
virtual bool onManagedPause()=0
User-defined function that's called at the end of transition from RUNNING to PAUSED state User has to...
virtual bool onManagedConfigure()=0
User-defined function that's called at the end of transition from UNCONFIGURED to STOPPED state User ...
bool onStop() final
Overriden onStop, which calls onManagedStop. Cannot be overriden further by the child class of Manage...
virtual bool onManagedUnconfigure()=0
User-defined function that's called at the end of transition from STOPPED to UNCONFIGURED state User ...
bool onUnconfigure() final
Overriden onUnconfigure, which calls onManagedUnconfigure. Cannot be overriden further by the child c...
#define ROS_DEBUG_STREAM(args)
ros::NodeHandlePtr node_handle_
bool onConfigure() final
Overriden onConfigure, which calls onManagedConfigure. Cannot be overriden further by the child class...
void releaseAll()
Releases all managed resources.
virtual void onManagedCreate()=0
User-defined function that's called at the end of transition from LAUNCHING to UNCONFIGURED state...
virtual bool onManagedStart()=0
User-defined function that's called at the end of transition from STOPPED to PAUSED state User has to...
ManagedRobotActivity class implements ROS node lifecycle with managed subscriptions and services...
bool onPause() final
Overriden onPause, which calls onManagedPause. Cannot be overriden further by the child class of Mana...
std::string getNamespace() const
Returns the full private namespace.