Woman, Life, Freedom


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

State input and output trigger. More...

#include <trigger_inout.h>

Public Member Functions

 TriggerInOut (T &state, TriggerHandler handler)
 Constructor. More...
 
 TriggerInOut (const TriggerInOut &)=delete
 
 TriggerInOut (TriggerInOut &&)=delete
 
TriggerInOutoperator= (const TriggerInOut &)=delete
 
TriggerInOutoperator= (TriggerInOut &&)=delete
 
Trigger< T > & GetTrigger () noexcept
 Trigger property getter. More...
 
Notifier< T > & GetNotifier () noexcept
 Notifier property getter. More...
 

Detailed Description

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

State input and output trigger.

Template Parameters
TState type

Constructor & Destructor Documentation

◆ TriggerInOut()

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

Constructor.

Parameters
stateState
handlerHandler to be invoked after state change

Member Function Documentation

◆ GetNotifier()

template<typename T >
Notifier< T > & ara::sm::TriggerInOut< T >::GetNotifier ( )
inlinenoexcept

Notifier property getter.

Returns
The notifier

◆ GetTrigger()

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

Trigger property getter.

Returns
The trigger