Loom
Variables
Include Namespace Reference

Possible sections of the module lookup table to include. More...

Variables

constexpr auto None = std::make_tuple()
 Empty block (used if a block of modules is disabled) More...
 
constexpr auto Common
 Common modules. More...
 
constexpr auto Radios
 Radios modules. More...
 
constexpr auto Max
 Max modules. More...
 
constexpr auto EthernetAndWiFi
 Ethernet and WiFi modules. More...
 
constexpr auto Ethernet
 Ethernet modules. More...
 
constexpr auto WiFi
 WiFi modules. More...
 
constexpr auto LTE
 LTE modules. More...
 
constexpr auto Sensors
 Sensor modules. More...
 
constexpr auto Actuators
 Actuator modules. More...
 

Detailed Description

Possible sections of the module lookup table to include.

Factory concatenates selected blocks to form its lookup table for module creation. Blocks are made up of tuples of NameModulePair

Variable Documentation

constexpr auto Include::Actuators
Initial value:
= std::make_tuple(
factory::NameModulePair{"Neopixel", Construct<Loom_Neopixel>, ConstructDefault<Loom_Neopixel> },
factory::NameModulePair{"Relay", Construct<Loom_Relay>, ConstructDefault<Loom_Relay> },
factory::NameModulePair{"Servo", Construct<Loom_Servo>, ConstructDefault<Loom_Servo> },
factory::NameModulePair{"Stepper", Construct<Loom_Stepper>, ConstructDefault<Loom_Stepper> }
)
Struct to contain the elements of factory lookup table.
Definition: Module_Factory.h:121

Actuator modules.

constexpr auto Include::Common
Initial value:
= std::make_tuple(
factory::NameModulePair{"Interrupt_Manager", Construct<Loom_Interrupt_Manager>, ConstructDefault<Loom_Interrupt_Manager> },
factory::NameModulePair{"WarmUp_Manager", Construct<Loom_WarmUp_Manager>, ConstructDefault<Loom_WarmUp_Manager> },
factory::NameModulePair{"Sleep_Manager", Construct<Loom_Sleep_Manager>, ConstructDefault<Loom_Sleep_Manager> },
factory::NameModulePair{"Analog", Construct<Loom_Analog>, ConstructDefault<Loom_Analog> },
factory::NameModulePair{"Digital", Construct<Loom_Digital>, ConstructDefault<Loom_Digital> },
factory::NameModulePair{"OLED", Construct<Loom_OLED>, ConstructDefault<Loom_OLED> },
factory::NameModulePair{"SD", Construct<Loom_SD>, ConstructDefault<Loom_SD> },
factory::NameModulePair{"BatchSD", Construct<Loom_BatchSD>, ConstructDefault<Loom_BatchSD> },
factory::NameModulePair{"DS3231", Construct<Loom_DS3231>, ConstructDefault<Loom_DS3231> },
factory::NameModulePair{"PCF8523", Construct<Loom_PCF8523>, ConstructDefault<Loom_PCF8523> }
)
Struct to contain the elements of factory lookup table.
Definition: Module_Factory.h:121

Common modules.

constexpr auto Include::Ethernet
Initial value:
= std::make_tuple(
factory::NameModulePair{"Ethernet", Construct<Loom_Ethernet>, ConstructDefault<Loom_Ethernet> },
factory::NameModulePair{"GoogleSheets", Construct<Loom_GoogleSheets>, nullptr },
factory::NameModulePair{"NTP_Sync", Construct<LoomNTPSync>, ConstructDefault<LoomNTPSync> }
)
Struct to contain the elements of factory lookup table.
Definition: Module_Factory.h:121

Ethernet modules.

constexpr auto Include::EthernetAndWiFi
Initial value:
= std::make_tuple(
factory::NameModulePair{"Ethernet", Construct<Loom_Ethernet>, ConstructDefault<Loom_Ethernet> },
factory::NameModulePair{"WiFi", Construct<Loom_WiFi>, ConstructDefault<Loom_WiFi> },
factory::NameModulePair{"GoogleSheets", Construct<Loom_GoogleSheets>, nullptr },
factory::NameModulePair{"NTP_Sync", Construct<LoomNTPSync>, ConstructDefault<LoomNTPSync> }
)
Struct to contain the elements of factory lookup table.
Definition: Module_Factory.h:121

Ethernet and WiFi modules.

constexpr auto Include::LTE
Initial value:
= std::make_tuple(
factory::NameModulePair{"LTE", Construct<Loom_LTE>, ConstructDefault<Loom_LTE> },
factory::NameModulePair{"GoogleSheets", Construct<Loom_GoogleSheets>, nullptr },
factory::NameModulePair{"NTP_Sync", Construct<LoomNTPSync>, ConstructDefault<LoomNTPSync> }
)
Struct to contain the elements of factory lookup table.
Definition: Module_Factory.h:121

LTE modules.

constexpr auto Include::Max
Initial value:
= std::make_tuple(
factory::NameModulePair{"MaxPub", Construct<Loom_MaxPub>, nullptr },
factory::NameModulePair{"MaxSub", Construct<Loom_MaxSub>, nullptr }
)
Struct to contain the elements of factory lookup table.
Definition: Module_Factory.h:121

Max modules.

constexpr auto Include::None = std::make_tuple()

Empty block (used if a block of modules is disabled)

constexpr auto Include::Radios
Initial value:
= std::make_tuple(
factory::NameModulePair{"LoRa", Construct<Loom_LoRa>, ConstructDefault<Loom_LoRa> },
factory::NameModulePair{"nRF", Construct<Loom_nRF>, ConstructDefault<Loom_nRF> },
factory::NameModulePair{"Bluetooth", Construct<Loom_Bluetooth>, ConstructDefault<Loom_Bluetooth> }
)
Struct to contain the elements of factory lookup table.
Definition: Module_Factory.h:121

Radios modules.

constexpr auto Include::Sensors

Sensor modules.

constexpr auto Include::WiFi
Initial value:
= std::make_tuple(
factory::NameModulePair{"WiFi", Construct<Loom_WiFi>, ConstructDefault<Loom_WiFi> },
factory::NameModulePair{"GoogleSheets", Construct<Loom_GoogleSheets>, nullptr },
factory::NameModulePair{"NTP_Sync", Construct<LoomNTPSync>, ConstructDefault<LoomNTPSync> }
)
Struct to contain the elements of factory lookup table.
Definition: Module_Factory.h:121

WiFi modules.