State Machine  0.5.0
This repository contains packages for creating and running general purpose state machines.
state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface Class Reference

#include <CheckOrSupervisionEnableInterface.hpp>

Public Member Functions

 EnableInterface (ros::NodeHandle &nodeHandle, const std::string &type)
 
bool isForceDisabled ()
 
void forceDisable (bool disable)
 
bool isEnabled ()
 
void enable (bool enable)
 

Protected Member Functions

void enableCb (const state_machine_msgs::EnableConstPtr &msg)
 
void publish ()
 

Protected Attributes

ros::Subscriber enableSubscriber_
 
ros::Publisher isEnabledPublisher_
 
std::atomic< bool > isForceDisabled_
 
std::atomic< bool > isEnabled_
 

Constructor & Destructor Documentation

◆ EnableInterface()

state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::EnableInterface ( ros::NodeHandle &  nodeHandle,
const std::string &  type 
)
inline

Member Function Documentation

◆ enable()

void state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::enable ( bool  enable)
inline

◆ enableCb()

void state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::enableCb ( const state_machine_msgs::EnableConstPtr &  msg)
inlineprotected

◆ forceDisable()

void state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::forceDisable ( bool  disable)
inline

◆ isEnabled()

bool state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::isEnabled ( )
inline

◆ isForceDisabled()

bool state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::isForceDisabled ( )
inline

◆ publish()

void state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::publish ( )
inlineprotected

Member Data Documentation

◆ enableSubscriber_

ros::Subscriber state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::enableSubscriber_
protected

◆ isEnabled_

std::atomic<bool> state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::isEnabled_
protected

◆ isEnabledPublisher_

ros::Publisher state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::isEnabledPublisher_
protected

◆ isForceDisabled_

std::atomic<bool> state_machine_basics::check_or_supervision::CheckOrSupervisionEnableInterface::EnableInterface::isForceDisabled_
protected

The documentation for this class was generated from the following file: