Open Lighting Architecture  0.9.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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.
 ~StageProfiWidget ()
 Destructor.
std::string GetPath () const
 Return the path for this widget.
bool SendDmx (const DmxBuffer &buffer)

Constructor & Destructor Documentation

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

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: