zioinfo-mail/app/node_modules/react-native/ReactCommon/react/renderer/timeline/Timeline.h
DESKTOP-TKLFCPR\ython 11c670f2a0 refactor: 101.79.17.164 → zioinfo.co.kr 전체 도메인 변환 + Manager UI 배포
- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스)
- Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포
- 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 10:09:17 +09:00

61 lines
1.7 KiB
C++

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <memory>
#include <mutex>
#include <vector>
#include <react/renderer/core/ReactPrimitives.h>
#include <react/renderer/timeline/TimelineSnapshot.h>
#include <react/renderer/uimanager/UIManagerCommitHook.h>
namespace facebook::react {
class UIManager;
class Timeline final {
friend class TimelineHandler;
friend class TimelineController;
public:
Timeline(const ShadowTree& shadowTree);
private:
#pragma mark - Private methods to be used by `TimelineHandler`.
void pause() const noexcept;
void resume() const noexcept;
bool isPaused() const noexcept;
TimelineFrame::List getFrames() const noexcept;
TimelineFrame getCurrentFrame() const noexcept;
void rewind(const TimelineFrame& frame) const noexcept;
SurfaceId getSurfaceId() const noexcept;
#pragma mark - Private methods to be used by `TimelineController`.
RootShadowNode::Unshared shadowTreeWillCommit(
const ShadowTree& shadowTree,
const RootShadowNode::Shared& oldRootShadowNode,
const RootShadowNode::Unshared& newRootShadowNode) const noexcept;
#pragma mark - Private & Internal
void record(const RootShadowNode::Shared& rootShadowNode) const noexcept;
void rewind(const TimelineSnapshot& snapshot) const noexcept;
mutable std::recursive_mutex mutex_;
mutable const ShadowTree* shadowTree_{nullptr};
mutable int currentSnapshotIndex_{0};
mutable TimelineSnapshot::List snapshots_{};
mutable bool paused_{false};
mutable bool rewinding_{false};
};
} // namespace facebook::react