AskSin++
Public Types | Public Member Functions | List of all members
as::TwoStateChannel< HALTYPE, List0Type, List1Type, List4Type, PEERCOUNT, WAITMILLIS_AFTER_ENABLE > Class Template Reference
Inheritance diagram for as::TwoStateChannel< HALTYPE, List0Type, List1Type, List4Type, PEERCOUNT, WAITMILLIS_AFTER_ENABLE >:
Inheritance graph
[legend]
Collaboration diagram for as::TwoStateChannel< HALTYPE, List0Type, List1Type, List4Type, PEERCOUNT, WAITMILLIS_AFTER_ENABLE >:
Collaboration graph
[legend]

Public Types

typedef StateGenericChannel< OnePinPosition< WAITMILLIS_AFTER_ENABLE >, HALTYPE, List0Type, List1Type, List4Type, PEERCOUNT > BaseChannel
 
- Public Types inherited from as::StateGenericChannel< OnePinPosition< 0 >, HALTYPE, List0Type, List1Type, List4Type, PEERCOUNT >
typedef Channel< HALTYPE, List1Type, EmptyList, List4Type, PEERCOUNT, List0Type > BaseChannel
 
- Public Types inherited from as::Channel< HALTYPE, List1Type, EmptyList, List4Type, PEERCOUNT, List0Type >
typedef List1Type List1
 
typedef EmptyList List2
 
typedef EmptyList List3
 
typedef List4Type List4
 
typedef Device< HALTYPE, List0Type > DeviceType
 

Public Member Functions

void init (uint8_t pin, uint8_t en, uint8_t sab)
 
void init (uint8_t pin, uint8_t sab)
 
void init (uint8_t pin)
 
- Public Member Functions inherited from as::StateGenericChannel< OnePinPosition< 0 >, HALTYPE, List0Type, List1Type, List4Type, PEERCOUNT >
void setup (Device< HALTYPE, List0Type > *dev, uint8_t number, uint16_t addr)
 
void init (uint8_t sab)
 
void init ()
 
uint8_t status () const
 
uint8_t flags () const
 
void trigger (__attribute__((unused)) AlarmClock &clock)
 
void patchStatus (Message &msg)
 
- Public Member Functions inherited from as::Channel< HALTYPE, List1Type, EmptyList, List4Type, PEERCOUNT, List0Type >
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, List0Type > *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 ()
 
List1Type getList1 () const
 
EmptyList getList2 () const
 
EmptyList getList3 (const Peer &p) const
 
EmptyList getList3 (uint8_t pidx) const
 
List4Type getList4 (const Peer &p) const
 
List4Type 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, List1Type, EmptyList, List4Type, PEERCOUNT, List0Type >
static bool hasList3 ()
 
static bool hasList4 ()
 
- Public Attributes inherited from as::Alarm
uint32_t tick: 24
 
- Protected Member Functions inherited from as::Channel< HALTYPE, List1Type, EmptyList, List4Type, PEERCOUNT, List0Type >
uint16_t peerAddress (uint8_t pidx) const
 
- Protected Attributes inherited from as::StateGenericChannel< OnePinPosition< 0 >, HALTYPE, List0Type, List1Type, List4Type, PEERCOUNT >
OnePinPosition< 0 > possens
 
- Protected Attributes inherited from as::Alarm
bool m_Async: 4
 
bool m_Active: 4
 

Detailed Description

template<class HALTYPE, class List0Type, class List1Type, class List4Type, int PEERCOUNT, uint16_t WAITMILLIS_AFTER_ENABLE = 0>
class as::TwoStateChannel< HALTYPE, List0Type, List1Type, List4Type, PEERCOUNT, WAITMILLIS_AFTER_ENABLE >

Definition at line 178 of file ContactState.h.