Public Member Functions | List of all members
prbt_hardware_support_tests::Stop1ExecutorForTests Class Reference
Inheritance diagram for prbt_hardware_support_tests::Stop1ExecutorForTests:
Inheritance graph
[legend]

Public Member Functions

 FRIEND_TEST (Stop1ExecutorTest, testExitInStateEnabling)
 
 FRIEND_TEST (Stop1ExecutorTest, testExitInStateStopping)
 
 FRIEND_TEST (Stop1ExecutorTest, testExitInStateEnableRequestDuringStop)
 
 FRIEND_TEST (Stop1ExecutorTest, testExitInStateStopRequestedDuringEnable)
 
 Stop1ExecutorForTests (const TServiceCallFunc &hold_func, const TServiceCallFunc &unhold_func, const TServiceCallFunc &recover_func, const TServiceCallFunc &halt_func)
 
- Public Member Functions inherited from prbt_hardware_support::Stop1Executor
 Stop1Executor (const TServiceCallFunc &hold_func, const TServiceCallFunc &unhold_func, const TServiceCallFunc &recover_func, const TServiceCallFunc &halt_func)
 Create required service clients and state machine; start worker-thread and state machine. More...
 
void updateRunPermitted (const bool run_permitted)
 This is called everytime an updated run_permitted value is obtained. More...
 
bool updateRunPermittedCallback (std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res)
 
virtual ~Stop1Executor ()
 Stop state machine and terminate worker-thread. More...
 

Additional Inherited Members

- Protected Member Functions inherited from prbt_hardware_support::Stop1Executor
void stopStateMachine ()
 Stop the state machine. More...
 

Detailed Description

Gives access to protected methods of run_permitted adapter.

Definition at line 66 of file unittest_stop1_executor.cpp.

Constructor & Destructor Documentation

◆ Stop1ExecutorForTests()

prbt_hardware_support_tests::Stop1ExecutorForTests::Stop1ExecutorForTests ( const TServiceCallFunc hold_func,
const TServiceCallFunc unhold_func,
const TServiceCallFunc recover_func,
const TServiceCallFunc halt_func 
)
inline

Definition at line 69 of file unittest_stop1_executor.cpp.

Member Function Documentation

◆ FRIEND_TEST() [1/4]

prbt_hardware_support_tests::Stop1ExecutorForTests::FRIEND_TEST ( Stop1ExecutorTest  ,
testExitInStateEnabling   
)

◆ FRIEND_TEST() [2/4]

prbt_hardware_support_tests::Stop1ExecutorForTests::FRIEND_TEST ( Stop1ExecutorTest  ,
testExitInStateStopping   
)

◆ FRIEND_TEST() [3/4]

prbt_hardware_support_tests::Stop1ExecutorForTests::FRIEND_TEST ( Stop1ExecutorTest  ,
testExitInStateEnableRequestDuringStop   
)

◆ FRIEND_TEST() [4/4]

prbt_hardware_support_tests::Stop1ExecutorForTests::FRIEND_TEST ( Stop1ExecutorTest  ,
testExitInStateStopRequestedDuringEnable   
)

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


prbt_hardware_support
Author(s):
autogenerated on Thu Feb 4 2021 03:09:24