std::string _name() const \
{ \
return name; \
} \
\
void _onCustomCmd(const std::string& _command, const std::string& _condition, uint64_t _senderId) \
{ \
boost::property_tree::ptree root; \
std::stringstream ss; \
ss << _command; \
boost::property_tree::read_json(ss, root); \
for (const auto& node : root) \
{ \
if (node.first == dds_octopus::SOctopusProtocol_Log::class_name()) \
{ \
dds_octopus::SOctopusProtocol_Log log; \
log.init(node.second); \
std::cout << "Task: " << log.m_sVal << std::endl; \
continue; \
}