Accessories
Arduino for motors and lights library.
GroupStateItem Class Reference

#include "AccessoryGroup.hpp"

Public Member Functions

 GroupStateItem ()
 
 GroupStateItem (Accessory *inpAccessory, ACC_STATE inState, unsigned int inDelay = 0)
 

Friends

class GroupState
 

Detailed Description

This class describes a group state item : a particular state for a particular accessory.

Definition at line 15 of file AccessoryGroup.hpp.

Constructor & Destructor Documentation

GroupStateItem::GroupStateItem ( )
inline

Default constructor.

Definition at line 29 of file AccessoryGroup.hpp.

GroupStateItem::GroupStateItem ( Accessory inpAccessory,
ACC_STATE  inState,
unsigned int  inDelay = 0 
)
inline

Full constructor.

Parameters
inpAccessoryAddress of the accessory.
inStatestate to reach.
inDelayThe delay gives a duration of the movement, to ensure that this movement is finished before starting the next one.Only used in asynchronous group state. Default is 0.

Definition at line 35 of file AccessoryGroup.hpp.


The documentation for this class was generated from the following file: