Apollo  6.0
Open source self driving car software
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
apollo::cyber::scheduler::ClassicContext Class Reference

#include <classic_context.h>

Inheritance diagram for apollo::cyber::scheduler::ClassicContext:
Inheritance graph
Collaboration diagram for apollo::cyber::scheduler::ClassicContext:
Collaboration graph

Public Member Functions

 ClassicContext ()
 
 ClassicContext (const std::string &group_name)
 
std::shared_ptr< CRoutineNextRoutine () override
 
void Wait () override
 
void Shutdown () override
 

Static Public Member Functions

static void Notify (const std::string &group_name)
 
static bool RemoveCRoutine (const std::shared_ptr< CRoutine > &cr)
 

Static Public Attributes

static CR_GROUP cr_group_
 
static RQ_LOCK_GROUP rq_locks_
 
static GRP_WQ_CV cv_wq_
 
static GRP_WQ_MUTEX mtx_wq_
 
static NOTIFY_GRP notify_grp_
 

Additional Inherited Members

- Protected Attributes inherited from apollo::cyber::scheduler::ProcessorContext
std::atomic< bool > stop_ {false}
 

Constructor & Destructor Documentation

◆ ClassicContext() [1/2]

apollo::cyber::scheduler::ClassicContext::ClassicContext ( )

◆ ClassicContext() [2/2]

apollo::cyber::scheduler::ClassicContext::ClassicContext ( const std::string &  group_name)
explicit

Member Function Documentation

◆ NextRoutine()

std::shared_ptr<CRoutine> apollo::cyber::scheduler::ClassicContext::NextRoutine ( )
overridevirtual

◆ Notify()

static void apollo::cyber::scheduler::ClassicContext::Notify ( const std::string &  group_name)
static

◆ RemoveCRoutine()

static bool apollo::cyber::scheduler::ClassicContext::RemoveCRoutine ( const std::shared_ptr< CRoutine > &  cr)
static

◆ Shutdown()

void apollo::cyber::scheduler::ClassicContext::Shutdown ( )
overridevirtual

◆ Wait()

void apollo::cyber::scheduler::ClassicContext::Wait ( )
overridevirtual

Member Data Documentation

◆ cr_group_

CR_GROUP apollo::cyber::scheduler::ClassicContext::cr_group_
static

◆ cv_wq_

GRP_WQ_CV apollo::cyber::scheduler::ClassicContext::cv_wq_
static

◆ mtx_wq_

GRP_WQ_MUTEX apollo::cyber::scheduler::ClassicContext::mtx_wq_
static

◆ notify_grp_

NOTIFY_GRP apollo::cyber::scheduler::ClassicContext::notify_grp_
static

◆ rq_locks_

RQ_LOCK_GROUP apollo::cyber::scheduler::ClassicContext::rq_locks_
static

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