+ resource::Action* surf_action_ = nullptr;
+
+protected:
+ void inline set_name(const std::string& name)
+ {
+ // This is to keep name_ private while allowing ActivityImpl_T<??> to set it and then return a Ptr to qualified
+ // child type
+ name_ = name;
+ }
+
+public:
+ const std::string& get_name() const { return name_; }
+ const char* get_cname() const { return name_.c_str(); }
+
+ bool test();
+ void wait_for(actor::ActorImpl* issuer, double timeout);
+ virtual ActivityImpl& set_timeout(double) { THROW_UNIMPLEMENTED; }
+
+ virtual void suspend();
+ virtual void resume();
+ virtual void cancel();