• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *     http://www.apache.org/licenses/LICENSE-2.0
7  * Unless required by applicable law or agreed to in writing, software
8  * distributed under the License is distributed on an "AS IS" BASIS,
9  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10  * See the License for the specific language governing permissions and
11  * limitations under the License.
12  */
13 
14 #ifndef I_PIPELINE_CORE_H
15 #define I_PIPELINE_CORE_H
16 
17 #include <stdint.h>
18 #include <cstdio>
19 #include "istream_pipeline_core.h"
20 #include "no_copyable.h"
21 #include "idevice_manager.h"
22 namespace OHOS::Camera {
23 class IPipelineCore : public NoCopyable {
24 public:
25     static std::shared_ptr<IPipelineCore> Create();
26     virtual RetCode Init() = 0;
27     virtual std::shared_ptr<HostStreamMgr> GetHostStreamMgr() const = 0;
28     virtual std::shared_ptr<IStreamPipelineCore> GetStreamPipelineCore() const = 0;
29     virtual ~IPipelineCore() = default;
30 };
31 }
32 #endif
33