#include <bitsconfigrepository.h>
◆ LookupCallback
◆ LookupId
◆ State
| Enumerator |
|---|
| Uninitialized | |
| Initialized | |
| ShuttingDown | |
| Inert | The component doesn't require shutting down.
|
◆ BitsConfigRepository()
| ttv::chat::BitsConfigRepository::BitsConfigRepository |
( |
| ) |
|
◆ CacheBitsConfig()
◆ CancelFetch()
Cancel the fetching of the bits if the task to fetch the bitsconfioguration hasn't been added to the taskrunner yet.
- Parameters
-
| [in] | token | LookupId of the bitsConfiguration fetch to cancel. |
◆ CheckShutdown()
| virtual bool ttv::chat::BitsConfigRepository::CheckShutdown |
( |
| ) |
|
|
overrideprivatevirtual |
◆ CompleteShutdown()
| virtual void ttv::chat::BitsConfigRepository::CompleteShutdown |
( |
| ) |
|
|
overrideprivatevirtual |
◆ CompleteTask()
| void ttv::Component::CompleteTask |
( |
Task * |
task | ) |
|
|
protectedinherited |
◆ FetchChannelBitsConfiguration() [1/2]
Returns channel cached bits config or fetches if needed.
◆ FetchChannelBitsConfiguration() [2/2]
◆ FetchGlobalBitsConfiguration() [1/2]
Returns global cached bits config or fetches if needed.
◆ FetchGlobalBitsConfiguration() [2/2]
Fetch the bits configuration with a cancellation token.
- Parameters
-
| [out] | token | LookupId of the bitsConfiguration fetch to (possibly) cancel later with CancelFetch. |
◆ GetLoggerName()
| virtual std::string ttv::chat::BitsConfigRepository::GetLoggerName |
( |
| ) |
const |
|
overridevirtual |
◆ GetState()
| virtual State ttv::Component::GetState |
( |
| ) |
const |
|
overridevirtualinherited |
◆ GetTaskRunner()
| std::shared_ptr<TaskRunner> ttv::Component::GetTaskRunner |
( |
| ) |
|
|
inlineinherited |
◆ Initialize()
Implements ttv::IComponent.
Reimplemented in ttv::broadcast::Streamer, ttv::PubSubClient, ttv::ComponentContainer, ttv::UserComponent, ttv::UserRepository, ttv::social::FriendList, ttv::broadcast::IngestTester, ttv::User, ttv::chat::ChatUserThreads, ttv::social::Presence, ttv::chat::ChatReplay, ttv::chat::BitsStatus, ttv::chat::UserEmoticonSets, ttv::ChannelStatus, and ttv::PubSubComponentBase.
◆ IsTaskRunning()
| bool ttv::Component::IsTaskRunning |
( |
Task * |
task | ) |
const |
|
protectedinherited |
◆ ScheduleLookup()
| TTV_ErrorCode ttv::chat::BitsConfigRepository::ScheduleLookup |
( |
| ) |
|
|
private |
◆ SetClientState()
| virtual void ttv::Component::SetClientState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ 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()
| virtual TTV_ErrorCode ttv::chat::BitsConfigRepository::Shutdown |
( |
| ) |
|
|
overridevirtual |
◆ StartTask()
◆ Update()
| virtual void ttv::chat::BitsConfigRepository::Update |
( |
| ) |
|
|
overridevirtual |
◆ mBitsConfigCache
◆ mCancelledBitsConfigLookups
◆ mChannelLookups
◆ mCurrentLookupId
| LookupId ttv::chat::BitsConfigRepository::mCurrentLookupId |
|
private |
◆ mLookupInProgress
| bool ttv::chat::BitsConfigRepository::mLookupInProgress |
|
private |
◆ mPendingBitsConfigLookups
◆ 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: