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

#include <MacroCollection.h>

Collaboration diagram for MacroCollection:
Collaboration graph

Public Member Functions

 MacroCollection (const std::vector< std::shared_ptr< Macro > > &macros)
 
 MacroCollection (const MacroCollection &other)=delete
 
 MacroCollection (MacroCollection &&other)=default
 
MacroCollectionoperator= (MacroCollection &&other)=default
 
std::array< uint8_t, 8 > getData (std::array< uint8_t, 8 > intitial, const std::function< std::array< uint8_t, 8 >(std::array< uint8_t, 8 >, std::array< uint8_t, 8 >)> mergeFunction)
 
void activateMacros ()
 
bool isMacroActive () const
 
void deactivateMacros ()
 
void pushBackMacro (std::shared_ptr< Macro > macro)
 

Constructor & Destructor Documentation

◆ MacroCollection() [1/3]

MacroCollection::MacroCollection ( const std::vector< std::shared_ptr< Macro > > &  macros)
inline

◆ MacroCollection() [2/3]

MacroCollection::MacroCollection ( const MacroCollection other)
delete

◆ MacroCollection() [3/3]

MacroCollection::MacroCollection ( MacroCollection &&  other)
default

Member Function Documentation

◆ activateMacros()

void MacroCollection::activateMacros ( )
inline

◆ deactivateMacros()

void MacroCollection::deactivateMacros ( )
inline

◆ getData()

std::array< uint8_t, 8 > MacroCollection::getData ( std::array< uint8_t, 8 >  intitial,
const std::function< std::array< uint8_t, 8 >(std::array< uint8_t, 8 >, std::array< uint8_t, 8 >)>  mergeFunction 
)
inline

◆ isMacroActive()

bool MacroCollection::isMacroActive ( ) const
inline

◆ operator=()

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

◆ pushBackMacro()

void MacroCollection::pushBackMacro ( std::shared_ptr< Macro macro)
inline

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