Switch Controller
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Macro Class Reference

#include <Macro.h>

Collaboration diagram for Macro:
Collaboration graph

Public Member Functions

 Macro ()
 
 Macro (const std::vector< Action > &actionVector, const std::function< bool()> &activateEvent, const std::function< std::weak_ptr< Macro >()> &decider)
 
 Macro (const Macro &other)=delete
 
 Macro (Macro &&other)=default
 
Macrooperator= (Macro &&other)=default
 
std::shared_ptr< MacrogetNextMacro () const
 
std::optional< std::array< uint8_t, 8 > > getDataframe (uint64_t time) const
 
bool active () const
 

Constructor & Destructor Documentation

◆ Macro() [1/4]

Macro::Macro ( )
inline

◆ Macro() [2/4]

Macro::Macro ( const std::vector< Action > &  actionVector,
const std::function< bool()> &  activateEvent,
const std::function< std::weak_ptr< Macro >()> &  decider 
)
inline

◆ Macro() [3/4]

Macro::Macro ( const Macro other)
delete

◆ Macro() [4/4]

Macro::Macro ( Macro &&  other)
default

Member Function Documentation

◆ active()

bool Macro::active ( ) const
inline

◆ getDataframe()

std::optional< std::array< uint8_t, 8 > > Macro::getDataframe ( uint64_t  time) const
inline

◆ getNextMacro()

std::shared_ptr< Macro > Macro::getNextMacro ( ) const
inline

◆ operator=()

Macro & Macro::operator= ( Macro &&  other)
default

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