Open Lighting Architecture
Latest Git
|
Public Types | |
typedef ola::SingleUseCallback0< void > | DisconnectCallback |
Public Member Functions | |
StageProfiWidget (ola::io::SelectServerInterface *ss, ola::io::ConnectedDescriptor *descriptor, const std::string &widget_path, DisconnectCallback *disconnect_cb) | |
Create a new StageProfiWidget. More... | |
~StageProfiWidget () | |
Destructor. | |
std::string | GetPath () const |
Return the path for this widget. More... | |
bool | SendDmx (const DmxBuffer &buffer) |
ola::plugin::stageprofi::StageProfiWidget::StageProfiWidget | ( | ola::io::SelectServerInterface * | ss, |
ola::io::ConnectedDescriptor * | descriptor, | ||
const std::string & | widget_path, | ||
DisconnectCallback * | disconnect_cb | ||
) |
Create a new StageProfiWidget.
ss | The SelectServer. |
descriptor | The descriptor to use for the widget. Ownership is transferred. |
widget_path | the path to the widget. |
disconnect_cb | Called if the widget is disconnected. |
|
inline |
Return the path for this widget.