#include <component.h>
◆ State
| Enumerator |
|---|
| Uninitialized | |
| Initialized | |
| ShuttingDown | |
| Inert | The component doesn't require shutting down.
|
◆ ComponentContainer()
| ttv::ComponentContainer::ComponentContainer |
( |
| ) |
|
◆ ~ComponentContainer()
| virtual ttv::ComponentContainer::~ComponentContainer |
( |
| ) |
|
|
virtual |
◆ AddComponent()
◆ CheckShutdown()
| virtual bool ttv::ComponentContainer::CheckShutdown |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ CompleteShutdown()
| virtual void ttv::ComponentContainer::CompleteShutdown |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ CompleteTask()
| void ttv::Component::CompleteTask |
( |
Task * |
task | ) |
|
|
protectedinherited |
◆ ContainsComponent()
| bool ttv::ComponentContainer::ContainsComponent |
( |
std::shared_ptr< IComponent > |
component | ) |
const |
Determines if the given component is stored in the container.
◆ DisposeComponent() [1/2]
◆ DisposeComponent() [2/2]
| virtual TTV_ErrorCode ttv::ComponentContainer::DisposeComponent |
( |
const std::string & |
name | ) |
|
|
virtual |
◆ GetComponent() [1/2]
| virtual TTV_ErrorCode ttv::ComponentContainer::GetComponent |
( |
const std::string & |
name, |
|
|
std::shared_ptr< IComponent > & |
result |
|
) |
| |
|
virtual |
◆ GetComponent() [2/2]
template<typename T >
| std::shared_ptr<T> ttv::ComponentContainer::GetComponent |
( |
| ) |
|
|
inline |
◆ GetComponentAs()
template<typename T >
| std::shared_ptr<T> ttv::ComponentContainer::GetComponentAs |
( |
const std::string & |
name | ) |
|
|
inline |
◆ GetLoggerName()
| virtual std::string ttv::ComponentContainer::GetLoggerName |
( |
| ) |
const |
|
overridevirtual |
◆ GetState()
| virtual State ttv::Component::GetState |
( |
| ) |
const |
|
overridevirtualinherited |
◆ GetTaskRunner()
| std::shared_ptr<TaskRunner> ttv::Component::GetTaskRunner |
( |
| ) |
|
|
inlineinherited |
◆ Initialize()
◆ IsTaskRunning()
| bool ttv::Component::IsTaskRunning |
( |
Task * |
task | ) |
const |
|
protectedinherited |
◆ RemoveComponent() [1/2]
◆ RemoveComponent() [2/2]
| virtual TTV_ErrorCode ttv::ComponentContainer::RemoveComponent |
( |
const std::string & |
name | ) |
|
|
virtual |
◆ SetClientState()
| virtual void ttv::Component::SetClientState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetComponent()
| virtual TTV_ErrorCode ttv::ComponentContainer::SetComponent |
( |
const std::string & |
name, |
|
|
std::shared_ptr< IComponent > |
component |
|
) |
| |
|
virtual |
◆ SetServerState()
| virtual void ttv::Component::SetServerState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetState()
| virtual void ttv::Component::SetState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetTaskRunner()
| virtual void ttv::Component::SetTaskRunner |
( |
std::shared_ptr< TaskRunner > |
taskRunner | ) |
|
|
virtualinherited |
◆ Shutdown()
◆ StartTask()
◆ Update()
| virtual void ttv::ComponentContainer::Update |
( |
| ) |
|
|
overridevirtual |
◆ mComponentMap
| std::map<std::string, std::shared_ptr<IComponent> > ttv::ComponentContainer::mComponentMap |
|
protected |
◆ mComponents
| std::vector<std::shared_ptr<IComponent> > ttv::ComponentContainer::mComponents |
|
protected |
◆ mDisposeComponents
| std::vector<std::shared_ptr<IComponent> > ttv::ComponentContainer::mDisposeComponents |
|
protected |
◆ mMutex
| std::shared_ptr<IMutex> ttv::ComponentContainer::mMutex |
|
protected |
◆ mRunningTasks
| std::vector<std::shared_ptr<Task> > ttv::Component::mRunningTasks |
|
protectedinherited |
◆ mShutdownTimeMilliseconds
| uint64_t ttv::Component::mShutdownTimeMilliseconds |
|
protectedinherited |
◆ mState
◆ mTaskMutex
| std::mutex ttv::Component::mTaskMutex |
|
mutableprotectedinherited |
◆ mTaskRunner
| std::shared_ptr<TaskRunner> ttv::Component::mTaskRunner |
|
protectedinherited |
The documentation for this class was generated from the following file:
- modules/core/core_common/include/twitchsdk/core/component.h