Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
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.
 
uint8_t SandnetUniverse (const Universe *universe) const
 Return the SandNet universe that corresponds to a OLA Universe.
 

Member Function Documentation

◆ SandnetGroup()

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

◆ SandnetUniverse()

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: