Searched refs:IStartable (Results 1 - 5 of 5) sorted by relevance
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_startable.h | 25 REGISTER_INTERFACE(IStartable, "b27ea024-7ebf-4d2a-a166-309bc0cf4d4f") 52 * @brief The IStartable interface can be implemented by objects which can be started and stopped. 53 * @note Usually IStartable is implemented by objects that are placed in an object hierarchy and 56 class IStartable : public CORE_NS::IInterface { class in StartableState 57 META_INTERFACE(CORE_NS::IInterface, IStartable)
|
H A D | intf_startable_controller.h | 76 virtual BASE_NS::vector<IStartable::Ptr> GetAllStartables() const = 0;
|
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | startable_object_controller.cpp | 164 IterateAttachments<IStartable, Callback>(object, reverse, BASE_NS::forward<Callback>(callback)); in IterateStartables() 203 BASE_NS::vector<IStartable::Ptr> StartableObjectController::GetAllStartables() const in GetAllStartables() 205 BASE_NS::vector<IStartable::Ptr> startables; in GetAllStartables() 206 auto add = [&startables](const IStartable::Ptr& startable) { startables.push_back(startable); }; in GetAllStartables() 235 root, false, [this, behavior](const IStartable::Ptr& startable) { StartStartable(startable.get(), behavior); }); in StartHierarchy() 237 StartStartable(interface_cast<IStartable>(root), behavior); in StartHierarchy() 240 void StartableObjectController::StartStartable(IStartable* const startable, ControlBehavior behavior) in StartStartable() 263 StopStartable(interface_cast<IStartable>(root), behavior); in StopHierarchy() 266 root, true, [this, behavior](const IStartable::Ptr& startable) { StopStartable(startable.get(), behavior); }); in StopHierarchy() 271 void StartableObjectController::StopStartable(IStartable* cons [all...] |
H A D | startable_object_controller.h | 56 BASE_NS::vector<IStartable::Ptr> GetAllStartables() const override; 78 void StartStartable(IStartable* const startable, ControlBehavior behavior); 79 void StopStartable(IStartable* const startable, ControlBehavior behavior);
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/ |
H A D | testing_objects.cpp | 79 META_NS::ITestStartable, META_NS::IStartable, META_NS::ITickable> { 154 META_IMPLEMENT_INTERFACE_PROPERTY(IStartable, META_NS::StartBehavior, StartableMode, StartBehavior::MANUAL); 156 IStartable, META_NS::StartableState, StartableState, StartableState::DETACHED); 616 SetValue(interface_pointer_cast<IStartable>(object)->StartableMode(), behavior); in CreateTestStartable()
|
Completed in 3 milliseconds