AskSin++
Public Types | Public Member Functions | Public Attributes | List of all members
as::ActorChannel< HalType, List1Type, List3Type, PeerCount, List0Type, StateMachine, List2Type > Class Template Reference
Inheritance diagram for as::ActorChannel< HalType, List1Type, List3Type, PeerCount, List0Type, StateMachine, List2Type >:
Inheritance graph
[legend]
Collaboration diagram for as::ActorChannel< HalType, List1Type, List3Type, PeerCount, List0Type, StateMachine, List2Type >:
Collaboration graph
[legend]

Public Types

typedef Channel< HalType, List1Type, List3Type, EmptyList, PeerCount, List0Type, List2Type > BaseChannel
 
- Public Types inherited from as::Channel< HalType, List1Type, List3Type, EmptyList, PeerCount, List0Type, EmptyList >
typedef List1Type List1
 
typedef EmptyList List2
 
typedef List3Type List3
 
typedef EmptyList List4
 
typedef Device< HalType, List0Type > DeviceType
 

Public Member Functions

bool changed () const
 
void changed (bool c)
 
void setup (Device< HalType, List0Type > *dev, uint8_t number, uint16_t addr)
 
uint8_t status () const
 
uint8_t flags () const
 
void status (uint8_t stat, uint16_t delay)
 
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, List1Type, List3Type, EmptyList, PeerCount, List0Type, 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, 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
 
List3Type getList3 (const Peer &p) const
 
List3Type 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::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
 

Public Attributes

uint8_t lastmsgcnt
 
- Public Attributes inherited from as::Alarm
uint32_t tick: 24
 

Additional Inherited Members

- Static Public Member Functions inherited from as::Channel< HalType, List1Type, List3Type, EmptyList, PeerCount, List0Type, EmptyList >
static bool hasList3 ()
 
static bool hasList4 ()
 
- Protected Types inherited from as::StateMachine< PeerList >
enum  { DELAY_NO =0x00, DELAY_INFINITE =0xffffffff }
 
- Protected Member Functions inherited from as::Channel< HalType, List1Type, List3Type, EmptyList, PeerCount, List0Type, EmptyList >
uint16_t peerAddress (uint8_t pidx) const
 
- Protected Member Functions inherited from as::StateMachine< PeerList >
virtual void trigger (__attribute__((unused)) AlarmClock &clock)
 
bool changed () const
 
void changed (bool c)
 
void setState (uint8_t next, uint32_t delay, const PeerList &lst=PeerList(0))
 
virtual void switchState (__attribute__((unused)) uint8_t oldstate, __attribute__((unused)) uint8_t newstate, __attribute__((unused)) uint32_t)
 
void jumpToTarget (const PeerList &lst)
 
virtual uint8_t getNextState (uint8_t stat)
 
virtual uint32_t getDelayForState (uint8_t stat, const PeerList &lst)
 
virtual uint32_t getDefaultDelay (uint8_t stat) const
 
bool delayActive () const
 
void triggerChanged (uint32_t delay)
 
uint8_t getJumpTarget (uint8_t stat, const PeerList &lst) const
 
uint8_t getConditionForState (uint8_t stat, const PeerList &lst) const
 
bool checkCondition (uint8_t stat, const PeerList &lst, uint8_t value)
 
- Protected Attributes inherited from as::StateMachine< PeerList >
uint8_t state: 4
 
bool change: 1
 
ChangedAlarm calarm
 
PeerList actlst
 
- Protected Attributes inherited from as::Alarm
bool m_Async: 4
 
bool m_Active: 4
 

Detailed Description

template<class HalType, class List1Type, class List3Type, int PeerCount, class List0Type, class StateMachine, class List2Type = EmptyList>
class as::ActorChannel< HalType, List1Type, List3Type, PeerCount, List0Type, StateMachine, List2Type >

Definition at line 263 of file Channel.h.