Public Member Functions | Private Attributes | List of all members
ThreadedObject Class Reference

#include <ThreadedObject.h>

Inheritance diagram for ThreadedObject:
Inheritance graph
[legend]

Public Member Functions

bool isPausing ()
 
bool isRunning ()
 
void notifyFinish ()
 
virtual bool oneStep ()
 
void pause ()
 
void resume ()
 
void start ()
 
void stop ()
 
 ThreadedObject ()
 
void wait ()
 
 ~ThreadedObject ()
 

Private Attributes

bool m_isPausing
 
bool m_isRunning
 
SDL_sem * m_sem
 
SDL_Thread * m_thread
 

Detailed Description

Definition at line 6 of file ThreadedObject.h.

Constructor & Destructor Documentation

ThreadedObject::ThreadedObject ( )

Definition at line 12 of file ThreadedObject.cpp.

ThreadedObject::~ThreadedObject ( )

Definition at line 18 of file ThreadedObject.cpp.

Member Function Documentation

bool ThreadedObject::isPausing ( )

Definition at line 32 of file ThreadedObject.cpp.

bool ThreadedObject::isRunning ( )

Definition at line 36 of file ThreadedObject.cpp.

void ThreadedObject::notifyFinish ( )

Definition at line 67 of file ThreadedObject.cpp.

bool ThreadedObject::oneStep ( )
virtual

Reimplemented in Simulator, Simulator, SDLwindow, and Monitor.

Definition at line 40 of file ThreadedObject.cpp.

void ThreadedObject::pause ( )

Definition at line 23 of file ThreadedObject.cpp.

void ThreadedObject::resume ( void  )

Definition at line 27 of file ThreadedObject.cpp.

void ThreadedObject::start ( void  )

Definition at line 47 of file ThreadedObject.cpp.

void ThreadedObject::stop ( void  )

Definition at line 54 of file ThreadedObject.cpp.

void ThreadedObject::wait ( void  )

Definition at line 61 of file ThreadedObject.cpp.

Member Data Documentation

bool ThreadedObject::m_isPausing
private

Definition at line 21 of file ThreadedObject.h.

bool ThreadedObject::m_isRunning
private

Definition at line 21 of file ThreadedObject.h.

SDL_sem* ThreadedObject::m_sem
private

Definition at line 23 of file ThreadedObject.h.

SDL_Thread* ThreadedObject::m_thread
private

Definition at line 22 of file ThreadedObject.h.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:53