clboss/Boss/Msg/ProvideStatus.hpp
2020-09-18 06:23:49 +08:00

24 lines
484 B
C++

#ifndef BOSS_MSG_PROVIDESTATUS
#define BOSS_MSG_PROVIDESTATUS
#include"Json/Out.hpp"
#include<string>
namespace Boss { namespace Msg {
/** struct Boss::Msg::ProvideStatus
*
* @brief emitted by modules in response to
* `Boss::Msg::SolicitStatus` in order to
* report their status.
*/
struct ProvideStatus {
/* Field name to use in the status response. */
std::string key;
/* Content of the field. */
Json::Out value;
};
}}
#endif /* !defined(BOSS_MSG_PROVIDESTATUS) */