Open Lighting Architecture  Latest Git
Public Types | Public Member Functions | List of all members
ola::plugin::stageprofi::StageProfiWidget Class Reference

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)
 

Constructor & Destructor Documentation

◆ StageProfiWidget()

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.

Parameters
ssThe SelectServer.
descriptorThe descriptor to use for the widget. Ownership is transferred.
widget_paththe path to the widget.
disconnect_cbCalled if the widget is disconnected.

Member Function Documentation

◆ GetPath()

std::string ola::plugin::stageprofi::StageProfiWidget::GetPath ( ) const
inline

Return the path for this widget.

Returns
Either a filesystem path, or an IP address.

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