|
SMACC2
|
#include <cl_generic_sensor.hpp>


Public Types | |
| typedef MessageType | TMessageType |
Public Member Functions | |
| ClGenericSensor () | |
| ClGenericSensor (std::string topicName) | |
| ClGenericSensor (std::string topicName, rclcpp::Duration timeout) | |
| virtual | ~ClGenericSensor () |
| template<typename TOrthogonal , typename TClient > | |
| void | onComponentInitialization () |
| void | setTopicName (const std::string &topicName) |
| void | setTimeout (const rclcpp::Duration &timeout) |
Public Member Functions inherited from smacc2::ISmaccClient | |
| ISmaccClient () | |
| virtual | ~ISmaccClient () |
| virtual void | onInitialize () |
| virtual std::string | getName () const |
| template<typename TComponent > | |
| TComponent * | getComponent () |
| template<typename TComponent > | |
| TComponent * | getComponent (std::string name) |
| template<typename TComponent > | |
| TComponent * | getComponent (int index) |
| virtual smacc2::introspection::TypeInfo::Ptr | getType () |
| ISmaccStateMachine * | getStateMachine () |
| template<typename TSmaccSignal , typename T > | |
| void | connectSignal (TSmaccSignal &signal, void(T::*callback)(), T *object) |
| template<typename SmaccClientType > | |
| void | requiresClient (SmaccClientType *&storage) |
| void | getComponents (std::vector< std::shared_ptr< ISmaccComponent > > &components) |
| const std::vector< std::shared_ptr< ISmaccComponent > > & | iterateComponents () const |
| template<typename EventType > | |
| void | postEvent (const EventType &ev) |
| template<typename EventType > | |
| void | postEvent () |
Public Attributes | |
| std::optional< std::string > | topicName_ |
| std::optional< rclcpp::Duration > | timeout_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccClient | |
| template<typename TOrthogonal , typename TClient > | |
| void | onComponentInitialization () |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onStateOrthogonalAllocation () |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createComponent (TArgs... targs) |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createNamedComponent (std::string name, TArgs... targs) |
| rclcpp::Node::SharedPtr | getNode () |
| rclcpp::Logger | getLogger () |
Protected Attributes inherited from smacc2::ISmaccClient | |
| std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > | components_ |
Definition at line 31 of file cl_generic_sensor.hpp.
| MessageType cl_generic_sensor::ClGenericSensor< MessageType >::TMessageType |
Definition at line 34 of file cl_generic_sensor.hpp.
|
inline |
Definition at line 42 of file cl_generic_sensor.hpp.
|
inline |
Definition at line 45 of file cl_generic_sensor.hpp.
|
inline |
Definition at line 48 of file cl_generic_sensor.hpp.
|
inlinevirtual |
Definition at line 53 of file cl_generic_sensor.hpp.
|
inline |
Definition at line 59 of file cl_generic_sensor.hpp.
References smacc2::ISmaccClient::createComponent(), smacc2::ISmaccClient::getLogger(), cl_generic_sensor::ClGenericSensor< MessageType >::timeout_, and cl_generic_sensor::ClGenericSensor< MessageType >::topicName_.

|
inline |
Definition at line 108 of file cl_generic_sensor.hpp.
References cl_generic_sensor::ClGenericSensor< MessageType >::timeout_.
|
inline |
Definition at line 105 of file cl_generic_sensor.hpp.
References cl_generic_sensor::ClGenericSensor< MessageType >::topicName_.
| std::optional<rclcpp::Duration> cl_generic_sensor::ClGenericSensor< MessageType >::timeout_ |
Definition at line 40 of file cl_generic_sensor.hpp.
Referenced by cl_generic_sensor::ClGenericSensor< MessageType >::onComponentInitialization(), and cl_generic_sensor::ClGenericSensor< MessageType >::setTimeout().
| std::optional<std::string> cl_generic_sensor::ClGenericSensor< MessageType >::topicName_ |
Definition at line 37 of file cl_generic_sensor.hpp.
Referenced by cl_generic_sensor::ClGenericSensor< MessageType >::onComponentInitialization(), and cl_generic_sensor::ClGenericSensor< MessageType >::setTopicName().