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::ThreadedObject ( )

Definition at line 12 of file ThreadedObject.cpp.

◆ ~ThreadedObject()

ThreadedObject::~ThreadedObject ( )

Definition at line 18 of file ThreadedObject.cpp.

Member Function Documentation

◆ isPausing()

bool ThreadedObject::isPausing ( )

Definition at line 32 of file ThreadedObject.cpp.

◆ isRunning()

bool ThreadedObject::isRunning ( )

Definition at line 36 of file ThreadedObject.cpp.

◆ notifyFinish()

void ThreadedObject::notifyFinish ( )

Definition at line 67 of file ThreadedObject.cpp.

◆ oneStep()

bool ThreadedObject::oneStep ( )
virtual

Reimplemented in Simulator, Simulator, SDLwindow, and Monitor.

Definition at line 40 of file ThreadedObject.cpp.

◆ pause()

void ThreadedObject::pause ( )

Definition at line 23 of file ThreadedObject.cpp.

◆ resume()

void ThreadedObject::resume ( void  )

Definition at line 27 of file ThreadedObject.cpp.

◆ start()

void ThreadedObject::start ( void  )

Definition at line 47 of file ThreadedObject.cpp.

◆ stop()

void ThreadedObject::stop ( void  )

Definition at line 54 of file ThreadedObject.cpp.

◆ wait()

void ThreadedObject::wait ( void  )

Definition at line 61 of file ThreadedObject.cpp.

Member Data Documentation

◆ m_isPausing

bool ThreadedObject::m_isPausing
private

Definition at line 21 of file ThreadedObject.h.

◆ m_isRunning

bool ThreadedObject::m_isRunning
private

Definition at line 21 of file ThreadedObject.h.

◆ m_sem

SDL_sem* ThreadedObject::m_sem
private

Definition at line 23 of file ThreadedObject.h.

◆ m_thread

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 Sat Dec 17 2022 03:52:22