15#ifndef ROBOLIGO_COMMON_TYPES__INTERFACE_HPP_
16#define ROBOLIGO_COMMON_TYPES__INTERFACE_HPP_
21#include "rclcpp/rclcpp.hpp"
modes get_mode(void)
Retrieves the interface mode.
Definition Interface.cpp:64
std::string get_name(void)
Retrieves the interface name.
Definition Interface.cpp:52
types get_type(void)
Retrieves the interface type.
Definition Interface.cpp:58
std::string get_value(void)
Retrieves the current value of the interface.
Definition Interface.cpp:70
void set_value(std::string value)
Updates the interface value.
Definition Interface.cpp:76
virtual ~Interface()=default
Interface(std::string name, modes mode, std::string value)
Constructs an Interface with the specified parameters.
Definition Interface.cpp:38
void show()
Displays the interface information. Outputs current interface properties to the standard output.
Definition Interface.cpp:82
Namespace containing interface management classes and types.
types
Enumeration for interface communication types.
Definition Interface.hpp:38
@ MSG
Definition Interface.hpp:39
@ SRV
Definition Interface.hpp:40
modes
Enumeration for interface operational modes.
Definition Interface.hpp:51
@ PUBLISHER
Definition Interface.hpp:52
@ CALLER
Definition Interface.hpp:54
@ SUBSCRIBER
Definition Interface.hpp:53
Definition ClassificationBase.hpp:28
Defines interface configuration structure. @member types type The communication type (MSG or SRV) @me...
Definition Interface.hpp:64
std::string value
Interface value as topic name (i. e. /prueba).
Definition Interface.hpp:67
types type
Type MSG or SRV.
Definition Interface.hpp:65
modes mode
Interface mode PUBLISHER, SUBSCRIBER, CALLER.
Definition Interface.hpp:66