Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ola::plugin::sandnet::SandNetPortHelper Class Reference

Public Member Functions

bool PreSetUniverse (Universe *old_universe, Universe *new_universe)
 
std::string Description (const Universe *universe) const
 
uint8_t SandnetGroup (const Universe *universe) const
 Return the SandNet group that corresponds to a OLA Universe. More...
 
uint8_t SandnetUniverse (const Universe *universe) const
 Return the SandNet universe that corresponds to a OLA Universe. More...
 

Member Function Documentation

uint8_t ola::plugin::sandnet::SandNetPortHelper::SandnetGroup ( const Universe universe) const

Return the SandNet group that corresponds to a OLA Universe.

Parameters
universethe OLA universe
Returns
the SandNet group number
uint8_t ola::plugin::sandnet::SandNetPortHelper::SandnetUniverse ( const Universe universe) const

Return the SandNet universe that corresponds to a OLA Universe.

Sandnet universes range from 0 to 255 (represented as 1 to 256 in the packets).

Parameters
universethe OLA universe
Returns
the sandnet universe number

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