#include <chatchannelset.h>
|
| void | ChatChannelStateChanged (UserId userId, ChannelId channelId, ChatChannelState state, TTV_ErrorCode ec) |
| |
| void | ChatChannelInfoChanged (UserId userId, ChannelId channelId, const ChatChannelInfo &channelInfo) |
| |
| void | ChatChannelRestrictionsChanged (UserId userId, ChannelId channelId, const ChatChannelRestrictions &restrictions) |
| |
| void | ChatChannelLocalUserChanged (UserId userId, ChannelId channelId, const ChatUserInfo &userInfo) |
| |
| void | ChatChannelMessagesReceived (UserId userId, ChannelId channelId, const std::vector< LiveChatMessage > &messageList) |
| |
| void | ChatChannelSubscriptionNoticeReceived (UserId userId, ChannelId channelId, const SubscriptionNotice ¬ice) |
| |
| void | ChatChannelFirstTimeChatterNoticeReceived (UserId userId, ChannelId channelId, const FirstTimeChatterNotice ¬ice) |
| |
| void | ChatChannelRaidNoticeReceived (UserId userId, ChannelId channelId, const RaidNotice ¬ice) |
| |
| void | ChatChannelUnraidNoticeReceived (UserId userId, ChannelId channelId, const UnraidNotice ¬ice) |
| |
| void | ChatChannelMessagesCleared (UserId userId, ChannelId channelId) |
| |
| void | ChatChannelUserMessagesCleared (UserId userId, ChannelId channelId, UserId clearUserId) |
| |
| void | ChatChannelHostTargetChanged (UserId userId, ChannelId channelId, const std::string &targetChannelName, uint32_t numViewers) |
| |
| void | ChatChannelNoticeReceived (UserId userId, ChannelId channelId, const std::string &id, const std::map< std::string, std::string > ¶ms) |
| |
| TTV_ErrorCode | LookupChannel (ChannelId channelId, std::shared_ptr< ChatChannel > &channel) |
| |
| TTV_ErrorCode | FlushChannelEvents () |
| |
| std::shared_ptr< ChannelEntry > | CreateChannel (ChannelId channelId) |
| |
◆ ttv::chat::ChatChannelSet::ChannelEntry
| struct ttv::chat::ChatChannelSet::ChannelEntry |
◆ FetchUserListCallback
◆ SetBroadcasterLanguageChatCallback
◆ State
| Enumerator |
|---|
| Uninitialized | |
| Initialized | |
| ShuttingDown | |
| Inert | The component doesn't require shutting down.
|
◆ ChatChannelSet()
| ttv::chat::ChatChannelSet::ChatChannelSet |
( |
const std::shared_ptr< User > & |
user | ) |
|
◆ ~ChatChannelSet()
| virtual ttv::chat::ChatChannelSet::~ChatChannelSet |
( |
| ) |
|
|
overridevirtual |
◆ ChatChannelFirstTimeChatterNoticeReceived()
◆ ChatChannelHostTargetChanged()
| void ttv::chat::ChatChannelSet::ChatChannelHostTargetChanged |
( |
UserId |
userId, |
|
|
ChannelId |
channelId, |
|
|
const std::string & |
targetChannelName, |
|
|
uint32_t |
numViewers |
|
) |
| |
|
private |
◆ ChatChannelInfoChanged()
◆ ChatChannelLocalUserChanged()
◆ ChatChannelMessagesCleared()
| void ttv::chat::ChatChannelSet::ChatChannelMessagesCleared |
( |
UserId |
userId, |
|
|
ChannelId |
channelId |
|
) |
| |
|
private |
◆ ChatChannelMessagesReceived()
| void ttv::chat::ChatChannelSet::ChatChannelMessagesReceived |
( |
UserId |
userId, |
|
|
ChannelId |
channelId, |
|
|
const std::vector< LiveChatMessage > & |
messageList |
|
) |
| |
|
private |
◆ ChatChannelNoticeReceived()
| void ttv::chat::ChatChannelSet::ChatChannelNoticeReceived |
( |
UserId |
userId, |
|
|
ChannelId |
channelId, |
|
|
const std::string & |
id, |
|
|
const std::map< std::string, std::string > & |
params |
|
) |
| |
|
private |
◆ ChatChannelRaidNoticeReceived()
| void ttv::chat::ChatChannelSet::ChatChannelRaidNoticeReceived |
( |
UserId |
userId, |
|
|
ChannelId |
channelId, |
|
|
const RaidNotice & |
notice |
|
) |
| |
|
private |
◆ ChatChannelRestrictionsChanged()
◆ ChatChannelStateChanged()
◆ ChatChannelSubscriptionNoticeReceived()
◆ ChatChannelUnraidNoticeReceived()
◆ ChatChannelUserMessagesCleared()
| void ttv::chat::ChatChannelSet::ChatChannelUserMessagesCleared |
( |
UserId |
userId, |
|
|
ChannelId |
channelId, |
|
|
UserId |
clearUserId |
|
) |
| |
|
private |
◆ CheckShutdown()
| virtual bool ttv::chat::ChatChannelSet::CheckShutdown |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ CompleteShutdown()
| virtual void ttv::chat::ChatChannelSet::CompleteShutdown |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ CompleteTask()
| void ttv::Component::CompleteTask |
( |
Task * |
task | ) |
|
|
protectedinherited |
◆ Connect()
◆ CreateChannel()
◆ Disconnect()
◆ FetchUserList()
◆ FlushChannelEvents()
◆ GetComponentName()
| static std::string ttv::chat::ChatChannelSet::GetComponentName |
( |
| ) |
|
|
inlinestatic |
◆ GetLoggerName()
| virtual std::string ttv::chat::ChatChannelSet::GetLoggerName |
( |
| ) |
const |
|
overridevirtual |
◆ GetMessageFlushInterval()
| uint64_t ttv::chat::ChatChannelSet::GetMessageFlushInterval |
( |
| ) |
const |
|
inline |
◆ 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 |
◆ Log()
| void ttv::UserComponent::Log |
( |
TTV_MessageLevel |
level, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
|
protectedinherited |
◆ LookupChannel()
◆ OnUserAuthenticationIssue()
| virtual void ttv::UserComponent::OnUserAuthenticationIssue |
( |
std::shared_ptr< const OAuthToken > |
oauthToken, |
|
|
TTV_ErrorCode |
ec |
|
) |
| |
|
protectedvirtualinherited |
◆ OnUserInfoFetchComplete()
| virtual void ttv::UserComponent::OnUserInfoFetchComplete |
( |
TTV_ErrorCode |
ec | ) |
|
|
protectedvirtualinherited |
◆ OnUserLogInComplete()
| virtual void ttv::UserComponent::OnUserLogInComplete |
( |
TTV_ErrorCode |
ec | ) |
|
|
protectedvirtualinherited |
◆ OnUserLogOutComplete()
| virtual void ttv::UserComponent::OnUserLogOutComplete |
( |
TTV_ErrorCode |
ec | ) |
|
|
protectedvirtualinherited |
◆ OptInToBroadcasterLanguageChat()
| TTV_ErrorCode ttv::chat::ChatChannelSet::OptInToBroadcasterLanguageChat |
( |
ChannelId |
channelId, |
|
|
const std::string & |
language |
|
) |
| |
◆ SendChatMessage()
◆ SetBitsConfigRepository()
| void ttv::chat::ChatChannelSet::SetBitsConfigRepository |
( |
std::shared_ptr< BitsConfigRepository > |
repository | ) |
|
|
inline |
◆ SetBroadcasterLanguageChatEnabled()
◆ SetChannelRepository()
| void ttv::chat::ChatChannelSet::SetChannelRepository |
( |
const std::shared_ptr< ChannelRepository > & |
channelRepository | ) |
|
|
inline |
◆ SetChatObjectFactory()
| void ttv::chat::ChatChannelSet::SetChatObjectFactory |
( |
std::shared_ptr< IChatObjectFactory > |
factory | ) |
|
|
inline |
◆ SetClientState()
| virtual void ttv::Component::SetClientState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetLocalLanguage()
| TTV_ErrorCode ttv::chat::ChatChannelSet::SetLocalLanguage |
( |
const std::string & |
language | ) |
|
◆ SetMessageFlushInterval()
| void ttv::chat::ChatChannelSet::SetMessageFlushInterval |
( |
uint64_t |
milliseconds | ) |
|
◆ SetServerState()
| virtual void ttv::Component::SetServerState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetSettingRepository()
| void ttv::chat::ChatChannelSet::SetSettingRepository |
( |
std::shared_ptr< SettingRepository > |
settings | ) |
|
|
inline |
◆ SetState()
| virtual void ttv::Component::SetState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetTaskRunner()
| virtual void ttv::Component::SetTaskRunner |
( |
std::shared_ptr< TaskRunner > |
taskRunner | ) |
|
|
virtualinherited |
◆ SetTokenizationOptions()
| void ttv::chat::ChatChannelSet::SetTokenizationOptions |
( |
const TokenizationOptions & |
tokenizationOptions | ) |
|
|
inline |
◆ Shutdown()
◆ StartTask()
◆ Update()
| virtual void ttv::chat::ChatChannelSet::Update |
( |
| ) |
|
|
overridevirtual |
◆ mBitsConfigRepository
◆ mChannelRepository
◆ mChannels
The mapping of lower case channel name to channel.
◆ mChatObjectFactory
◆ mCleanupChannels
| std::vector<std::shared_ptr<ChannelEntry> > ttv::chat::ChatChannelSet::mCleanupChannels |
|
private |
The channels that should be released after all events have been flushed.
◆ mInternalChannelListener
The internal chat object factory.
◆ mLocalLanguage
| std::string ttv::chat::ChatChannelSet::mLocalLanguage |
|
private |
The local user's language.
◆ mOAuthIssue
| bool ttv::UserComponent::mOAuthIssue |
|
protectedinherited |
Whether or not the internal updates of the component are on hold because of an issue with the OAuth token.
◆ mRunningTasks
| std::vector<std::shared_ptr<Task> > ttv::Component::mRunningTasks |
|
protectedinherited |
◆ mSettingRepository
The listener for channel events.
◆ mShutdownTimeMilliseconds
| uint64_t ttv::Component::mShutdownTimeMilliseconds |
|
protectedinherited |
◆ mState
◆ mTaskMutex
| std::mutex ttv::Component::mTaskMutex |
|
mutableprotectedinherited |
◆ mTaskRunner
| std::shared_ptr<TaskRunner> ttv::Component::mTaskRunner |
|
protectedinherited |
◆ mTokenizationOptions
◆ mUser
| std::weak_ptr<User> ttv::UserComponent::mUser |
|
protectedinherited |
◆ mUserMessageFlushInterval
| uint64_t ttv::chat::ChatChannelSet::mUserMessageFlushInterval |
|
private |
The max amount of time between user message flushes to the main thread.
The documentation for this class was generated from the following file: