The MAUVE Toolchain
|
Interface of the ROS Subscriber. More...
#include <Subscriber.hpp>
Public Attributes | |
runtime::ReadService< runtime::StatusValue< T > > & | read = this->template mk_read_service<runtime::StatusValue<T>>("read", &SubscriberCore<ROS_T, T>::read) |
The read service to read the data owned by the resource. | |
runtime::ReadService< runtime::DataStatus > & | read_status = this->template mk_read_service<runtime::DataStatus>("read_status", &SubscriberCore<ROS_T, T>::read_status) |
runtime::ReadService< T > & | read_value = this->template mk_read_service<T>("read_value", &SubscriberCore<ROS_T, T>::read_value) |
Additional Inherited Members | |
![]() | |
Interface (Interface const &other)=delete | |
void | cleanup () overridefinal |
Cleanup the object. | |
bool | configure () overridefinal |
Configure the object. | |
SubscriberCore< ROS_T, T > * | core_ptr () const overridefinal |
Service * | get_service (std::string const &name) const overridefinal |
Get a service by name. | |
Service * | get_service (int index) const overridefinal |
int | get_service_index (const Service *service) const overridefinal |
const std::vector< Service * > | get_services () const overridefinal |
Get the set of services owned by the interface. | |
std::size_t | get_services_size () const overridefinal |
bool | is_configured () const overridefinal |
Get the configuration status of the configurable object. More... | |
AbstractLogger & | logger () const override |
Get the logger. | |
std::string | name () const |
Get the name. | |
![]() | |
std::string | type_name () const |
Get interface type name. | |
![]() | |
const std::vector< AbstractProperty * > | get_properties () const |
Get the properties of the shell. More... | |
std::size_t | get_properties_size () const |
AbstractProperty * | get_property (std::string const &name) const |
AbstractProperty * | get_property (int index) const |
![]() | |
SubscriberCore< ROS_T, T > & | core () const |
CallService< R, P... > & | mk_call_service (std::string const &name, typename CallServiceImpl< SubscriberCore< ROS_T, T >, R, P... >::action_t action) |
EventService & | mk_event_service (std::string const &name, typename EventServiceImpl< SubscriberCore< ROS_T, T > >::action_t action) |
ReadService< T > & | mk_read_service (std::string const &name, typename ReadServiceImpl< SubscriberCore< ROS_T, T >, T >::action_t action) |
WriteService< T > & | mk_write_service (std::string const &name, typename WriteServiceImpl< SubscriberCore< ROS_T, T >, T >::action_t action) |
RosShell< ROS_T, T > & | shell () const |
![]() | |
template<typename T > | |
Property< T > & | mk_property (std::string const &name, T init_value) |
Create a new property. More... | |
![]() | |
virtual void | cleanup_hook () |
Hook function called when cleaning the shell. More... | |
virtual bool | configure_hook () |
Hook function called when configuring the shell. More... | |
Interface of the ROS Subscriber.
T | MAUVE Type |
ROS_T | ROS Type |