AskSin++
Public Member Functions | Protected Types | List of all members
as::DimmerChannel< HalType, PeerCount, List0Type > Class Template Reference
Inheritance diagram for as::DimmerChannel< HalType, PeerCount, List0Type >:
Inheritance graph
[legend]
Collaboration diagram for as::DimmerChannel< HalType, PeerCount, List0Type >:
Collaboration graph
[legend]

Public Member Functions

void setPhysical (uint8_t &p)
 
void patchStatus (Message &msg)
 
- Public Member Functions inherited from as::ActorChannel< HalType, DimmerList1, DimmerList3, PeerCount, List0, DimmerStateMachine >
bool changed () const
 
void changed (bool c)
 
void setup (Device< HalType, List0 > *dev, uint8_t number, uint16_t addr)
 
uint8_t status () const
 
void status (uint8_t stat, uint16_t delay)
 
uint8_t flags () const
 
void stop ()
 
bool process (__attribute__((unused)) const ActionCommandMsg &msg)
 
bool process (const ActionSetMsg &msg)
 
bool process (const RemoteEventMsg &msg)
 
bool process (const SensorEventMsg &msg)
 
- Public Member Functions inherited from as::Channel< HalType, DimmerList1, DimmerList3, EmptyList, PeerCount, List0, EmptyList >
DeviceTypedevice ()
 
const DeviceTypedevice () const
 
uint8_t number () const
 
uint16_t address () const
 
uint8_t peers () const
 
bool changed () const
 
void changed (bool c)
 
void inhibit (bool value)
 
bool inhibit () const
 
bool aesActive () const
 
void setup (Device< HalType, List0 > *dev, uint8_t number, uint16_t addr)
 
uint16_t size () const
 
bool has (const Peer &p) const
 
uint8_t peerfor (const HMID &hmid) const
 
Peer peer (uint8_t idx) const
 
bool peer (const Peer &p)
 
bool peer (const Peer &p1, const Peer &p2) const
 
bool deletepeer (uint8_t idx) const
 
bool deletepeer (const Peer &p) const
 
uint8_t findpeer () const
 
void firstinit ()
 
DimmerList1 getList1 () const
 
EmptyList getList2 () const
 
DimmerList3 getList3 (const Peer &p) const
 
DimmerList3 getList3 (uint8_t pidx) const
 
EmptyList getList4 (const Peer &p) const
 
EmptyList getList4 (uint8_t pidx) const
 
void stop ()
 
bool process (__attribute__((unused)) const ActionSetMsg &msg)
 
bool process (__attribute__((unused)) const ActionCommandMsg &msg)
 
bool process (__attribute__((unused)) const RemoteEventMsg &msg)
 
bool process (__attribute__((unused)) const SensorEventMsg &msg)
 
void patchStatus (__attribute__((unused)) Message &msg)
 
void configChanged ()
 
- Public Member Functions inherited from as::DimmerStateMachine
bool changed () const
 
void changed (bool c)
 
void overheat (bool value)
 
void overload (bool value)
 
bool getoverload ()
 
void reduced (bool value)
 
void setup (DimmerList1 l1)
 
virtual void switchState (__attribute__((unused)) uint8_t oldstate, uint8_t newstate, __attribute__((unused)) uint32_t stateDelay)
 
void jumpToTarget (const DimmerPeerList &lst)
 
void toggleState ()
 
uint8_t getNextState ()
 
uint8_t getJumpTarget (uint8_t stat, const DimmerPeerList &lst) const
 
uint8_t getConditionForState (uint8_t stat, const DimmerPeerList &lst) const
 
uint32_t getDelayForState (uint8_t stat, const DimmerPeerList &lst) const
 
uint32_t getDefaultDelay (uint8_t stat) const
 
bool delayActive () const
 
void dimUp (const DimmerPeerList &lst)
 
void dimDown (const DimmerPeerList &lst)
 
bool set (uint8_t value, uint16_t ramp, uint16_t delay)
 
void remote (const DimmerPeerList &lst, uint8_t counter)
 
void sensor (const DimmerPeerList &lst, uint8_t counter, uint8_t value)
 
void setLevel (uint8_t level, uint16_t ramp, uint16_t delay)
 
void stop ()
 
uint8_t status () const
 
uint8_t flags () const
 

Protected Types

typedef ActorChannel< HalType, DimmerList1, DimmerList3, PeerCount, List0Type, DimmerStateMachineBaseChannel
 

Additional Inherited Members

- Public Types inherited from as::ActorChannel< HalType, DimmerList1, DimmerList3, PeerCount, List0, DimmerStateMachine >
typedef Channel< HalType, DimmerList1, DimmerList3, EmptyList, PeerCount, List0, EmptyListBaseChannel
 
- Public Types inherited from as::Channel< HalType, DimmerList1, DimmerList3, EmptyList, PeerCount, List0, EmptyList >
typedef DimmerList1 List1
 
typedef EmptyList List2
 
typedef DimmerList3 List3
 
typedef EmptyList List4
 
typedef Device< HalType, List0DeviceType
 
- Static Public Member Functions inherited from as::Channel< HalType, DimmerList1, DimmerList3, EmptyList, PeerCount, List0, EmptyList >
static bool hasList3 ()
 
static bool hasList4 ()
 
- Public Attributes inherited from as::ActorChannel< HalType, DimmerList1, DimmerList3, PeerCount, List0, DimmerStateMachine >
uint8_t lastmsgcnt
 
- Protected Member Functions inherited from as::Channel< HalType, DimmerList1, DimmerList3, EmptyList, PeerCount, List0, EmptyList >
uint16_t peerAddress (uint8_t pidx) const
 
- Protected Attributes inherited from as::DimmerStateMachine
uint8_t state: 4
 
bool change: 1
 
bool toggledimup: 1
 
bool erroverheat: 1
 
bool erroroverload: 1
 
bool errreduced: 1
 
uint8_t level
 
uint8_t lastonlevel
 
RampAlarm alarm
 
BlinkAlarm blink
 
ChangedAlarm calarm
 
DimmerList1 list1
 

Detailed Description

template<class HalType, int PeerCount, class List0Type = List0>
class as::DimmerChannel< HalType, PeerCount, List0Type >

Definition at line 662 of file Dimmer.h.