The MAUVE Toolchain
mauve::ros::SubscriberComponentCore< T, ROS_T > Struct Template Reference
Inheritance diagram for mauve::ros::SubscriberComponentCore< T, ROS_T >:
Collaboration diagram for mauve::ros::SubscriberComponentCore< T, ROS_T >:

Public Member Functions

virtual void cleanup_hook () override
 Hook function called when cleaning the shell. More...
 
virtual bool configure_hook () override
 Hook function called when configuring the shell. More...
 
virtual void update ()
 
- Public Member Functions inherited from mauve::runtime::Core< SubscriberComponentShell< T, ROS_T > >
 Core (Core const &core)=delete
 Constructor by copy. More...
 
void cleanup () overridefinal
 Cleanup the object.
 
bool configure () overridefinal
 Configure the object.
 
std::string container_name () const override
 Get the core container name.
 
bool is_configured () const overridefinal
 Get the configuration status of the configurable object. More...
 
AbstractLoggerlogger () const override
 Get the logger.
 
Coreoperator= (Core const &core)=delete
 Copy operator. More...
 
std::string shell_type_name () const override
 Get the shell type name. More...
 
- Public Member Functions inherited from mauve::runtime::AbstractCore
 AbstractCore ()
 Default constructor. More...
 
virtual ~AbstractCore () noexcept
 Default descructor. More...
 
virtual std::string to_string () const
 
std::string type_name () const
 Get type name. More...
 
- Public Member Functions inherited from mauve::runtime::HasProperty
const std::vector< AbstractProperty * > get_properties () const
 Get the properties of the shell. More...
 
std::size_t get_properties_size () const
 
AbstractPropertyget_property (std::string const &name) const
 
AbstractPropertyget_property (int index) const
 
- Public Member Functions inherited from mauve::ros::Connector
bool init ()
 Initialize ROS Node.
 

Additional Inherited Members

- Static Public Attributes inherited from mauve::ros::Connector
::ros::NodeHandle * node
 An handle to the ROS node.
 
::ros::NodeHandle * node_private
 An handle to the private view of the ROS node.
 
- Protected Member Functions inherited from mauve::runtime::Core< SubscriberComponentShell< T, ROS_T > >
 Core ()
 Default constructor. More...
 
virtual ~Core () noexcept
 Default descructor. More...
 
SubscriberComponentShell< T, ROS_T > & shell () const
 Access to the instantiated shell. More...
 
- Protected Member Functions inherited from mauve::runtime::HasProperty
template<typename T >
Property< T > & mk_property (std::string const &name, T init_value)
 Create a new property. More...
 

Member Function Documentation

template<typename T , typename ROS_T >
virtual void mauve::ros::SubscriberComponentCore< T, ROS_T >::cleanup_hook ( )
inlineoverridevirtual

Hook function called when cleaning the shell.

Redefine this function in Shell subclasses to specify the behavior of your shell when being cleaned up.

Reimplemented from mauve::runtime::WithHook.

template<typename T , typename ROS_T >
virtual bool mauve::ros::SubscriberComponentCore< T, ROS_T >::configure_hook ( )
inlineoverridevirtual

Hook function called when configuring the shell.

Redefine this function in Shell subclasses to specify the behavior of your shell when being configured.

Returns
true if configure succeeds

Reimplemented from mauve::runtime::WithHook.