Public Member Functions | Private Attributes | List of all members
RWLockTestThread Class Reference
Inheritance diagram for RWLockTestThread:
Inheritance graph
[legend]

Public Member Functions

bool hasRun () const
 
virtual void run ()
 
 RWLockTestThread (RWLock *rwlock, bool read_lock)
 
virtual ~RWLockTestThread ()
 
- Public Member Functions inherited from icl_core::thread::Thread
void cancel ()
 
bool checkHardRealtime ()
 
bool execute () const
 
bool executesHardRealtime () const
 
icl_core::String getDescription () const
 
bool isHardRealtime () const
 
void join ()
 
virtual void onStop ()
 
icl_core::ThreadPriority priority () const
 
bool running () const
 
void setDescription (const icl_core::String &description)
 
bool setHardRealtime (bool hard_realtime=true)
 
bool setPriority (icl_core::ThreadPriority priority)
 
bool start ()
 
void stop ()
 
 Thread (const icl_core::String &description, icl_core::ThreadPriority priority=0)
 
icl_core::ThreadId threadId () const
 
const char * threadInfo () const
 
bool threadSelf () const
 
bool wait ()
 
bool wait (const icl_core::TimeStamp &timeout)
 
bool wait (const icl_core::TimeSpan &timeout)
 
virtual ~Thread ()
 

Private Attributes

bool m_has_run
 
bool m_read_lock
 
RWLockm_rwlock
 

Additional Inherited Members

- Static Public Member Functions inherited from icl_core::thread::Thread
static icl_core::ThreadId selfId ()
 
- Protected Member Functions inherited from icl_core::Noncopyable
 Noncopyable ()
 
virtual ~Noncopyable ()
 

Detailed Description

Definition at line 35 of file ts_RWLock.cpp.

Constructor & Destructor Documentation

RWLockTestThread::RWLockTestThread ( RWLock rwlock,
bool  read_lock 
)
inline

Definition at line 38 of file ts_RWLock.cpp.

virtual RWLockTestThread::~RWLockTestThread ( )
inlinevirtual

Definition at line 45 of file ts_RWLock.cpp.

Member Function Documentation

bool RWLockTestThread::hasRun ( ) const
inline

Definition at line 70 of file ts_RWLock.cpp.

virtual void RWLockTestThread::run ( )
inlinevirtual

This is the function running in the thread. This has to be reimplemented from derived classes. If you start the thread by calling Start() this function is executed in the thread. If you call don't want that function to be executed in the thread you could call it directly in your derived class.

Implements icl_core::thread::Thread.

Definition at line 48 of file ts_RWLock.cpp.

Member Data Documentation

bool RWLockTestThread::m_has_run
private

Definition at line 73 of file ts_RWLock.cpp.

bool RWLockTestThread::m_read_lock
private

Definition at line 74 of file ts_RWLock.cpp.

RWLock* RWLockTestThread::m_rwlock
private

Definition at line 75 of file ts_RWLock.cpp.


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


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59