Home
last modified time | relevance | path

Searched refs:IOEventReactor (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/include/
H A Dio_event_reactor.h35 class IOEventReactor {
41 IOEventReactor();
42 IOEventReactor(const IOEventReactor&) = delete;
43 IOEventReactor& operator=(const IOEventReactor&) = delete;
44 IOEventReactor(const IOEventReactor&&) = delete;
45 IOEventReactor& operator=(const IOEventReactor&&) = delete;
46 virtual ~IOEventReactor();
H A Dio_event_handler.h24 class IOEventReactor; variable
36 bool Start(IOEventReactor* reactor);
37 bool Stop(IOEventReactor* reactor);
38 bool Update(IOEventReactor* reactor);
98 friend class IOEventReactor; variable
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc_utils_guide_event.md26 - IOEventReactor* loop
56 class IOEventReactor{
83 IOEventReactor ..|> EventReactor
84 FdEvents --* IOEventReactor
86 IOEventHandler ..> IOEventReactor
88 EventEpoll --o IOEventReactor
90 ### IOEventReactor内数据结构
155 ### OHOS::Utils::IOEventReactor
158 class OHOS::Utils::IOEventReactor;
219 // 3. 创建IOEventReactor响应器对象,启动并使能其事件响应能力。
[all …]
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dio_event_reactor.cpp30 IOEventReactor::IOEventReactor() in IOEventReactor() function in OHOS::Utils::IOEventReactor
33 IOEventReactor::~IOEventReactor() in ~IOEventReactor()
38 ErrCode IOEventReactor::SetUp() in SetUp()
65 void IOEventReactor::RemoveNode(IOEventHandler* target) in RemoveNode()
77 ErrCode IOEventReactor::AddHandler(IOEventHandler* target) in AddHandler()
171 bool IOEventReactor::HasHandler(IOEventHandler* target) in HasHandler()
203 bool IOEventReactor::UpdateToDemultiplexer(int fd) in UpdateToDemultiplexer()
277 void IOEventReactor::Run(int timeout) in Run()
312 bool IOEventReactor::DoClean(int fd) in DoClean()
332 ErrCode IOEventReactor::CleanUp() in CleanUp()
[all …]
H A Dio_event_handler.cpp45 bool IOEventHandler::Start(IOEventReactor* reactor) in Start()
58 bool IOEventHandler::Stop(IOEventReactor* reactor) in Stop()
71 bool IOEventHandler::Update(IOEventReactor* reactor) in Update()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_event_test.cpp145 std::shared_ptr<IOEventReactor> reactor = std::make_shared<IOEventReactor>();
183 std::shared_ptr<IOEventReactor> reactor = std::make_shared<IOEventReactor>();
240 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>();
340 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>();
374 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>();
413 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>();
447 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>();
484 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>();
521 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>();
561 bool Stop(IOEventReactor* reactor);
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/event_benchmark_test/
H A Devent_benchmark_test.cpp181 std::shared_ptr<IOEventReactor> reactor = std::make_shared<IOEventReactor>(); in BENCHMARK_F()
271 std::shared_ptr<IOEventReactor> reactor = std::make_shared<IOEventReactor>(); in BENCHMARK_F()
333 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in BENCHMARK_F()
431 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in BENCHMARK_F()
469 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in EventLoop()
596 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in BENCHMARK_F()
644 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in BENCHMARK_F()
692 bool Start(IOEventReactor* reactor);
693 bool Stop(IOEventReactor* reactor);
751 std::unique_ptr<IOEventReactor> reactor_;
[all …]