Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ConcurrencyApplication Class Reference
Collaboration diagram for Arcane::ConcurrencyApplication:

Public Member Functions

void setTraceMng (ReferenceCounter< ITraceMng > tm)
void setCoreServices (const ConcurrencyApplicationBuildInfo &build_info)
template<typename InterfaceType>
Ref< InterfaceType > tryCreateServiceUsingInjector (ConstArrayView< String > names, String *found_name, bool has_trace)

Public Attributes

ReferenceCounter< ITraceMngm_trace
 Trace manager.
Ref< IStackTraceServicem_stack_trace_service
Ref< ISymbolizerServicem_symbolizer_service
Ref< IThreadImplementationServicem_thread_implementation_service
Ref< IThreadImplementationm_thread_implementation
Ref< ITaskImplementationm_task_implementation
String m_used_thread_service_name
 Name of the service used to manage threads.
String m_used_task_service_name
 Name of the service used to manage tasks.

Detailed Description

Definition at line 70 of file ConcurrencyApplication.h.

Member Function Documentation

◆ setCoreServices()

void Arcane::ConcurrencyApplication::setCoreServices ( const ConcurrencyApplicationBuildInfo & build_info)

Definition at line 70 of file ConcurrencyApplication.cc.

◆ setTraceMng()

void Arcane::ConcurrencyApplication::setTraceMng ( ReferenceCounter< ITraceMng > tm)
inline

Definition at line 74 of file ConcurrencyApplication.h.

◆ tryCreateServiceUsingInjector()

template<typename InterfaceType>
Ref< InterfaceType > Arcane::ConcurrencyApplication::tryCreateServiceUsingInjector ( ConstArrayView< String > names,
String * found_name,
bool has_trace )

Tries to instantiate a service implementing InterfaceType with the list of service names names. Returns the found instance if it exists and fills found_name (if not null) with the instance name. As soon as an instance is found, it is returned. Returns nullptr if no instance is available.

Definition at line 45 of file ConcurrencyApplication.cc.

References m_trace.

Member Data Documentation

◆ m_stack_trace_service

Ref<IStackTraceService> Arcane::ConcurrencyApplication::m_stack_trace_service

Definition at line 83 of file ConcurrencyApplication.h.

◆ m_symbolizer_service

Ref<ISymbolizerService> Arcane::ConcurrencyApplication::m_symbolizer_service

Definition at line 84 of file ConcurrencyApplication.h.

◆ m_task_implementation

Ref<ITaskImplementation> Arcane::ConcurrencyApplication::m_task_implementation

Definition at line 87 of file ConcurrencyApplication.h.

◆ m_thread_implementation

Ref<IThreadImplementation> Arcane::ConcurrencyApplication::m_thread_implementation

Definition at line 86 of file ConcurrencyApplication.h.

◆ m_thread_implementation_service

Ref<IThreadImplementationService> Arcane::ConcurrencyApplication::m_thread_implementation_service

Definition at line 85 of file ConcurrencyApplication.h.

◆ m_trace

ReferenceCounter<ITraceMng> Arcane::ConcurrencyApplication::m_trace

Trace manager.

Definition at line 82 of file ConcurrencyApplication.h.

Referenced by tryCreateServiceUsingInjector().

◆ m_used_task_service_name

String Arcane::ConcurrencyApplication::m_used_task_service_name

Name of the service used to manage tasks.

Definition at line 91 of file ConcurrencyApplication.h.

◆ m_used_thread_service_name

String Arcane::ConcurrencyApplication::m_used_thread_service_name

Name of the service used to manage threads.

Definition at line 89 of file ConcurrencyApplication.h.


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