Open Lighting Architecture  0.9.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::plugin::uartdmx::UartDmxThread Class Reference
Inheritance diagram for ola::plugin::uartdmx::UartDmxThread:
ola::thread::Thread

Public Member Functions

 UartDmxThread (UartWidget *widget, unsigned int breakt, unsigned int malft)
bool Stop ()
void * Run ()
bool WriteDMX (const DmxBuffer &buffer)
- Public Member Functions inherited from ola::thread::Thread
 Thread (const Options &options=Options())
 Create a new thread with the specified thread options.
virtual ~Thread ()
 Destructor.
virtual bool Start ()
 Start the thread and wait for the thread to be running.
virtual bool FastStart ()
 Start the thread and return immediately.
virtual bool Join (void *ptr=NULL)
 Join this thread.
bool IsRunning ()
 Check if the thread is running.
ThreadId Id () const
 Return the thread id.
std::string Name () const
 Return the thread name.

Additional Inherited Members

- Static Public Member Functions inherited from ola::thread::Thread
static ThreadId Self ()
 Returns the current thread's id.

Member Function Documentation

void * ola::plugin::uartdmx::UartDmxThread::Run ( )
virtual

The method called by the thread

Implements ola::thread::Thread.

bool ola::plugin::uartdmx::UartDmxThread::Stop ( )

Stop this thread

bool ola::plugin::uartdmx::UartDmxThread::WriteDMX ( const DmxBuffer buffer)

Copy a DMXBuffer to the output thread


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