Open Lighting Architecture  0.9.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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.
uint8_t SandnetUniverse (const Universe *universe) const
 Return the SandNet universe that corresponds to a OLA Universe.

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: