TwiceAsNice  2019-02-18
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Nice::PlayThread Class Reference
Inheritance diagram for Nice::PlayThread:
Inheritance graph
Collaboration diagram for Nice::PlayThread:
Collaboration graph

Public Member Functions

void terminate ()
 
bool wasCommandExecutionSuccessful ()
 
 PlayThread (QString _cmd)
 
 PlayThread ()
 
- Public Member Functions inherited from Nice::Thread
 Thread ()
 
virtual ~Thread ()
 
IceUtil::ThreadControl start (size_t _stackSize=0, int prio=-1, int schedpolicy=-1, cpu_set_t *mask=0)
 
virtual bool terminated ()
 
virtual void cancel ()
 cancels a thread - this will throw an unknown exception More...
 
virtual void wait ()
 
virtual void sleep (const Nice::Time &_t)
 
virtual void yield ()
 
virtual void wakeupAt (const Nice::Time &_t)
 
 Thread ()
 
virtual ~Thread ()
 
IceUtil::ThreadControl start (size_t _stackSize=0, int prio=-1, int schedpolicy=-1, cpu_set_t *mask=0)
 
virtual bool terminated ()
 
virtual void cancel ()
 cancels a thread - this will throw an unknown exception More...
 
virtual void wait ()
 
virtual void sleep (const Nice::Time &_t)
 
virtual void yield ()
 
virtual void wakeupAt (const Nice::Time &_t)
 

Protected Member Functions

virtual void run ()
 

Private Attributes

QString m_cmd
 
bool m_interactive
 

Additional Inherited Members

- Protected Types inherited from Nice::Thread
enum  STATE {
  VALID, TERMINATED, CANCELED, VALID,
  TERMINATED, CANCELED
}
 
enum  STATE {
  VALID, TERMINATED, CANCELED, VALID,
  TERMINATED, CANCELED
}
 
- Protected Attributes inherited from Nice::Thread
Nice::Atomic< boolm_terminated
 

Constructor & Destructor Documentation

◆ PlayThread() [1/2]

PlayThread::PlayThread ( QString  _cmd)

◆ PlayThread() [2/2]

PlayThread::PlayThread ( )

Member Function Documentation

◆ run()

void PlayThread::run ( )
protectedvirtual

◆ terminate()

void PlayThread::terminate ( )
virtual

Reimplemented from Nice::Thread.

◆ wasCommandExecutionSuccessful()

bool PlayThread::wasCommandExecutionSuccessful ( )

Member Data Documentation

◆ m_cmd

QString Nice::PlayThread::m_cmd
private

◆ m_interactive

bool Nice::PlayThread::m_interactive
private

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