12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // NotifyDevelopmentWaiter.hpp
- // redream_runtime
- //
- // Created by Chao on 2023/5/25.
- //
- #ifndef NotifyDevelopmentWaiter_hpp
- #define NotifyDevelopmentWaiter_hpp
- #include "WaitableStateBase.hpp"
- #include "ReboltRunDelegate.hpp"
- namespace red{
- class RedBehaviacTree;
- }
- namespace redream {
- class NotifyDevelopmentWaiter : public WaitableStateBase {
- public:
- static NotifyDevelopmentWaiter* create(ReboltRedManager* rrm, red::RedBehaviacTree* fatherTree, std::string notify, std::string param, bool reboltIsWait, Node* outNode);
-
- virtual RunningState getRunningState() override;
-
- virtual void run(ReboltErrorInfo& errorInfo) override;
-
- void notifyDevelopmentEnd();
-
- private:
- std::string _notifyName = "";
- std::string _param = "";
- bool _reboltIsWait = false;
- Node* _outNode = nullptr;
- };
- }
- #endif /* NotifyDevelopmentWaiter_hpp */
|