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

Public Types

typedef Channel< HalType, MotionList1, EmptyList, DefList4, PeerCount, List0Type > ChannelType
 
- Public Types inherited from as::Channel< HalType, MotionList1, EmptyList, DefList4, PeerCount, List0 >
typedef MotionList1 List1
 
typedef EmptyList List2
 
typedef EmptyList List3
 
typedef DefList4 List4
 
typedef Device< HalType, List0DeviceType
 

Public Member Functions

BrightnessSensor & brightnessSensor ()
 
void setup (Device< HalType, List0Type > *dev, uint8_t number, uint16_t addr)
 
uint8_t status ()
 
uint8_t flags () const
 
void sendState ()
 
void pirInterruptOn ()
 
void pirInterruptOff ()
 
virtual void trigger (__attribute__((unused)) AlarmClock &clock)
 
void motionDetected ()
 
bool isMotion () const
 
- Public Member Functions inherited from as::Channel< HalType, MotionList1, EmptyList, DefList4, PeerCount, List0 >
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 ()
 
MotionList1 getList1 () const
 
EmptyList getList2 () const
 
EmptyList getList3 (const Peer &p) const
 
EmptyList getList3 (uint8_t pidx) const
 
DefList4 getList4 (const Peer &p) const
 
DefList4 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::Alarm
virtual void trigger (AlarmClock &)=0
 
 Alarm (uint32_t t)
 
 Alarm (uint32_t t, bool asynch)
 
void set (uint32_t t)
 
void async (bool value)
 
bool async () const
 
void active (bool value)
 
bool active () const
 

Additional Inherited Members

- Static Public Member Functions inherited from as::Channel< HalType, MotionList1, EmptyList, DefList4, PeerCount, List0 >
static bool hasList3 ()
 
static bool hasList4 ()
 
- Public Attributes inherited from as::Alarm
uint32_t tick: 24
 
- Protected Member Functions inherited from as::Channel< HalType, MotionList1, EmptyList, DefList4, PeerCount, List0 >
uint16_t peerAddress (uint8_t pidx) const
 
- Protected Attributes inherited from as::Alarm
bool m_Async: 4
 
bool m_Active: 4
 

Detailed Description

template<class HalType, int PeerCount, class List0Type = List0, class BrightnessSensor = Brightness>
class as::MotionChannel< HalType, PeerCount, List0Type, BrightnessSensor >

Definition at line 44 of file Motion.h.