webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
webrtc::EventTimerPosixTest Class Reference
Inheritance diagram for webrtc::EventTimerPosixTest:
testing::Test webrtc::EventTimerPosix webrtc::EventTimerWrapper webrtc::EventTimerWrapper webrtc::EventWrapper webrtc::EventWrapper webrtc::EventWrapper webrtc::EventWrapper

Public Member Functions

 EventTimerPosixTest ()
 
virtual ~EventTimerPosixTest ()
 
rtc::PlatformThreadCreateThread () override
 
bool Process ()
 
bool ProcessInternal ()
 
bool IsProcessThread ()
 
bool ChangeThreadState (ThreadState prev_state, ThreadState new_state)
 
bool AwaitThreadState (ThreadState state, int timeout)
 
bool CallProcess (int timeout_ms)
 
bool AwaitProcessDone (int timeout_ms)
 
void TearDown () override
 
- Public Member Functions inherited from webrtc::EventTimerPosix
 EventTimerPosix ()
 
 ~EventTimerPosix () override
 
EventTypeWrapper Wait (unsigned long max_time) override
 
bool Set () override
 
bool StartTimer (bool periodic, unsigned long time) override
 
bool StopTimer () override
 
 EventTimerPosix ()
 
 ~EventTimerPosix () override
 
EventTypeWrapper Wait (unsigned long max_time) override
 
bool Set () override
 
bool StartTimer (bool periodic, unsigned long time) override
 
bool StopTimer () override
 
- Public Member Functions inherited from webrtc::EventWrapper
virtual ~EventWrapper ()
 
virtual ~EventWrapper ()
 

Static Public Member Functions

static bool Run (void *obj)
 
- Static Public Member Functions inherited from webrtc::EventTimerWrapper
static EventTimerWrapperCreate ()
 
static EventTimerWrapperCreate ()
 
- Static Public Member Functions inherited from webrtc::EventWrapper
static EventWrapperCreate ()
 
static EventWrapperCreate ()
 

Public Attributes

ThreadState thread_state_
 
rtc::CriticalSection lock_
 
rtc::Event process_event_
 
rtc::Event main_event_
 
rtc::PlatformThreadId process_thread_id_
 
rtc::PlatformThreadprocess_thread_
 

Additional Inherited Members

- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 

Constructor & Destructor Documentation

◆ EventTimerPosixTest()

webrtc::EventTimerPosixTest::EventTimerPosixTest ( )
inline

◆ ~EventTimerPosixTest()

virtual webrtc::EventTimerPosixTest::~EventTimerPosixTest ( )
inlinevirtual

Member Function Documentation

◆ AwaitProcessDone()

bool webrtc::EventTimerPosixTest::AwaitProcessDone ( int  timeout_ms)
inline

◆ AwaitThreadState()

bool webrtc::EventTimerPosixTest::AwaitThreadState ( ThreadState  state,
int  timeout 
)
inline

◆ CallProcess()

bool webrtc::EventTimerPosixTest::CallProcess ( int  timeout_ms)
inline

◆ ChangeThreadState()

bool webrtc::EventTimerPosixTest::ChangeThreadState ( ThreadState  prev_state,
ThreadState  new_state 
)
inline

◆ CreateThread()

rtc::PlatformThread* webrtc::EventTimerPosixTest::CreateThread ( )
inlineoverridevirtual

Reimplemented from webrtc::EventTimerPosix.

◆ IsProcessThread()

bool webrtc::EventTimerPosixTest::IsProcessThread ( )
inline

◆ Process()

bool webrtc::EventTimerPosixTest::Process ( )
inline

◆ ProcessInternal()

bool webrtc::EventTimerPosixTest::ProcessInternal ( )
inline

◆ Run()

static bool webrtc::EventTimerPosixTest::Run ( void obj)
inlinestatic

◆ TearDown()

void webrtc::EventTimerPosixTest::TearDown ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Member Data Documentation

◆ lock_

rtc::CriticalSection webrtc::EventTimerPosixTest::lock_

◆ main_event_

rtc::Event webrtc::EventTimerPosixTest::main_event_

◆ process_event_

rtc::Event webrtc::EventTimerPosixTest::process_event_

◆ process_thread_

rtc::PlatformThread* webrtc::EventTimerPosixTest::process_thread_

◆ process_thread_id_

rtc::PlatformThreadId webrtc::EventTimerPosixTest::process_thread_id_

◆ thread_state_

ThreadState webrtc::EventTimerPosixTest::thread_state_

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