/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/evloop/src/ |
H A D | event_loop_impl.h | 33 class EventImpl; 46 int Modify(EventImpl *event, bool isAdd, EventsMask events); 47 int Modify(EventImpl *event, EventTime time); 54 virtual int Prepare(const std::set<EventImpl *> &polling) = 0; 57 virtual int Exit(const std::set<EventImpl *> &polling) = 0; 58 virtual int AddEvent(EventImpl *event) = 0; 59 virtual int RemoveEvent(EventImpl *event) = 0; 60 virtual int ModifyEvent(EventImpl *event, bool isAdd, EventsMask events) = 0; 64 int QueueRequest(int type, EventImpl *event, T argument); 66 bool EventObjectExists(EventImpl *even [all...] |
H A D | event_impl.cpp | 22 EventImpl::EventImpl(EventTime timeout) in EventImpl() function in DistributedDB::EventImpl 47 EventImpl::EventImpl(const EventFd &fd, EventsMask events, EventTime timeout) in EventImpl() function in DistributedDB::EventImpl 76 EventImpl::~EventImpl() in ~EventImpl() 87 int EventImpl::SetAction(const EventAction &action, const EventFinalizer &finalizer) in SetAction() 101 int EventImpl::AddEvents(EventsMask events) in AddEvents() 132 int EventImpl::RemoveEvents(EventsMask events) in RemoveEvents() 163 int EventImpl [all...] |
H A D | event_loop_epoll.h | 34 int Prepare(const std::set<EventImpl *> &polling) override; 37 int Exit(const std::set<EventImpl *> &polling) override; 38 int AddEvent(EventImpl *event) override; 39 int RemoveEvent(EventImpl *event) override; 40 int ModifyEvent(EventImpl *event, bool isAdd, EventsMask events) override; 45 int EpollCtl(int operation, EventImpl *event, EventsMask events);
|
H A D | event_loop_select.h | 34 int Prepare(const std::set<EventImpl *> &polling) override; 37 int Exit(const std::set<EventImpl *> &polling) override; 38 int AddEvent(EventImpl *event) override; 39 int RemoveEvent(EventImpl *event) override; 40 int ModifyEvent(EventImpl *event, bool isAdd, EventsMask events) override;
|
H A D | event_loop_select.cpp | 37 int EventLoopSelect::Prepare(const std::set<EventImpl *> &polling) in Prepare() 58 int EventLoopSelect::Exit(const std::set<EventImpl *> &polling) in Exit() 64 int EventLoopSelect::AddEvent(EventImpl *event) in AddEvent() 70 int EventLoopSelect::RemoveEvent(EventImpl *event) in RemoveEvent() 76 int EventLoopSelect::ModifyEvent(EventImpl *event, bool isAdd, EventsMask events) in ModifyEvent()
|
H A D | event_impl.h | 26 class EventImpl : public IEvent { class 28 explicit EventImpl(EventTime timeout); 29 EventImpl(const EventFd &fd, EventsMask events, EventTime timeout); 30 ~EventImpl() override; 56 DISABLE_COPY_ASSIGN_MOVE(EventImpl); 61 DECLARE_OBJECT_TAG(EventImpl);
|
H A D | event_loop_impl.cpp | 35 EventRequest(int type, EventImpl *event, EventsMask events) in EventRequest() 46 EventRequest(int type, EventImpl *event, EventTime timeout) in EventRequest() 78 void GetEvent(EventImpl *&event) const in GetEvent() 95 EventImpl *event_; 116 auto eventImpl = static_cast<EventImpl *>(event); in Add() 137 auto eventImpl = static_cast<EventImpl *>(event); in Remove() 217 int EventLoopImpl::Modify(EventImpl *event, bool isAdd, EventsMask events) in Modify() 232 int EventLoopImpl::Modify(EventImpl *event, EventTime time) in Modify() 268 int EventLoopImpl::QueueRequest(int type, EventImpl *event, T argument) in QueueRequest() 313 bool EventLoopImpl::EventObjectExists(EventImpl *even [all...] |
H A D | event_loop_epoll.cpp | 78 int EventLoopEpoll::Prepare(const std::set<EventImpl *> &polling) in Prepare() 110 auto event = static_cast<EventImpl *>(revent->data.ptr); in Poll() 141 int EventLoopEpoll::Exit(const std::set<EventImpl *> &polling) in Exit() 201 int EventLoopEpoll::EpollCtl(int operation, EventImpl *event, EventsMask events) in EpollCtl() 230 int EventLoopEpoll::AddEvent(EventImpl *event) in AddEvent() 247 int EventLoopEpoll::RemoveEvent(EventImpl *event) in RemoveEvent() 264 int EventLoopEpoll::ModifyEvent(EventImpl *event, bool isAdd, EventsMask events) in ModifyEvent()
|
H A D | ievent.cpp | 29 IEvent *event = new (std::nothrow) EventImpl(timeout); in CreateEvent() 52 IEvent *event = new (std::nothrow) EventImpl(fd, events, timeout); in CreateEvent()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/ |
H A D | event_impl.h | 68 class EventImpl; 71 class EventImpl<BaseClass, R(ARG...)> final : public IntroduceInterfaces<BaseClass, IEvent, ICloneable> { 79 BASE_NS::shared_ptr<EventImpl> p(new EventImpl(*this)); 83 EventImpl(const EventImpl& e) : handlers_(e.handlers_), name_(e.name_) {} in EventImpl() function in final 86 explicit EventImpl(BASE_NS::string name = {}) : name_(BASE_NS::move(name)) {} in EventImpl() function in final 87 ~EventImpl() override 90 CORE_ASSERT_MSG(threadId_ == CORE_NS::ThreadId {}, "EventImpl not allowed to destroy itself when invoked"); 94 EventImpl [all...] |
H A D | implementation_macros.h | 192 mutable BASE_NS::shared_ptr<::META_NS::EventImpl<type>> metaEvent##name##_ = \ 194 intf, #name, [] { return ::META_NS::IEvent::Ptr(CreateShared<::META_NS::EventImpl<type>>(#name)); }, \ 200 static_pointer_cast<::META_NS::EventImpl<type>>(p); \
|
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | metadata.h | 130 mutable BASE_NS::shared_ptr<EventImpl<IOnChildChanged>> onAdded_ { CreateShared<EventImpl<IOnChildChanged>>( 132 mutable BASE_NS::shared_ptr<EventImpl<IOnChildChanged>> onRemoved_ { CreateShared<EventImpl<IOnChildChanged>>( 134 mutable BASE_NS::shared_ptr<EventImpl<IOnChildMoved>> onMoved_ { CreateShared<EventImpl<IOnChildMoved>>( 136 mutable BASE_NS::shared_ptr<EventImpl<IOnChildChanging>> onAdding_ { CreateShared<EventImpl<IOnChildChanging>>( 138 mutable BASE_NS::shared_ptr<EventImpl<IOnChildChanging>> onRemoving_ { CreateShared<EventImpl<IOnChildChangin [all...] |
H A D | class_registry.h | 66 mutable BASE_NS::shared_ptr<EventImpl<IOnClassRegistrationChanged>> onRegistered_ { 67 CreateShared<EventImpl<IOnClassRegistrationChanged>>("OnClassRegistered") 69 mutable BASE_NS::shared_ptr<EventImpl<IOnClassRegistrationChanged>> onUnregistered_ { 70 CreateShared<EventImpl<IOnClassRegistrationChanged>>("OnClassRegistered")
|
/foundation/graphic/graphic_3d/lume/metaobject/src/engine/ |
H A D | engine_value.h | 79 BASE_NS::shared_ptr<EventImpl<IOnChanged>> event_ { new EventImpl<IOnChanged>("OnChanged") };
|
/foundation/graphic/graphic_3d/lume/metaobject/src/property/ |
H A D | bind.h | 61 BASE_NS::shared_ptr<EventImpl<IOnChanged>> event_ { new EventImpl<IOnChanged>("OnChanged") };
|
H A D | property.h | 39 using OnChangedEvent = EventImpl<IOnChanged>;
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/property/ |
H A D | array_element_bind.h | 85 BASE_NS::shared_ptr<EventImpl<IOnChanged>> event_ { new EventImpl<IOnChanged>("OnChanged") };
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | evloop_timer_unit_test.cpp | 651 IEvent *event = new (std::nothrow) EventImpl(eventTime); in HWTEST_F() 660 EventImpl *eventImpl = new (std::nothrow) EventImpl(eventFd, events, eventTime); in HWTEST_F() 718 EventImpl *eventImpl = static_cast<EventImpl *>(event); in HWTEST_F() 753 EventImpl *eventImpl = static_cast<EventImpl *>(event); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_animation.h | 176 mutable META_NS::EventImpl<META_NS::IOnChanged> onFinished_; 177 mutable META_NS::EventImpl<META_NS::IOnChanged> onStarted_; 375 mutable META_NS::EventImpl<META_NS::IOnChanged> onFinished_; 376 mutable META_NS::EventImpl<META_NS::IOnChanged> onStarted_;
|
H A D | anim_impl.cpp | 362 mutable META_NS::EventImpl<META_NS::IOnChanged> onFinished_; 363 mutable META_NS::EventImpl<META_NS::IOnChanged> onStarted_;
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | staggered_animation_state.cpp | 24 onChildrenChanged_ = CreateShared<META_NS::EventImpl<IOnChanged>>(); in Initialize()
|