44 #ifndef ROBOT_ACTIVITY_MANAGED_ROBOT_ACTIVITY_H 45 #define ROBOT_ACTIVITY_MANAGED_ROBOT_ACTIVITY_H 51 #include <std_srvs/Empty.h> 52 #include <robot_activity_msgs/State.h> 53 #include <robot_activity_msgs/Error.h> 249 #endif // ROBOT_ACTIVITY_MANAGED_ROBOT_ACTIVITY_H bool onResume() final
Overriden onResume, which calls onManagedResume. Cannot be overriden further by the child class of Ma...
Specialization of the RMWrapper, where the managed resource is ManagedSubscriber. ...
bool onStart() final
Overriden onStart, which calls onManagedStart. Cannot be overriden further by the child class of Mana...
virtual void onManagedTerminate()=0
User-defined function that's called at the end of transition from UNCONFIGURED to TERMINATED state...
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.
Managed RobotActivity class, which adds further functionality to the RobotActivity class...
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...
Class for adding node lifecycle to ROS processes.
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...
Specialization of the RMWrapper, where the managed resource is ManagedServiceServer.
RobotActivity class implements ROS node lifecycle.
bool onConfigure() final
Overriden onConfigure, which calls onManagedConfigure. Cannot be overriden further by the child class...
virtual void onManagedCreate()=0
User-defined function that's called at the end of transition from LAUNCHING to UNCONFIGURED state...
RobotActivity()=delete
Default constructor is deleted.
virtual bool onManagedStart()=0
User-defined function that's called at the end of transition from STOPPED to PAUSED state User has to...
ResourceManager<Resource> class implements a resource manager for managed resources, such as ManagedSubscriber and ManagedServiceServer.
bool onPause() final
Overriden onPause, which calls onManagedPause. Cannot be overriden further by the child class of Mana...