Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::sm::TriggerIn< T > Class Template Reference

State input trigger. More...

#include <trigger_in.h>

Public Member Functions

 TriggerIn (T &state, TriggerHandler handler)
 Constructor. More...
 
 TriggerIn (const TriggerIn &)=delete
 
 TriggerIn (TriggerIn &&)=delete
 
TriggerInoperator= (const TriggerIn &)=delete
 
TriggerInoperator= (TriggerIn &&)=delete
 
Trigger< T > & GetTrigger () noexcept
 Trigger property getter. More...
 

Detailed Description

template<typename T>
class ara::sm::TriggerIn< T >

State input trigger.

Template Parameters
TState type

Constructor & Destructor Documentation

◆ TriggerIn()

template<typename T >
ara::sm::TriggerIn< T >::TriggerIn ( T &  state,
TriggerHandler  handler 
)
inline

Constructor.

Parameters
stateState
handlerHandler to be invoked after state change

Member Function Documentation

◆ GetTrigger()

template<typename T >
Trigger< T > & ara::sm::TriggerIn< T >::GetTrigger ( )
inlinenoexcept

Trigger property getter.

Returns
The trigger