Class ISmaccClient

Inheritance Relationships

Derived Types

Class Documentation

class ISmaccClient

Subclassed by smacc2::client_bases::SmaccSubscriberClient< TMsg >, smacc2::client_bases::ClRosLaunch, smacc2::client_bases::ClRosLaunch2, smacc2::client_bases::ISmaccActionClient, smacc2::client_bases::SmaccPublisherClient, smacc2::client_bases::SmaccServiceClient< ServiceType >, smacc2::client_bases::SmaccServiceServerClient< TService >, smacc2::client_bases::SmaccSubscriberClient< MessageType >

Public Functions

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()
inline 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()

Protected Functions

template<typename TOrthogonal, typename TSourceObject>
inline void onOrthogonalAllocation()
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()
inline rclcpp::Logger getLogger()

Protected Attributes

std::map<ComponentKey, std::shared_ptr<smacc2::ISmaccComponent>> components_