Class CbRelayOn
Defined in File cb_relay_on.hpp
Inheritance Relationships
Base Type
public smacc2::SmaccAsyncClientBehavior
Class Documentation
-
class CbRelayOn : public smacc2::SmaccAsyncClientBehavior
Client behavior to turn ON a specific relay channel.
Posts EvCbSuccess on successful write, EvCbFailure on error.
Public Functions
-
inline explicit CbRelayOn(int channel)
Construct behavior to turn on specified channel.
- Parameters:
channel – Relay channel number (1-8)
-
inline virtual ~CbRelayOn()
-
template<typename TOrthogonal, typename TSourceObject>
inline void onStateOrthogonalAllocation()
-
inline virtual void onEntry() override
-
inline explicit CbRelayOn(int channel)