Protected Member Functions | List of all members
utils_test::StacklightTest Class Reference
Inheritance diagram for utils_test::StacklightTest:
Inheritance graph
[legend]

Protected Member Functions

 FRIEND_TEST (StacklightTest, LightVectorInit)
 
 FRIEND_TEST (StacklightTest, ButtonVectorInit)
 
 FRIEND_TEST (StacklightTest, DefaultStateMatch)
 
 FRIEND_TEST (StacklightTest, LightFlashOnSecs)
 
 FRIEND_TEST (StacklightTest, LightFlashOffSecs)
 
 FRIEND_TEST (StacklightTest, BuzzerFlashOnSecs)
 
 FRIEND_TEST (StacklightTest, BuzzerFlashOffSecs)
 
 FRIEND_TEST (StacklightTest, PublishFrequency)
 
 FRIEND_TEST (StacklightTest, StatusTimeout)
 
 FRIEND_TEST (StacklightTest, LightFlash)
 
 FRIEND_TEST (StacklightTest, BuzzerFlash)
 
 FRIEND_TEST (StacklightTest, PublishAllNoState)
 
 FRIEND_TEST (StacklightTest, PublishAll)
 
 FRIEND_TEST (StacklightTest, StatusTimeoutReset)
 
 FRIEND_TEST (StacklightTest, StatusTimeoutNoReset)
 
 FRIEND_TEST (StacklightTest, TestPubMapFromAction)
 
 FRIEND_TEST (StacklightTest, TestPubMapFromState)
 
 FRIEND_TEST (StacklightTest, TestPublishTopics)
 
 StacklightTest ()
 

Additional Inherited Members

- Private Member Functions inherited from packml_stacklight::Utils
std::map< std::string, uint8_t > getPubMap (packml_msgs::State current_state)
 
bool getShouldPublish (packml_msgs::State current_state)
 
bool getSuspendStarving ()
 
void maybeResetState (packml_msgs::State &current_state, ros::Time &last_time)
 
bool setSuspendStarving (bool starving=true)
 
 Utils ()
 
 ~Utils ()
 
Action getActionFromState (packml_msgs::State current_state)
 
Flash::Value getBuzzerFlash (packml_msgs::State current_state)
 
Flash::Value getLightFlash (packml_msgs::State current_state)
 
std::map< std::string, uint8_t > getPubMap (Action action)
 
- Private Attributes inherited from packml_stacklight::Utils
double flash_sec_buzzer_off_ = 2.0
 
double flash_sec_buzzer_on_ = 2.0
 
double flash_sec_light_off_ = 2.0
 
double flash_sec_light_on_ = 2.0
 
double publish_frequency_ = 0.5
 
double status_timeout_ = 30.0
 
std::vector< Actionaction_vec_ = initDefaultStatusActions()
 

Detailed Description

Definition at line 25 of file test_stacklight.cpp.

Constructor & Destructor Documentation

utils_test::StacklightTest::StacklightTest ( )
inlineprotected

Definition at line 28 of file test_stacklight.cpp.

Member Function Documentation

utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
LightVectorInit   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
ButtonVectorInit   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
DefaultStateMatch   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
LightFlashOnSecs   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
LightFlashOffSecs   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
BuzzerFlashOnSecs   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
BuzzerFlashOffSecs   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
PublishFrequency   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
StatusTimeout   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
LightFlash   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
BuzzerFlash   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
PublishAllNoState   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
PublishAll   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
StatusTimeoutReset   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
StatusTimeoutNoReset   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
TestPubMapFromAction   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
TestPubMapFromState   
)
protected
utils_test::StacklightTest::FRIEND_TEST ( StacklightTest  ,
TestPublishTopics   
)
protected

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


packml_stacklight
Author(s): Joshua Hatzenbuehler
autogenerated on Fri Jul 12 2019 03:31:01