#include <chatuserthread.h>
◆ FetchMessagesCallback
◆ SetArchivedCallback
◆ SetLastMessageReadIdCallback
◆ SetMutedCallback
◆ State
| Enumerator |
|---|
| Uninitialized | |
| Initialized | |
| ShuttingDown | |
| Inert | The component doesn't require shutting down.
|
◆ ChatUserThread() [1/3]
| ttv::chat::ChatUserThread::ChatUserThread |
( |
const std::string & |
threadId, |
|
|
const std::shared_ptr< User > & |
user, |
|
|
const ThreadData & |
data |
|
) |
| |
◆ ChatUserThread() [2/3]
| ttv::chat::ChatUserThread::ChatUserThread |
( |
const std::string & |
threadId, |
|
|
const std::shared_ptr< User > & |
user |
|
) |
| |
◆ ~ChatUserThread()
| virtual ttv::chat::ChatUserThread::~ChatUserThread |
( |
| ) |
|
|
virtual |
◆ ChatUserThread() [3/3]
| ttv::chat::ChatUserThread::ChatUserThread |
( |
const std::string & |
threadId, |
|
|
const std::shared_ptr< User > & |
user, |
|
|
bool |
placeholder |
|
) |
| |
|
private |
◆ AddListener()
| void ttv::chat::ChatUserThread::AddListener |
( |
std::shared_ptr< Listener > |
listener | ) |
|
◆ AddRealtimeMessage()
| void ttv::chat::ChatUserThread::AddRealtimeMessage |
( |
const WhisperMessage & |
message | ) |
|
Inserts a message that has come in over pub sub.
◆ BumpLastMessage()
| void ttv::chat::ChatUserThread::BumpLastMessage |
( |
const WhisperMessage & |
message | ) |
|
|
private |
◆ CheckShutdown()
| virtual bool ttv::Component::CheckShutdown |
( |
| ) |
|
|
protectedvirtualinherited |
Reimplemented in ttv::PubSubClient, ttv::ComponentContainer, ttv::broadcast::Streamer, ttv::social::FriendList, ttv::chat::ChatUserThreads, ttv::UserRepository, ttv::social::Presence, ttv::broadcast::IngestTester, ttv::User, ttv::chat::ChatChannelSet, ttv::chat::BitsConfigRepository, ttv::chat::ChatUserBlockList, ttv::ChannelRepository, ttv::ChannelStatus, ttv::PubSubComponentBase, and ttv::ProfileImageStatus.
◆ CompleteShutdown()
| virtual void ttv::chat::ChatUserThread::CompleteShutdown |
( |
| ) |
|
|
overrideprivatevirtual |
◆ CompleteTask()
| void ttv::Component::CompleteTask |
( |
Task * |
task | ) |
|
|
protectedinherited |
◆ FetchMessages()
◆ FetchMetadata()
◆ GetFailedSend()
| bool ttv::chat::ChatUserThread::GetFailedSend |
( |
| ) |
const |
|
inline |
◆ GetFetchFailed()
| bool ttv::chat::ChatUserThread::GetFetchFailed |
( |
| ) |
const |
|
inline |
◆ GetId()
| std::string ttv::chat::ChatUserThread::GetId |
( |
| ) |
const |
|
inline |
◆ GetLastMessageId()
| MessageId ttv::chat::ChatUserThread::GetLastMessageId |
( |
| ) |
const |
|
inline |
◆ GetLastReadMessageId()
| MessageId ttv::chat::ChatUserThread::GetLastReadMessageId |
( |
| ) |
const |
|
inline |
◆ GetLastUpdateTimestamp()
| Timestamp ttv::chat::ChatUserThread::GetLastUpdateTimestamp |
( |
| ) |
const |
|
inline |
◆ GetLocalParticipant()
| bool ttv::chat::ChatUserThread::GetLocalParticipant |
( |
ChatUserInfo & |
userInfo | ) |
const |
Find the chat user info for the local user and returns it if it exists.
◆ GetLoggerName()
| virtual std::string ttv::chat::ChatUserThread::GetLoggerName |
( |
| ) |
const |
|
overridevirtual |
◆ GetMetadata()
| void ttv::chat::ChatUserThread::GetMetadata |
( |
ThreadData & |
thread | ) |
const |
◆ GetParticipants()
| const std::vector<ChatUserInfo>& ttv::chat::ChatUserThread::GetParticipants |
( |
| ) |
|
|
inline |
◆ GetPlaceholder()
| bool ttv::chat::ChatUserThread::GetPlaceholder |
( |
| ) |
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 |
◆ 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 |
◆ RemoveListener()
| void ttv::chat::ChatUserThread::RemoveListener |
( |
std::shared_ptr< Listener > |
listener | ) |
|
◆ ScheduleFetch()
| void ttv::chat::ChatUserThread::ScheduleFetch |
( |
| ) |
|
|
private |
◆ SetArchived()
◆ SetBitsConfiguration()
| void ttv::chat::ChatUserThread::SetBitsConfiguration |
( |
std::shared_ptr< BitsConfiguration > |
bitsConfiguration | ) |
|
|
inline |
◆ SetClientState()
| virtual void ttv::Component::SetClientState |
( |
State |
state | ) |
|
|
protectedvirtualinherited |
◆ SetFailedSend()
| void ttv::chat::ChatUserThread::SetFailedSend |
( |
bool |
failed | ) |
|
|
inline |
◆ SetLastMessageReadId()
◆ SetMuted()
◆ 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 |
◆ SetTokenizationOptions()
| void ttv::chat::ChatUserThread::SetTokenizationOptions |
( |
const TokenizationOptions & |
tokenizationOptions | ) |
|
|
inline |
◆ SetUnreadMessageWindow()
| void ttv::chat::ChatUserThread::SetUnreadMessageWindow |
( |
MessageId |
lastMessageId, |
|
|
MessageId |
lastReadMessageId |
|
) |
| |
Updates the local values and does not apply changes to the backend.
◆ Shutdown()
Implements ttv::IComponent.
Reimplemented in ttv::PubSubClient, ttv::broadcast::Streamer, ttv::ComponentContainer, ttv::social::FriendList, ttv::UserRepository, ttv::social::Presence, ttv::broadcast::IngestTester, ttv::User, ttv::chat::ChatUserThreads, ttv::chat::BitsConfigRepository, ttv::chat::ChatUserBlockList, ttv::chat::ChatReplay, ttv::chat::ChatChannelSet, ttv::ChannelRepository, ttv::chat::BitsStatus, ttv::chat::UserEmoticonSets, and ttv::PubSubComponentBase.
◆ StartTask()
◆ Update()
| virtual void ttv::chat::ChatUserThread::Update |
( |
| ) |
|
|
overridevirtual |
◆ UpdateMetadata()
| void ttv::chat::ChatUserThread::UpdateMetadata |
( |
const ThreadData & |
thread | ) |
|
Updates the internal metadata.
◆ UpdateParticipants()
| void ttv::chat::ChatUserThread::UpdateParticipants |
( |
const WhisperMessage & |
message | ) |
|
|
private |
◆ mArchived
| bool ttv::chat::ChatUserThread::mArchived |
|
private |
◆ mBitsConfiguration
◆ mFailedSend
| bool ttv::chat::ChatUserThread::mFailedSend |
|
private |
◆ mFetchMetadataFailed
| bool ttv::chat::ChatUserThread::mFetchMetadataFailed |
|
private |
◆ mLastFetchedTimestamp
| Timestamp ttv::chat::ChatUserThread::mLastFetchedTimestamp |
|
private |
◆ mLastMessage
| std::shared_ptr<WhisperMessage> ttv::chat::ChatUserThread::mLastMessage |
|
private |
◆ mLastMessageId
| MessageId ttv::chat::ChatUserThread::mLastMessageId |
|
private |
◆ mLastMessageUpdated
| bool ttv::chat::ChatUserThread::mLastMessageUpdated |
|
private |
◆ mLastReadMessageId
| MessageId ttv::chat::ChatUserThread::mLastReadMessageId |
|
private |
◆ mLastUpdateTimestamp
| Timestamp ttv::chat::ChatUserThread::mLastUpdateTimestamp |
|
private |
◆ mListeners
◆ mMetadataFetchTimer
◆ mMuted
| bool ttv::chat::ChatUserThread::mMuted |
|
private |
◆ 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.
◆ mParticipants
| std::vector<ChatUserInfo> ttv::chat::ChatUserThread::mParticipants |
|
private |
◆ mParticipantsUpdated
| bool ttv::chat::ChatUserThread::mParticipantsUpdated |
|
private |
◆ mPlaceholder
| bool ttv::chat::ChatUserThread::mPlaceholder |
|
private |
◆ 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 |
◆ mThreadId
| std::string ttv::chat::ChatUserThread::mThreadId |
|
private |
◆ mTokenizationOptions
◆ mUnreadMessageWindowUpdate
| bool ttv::chat::ChatUserThread::mUnreadMessageWindowUpdate |
|
private |
◆ mUser
| std::weak_ptr<User> ttv::UserComponent::mUser |
|
protectedinherited |
The documentation for this class was generated from the following file: