7 #include <scene_rdl2/common/grid_util/DebugConsoleDriver.h> 25 using MessageContentConstPtr = arras4::api::MessageContentConstPtr;
26 using MessageSendFunc = std::function<bool(const MessageContentConstPtr msg)>;
27 using MessageGenFunc = std::function<const MessageContentConstPtr()>;
36 void set(
const MessageSendFunc &messageSendCallBack,
39 mMessageSend = messageSendCallBack;
40 mFbReceiver = fbReceiver;
43 bool sendMessage(
const MessageContentConstPtr msg)
const 45 return (mMessageSend) ? (mMessageSend)(msg) :
false;
47 bool sendMessage(
const MessageGenFunc &func)
const {
return sendMessage(func()); }
50 using Parser = scene_rdl2::grid_util::Parser;
51 using Arg = scene_rdl2::grid_util::Arg;
53 void parserConfigure(Parser &parser)
override;
55 bool cmdAovLs(Arg &arg);
56 bool cmdAovPix(Arg &arg);
57 bool cmdPick(Arg &arg,
int mode)
const;
58 bool cmdFeedback(Arg& arg);
59 bool cmdFeedbackInterval(Arg& arg);
60 void sendCommandToAllMcrtAndMerge(
const std::string& cmd);
62 std::string showRankInfo()
const;
67 Parser mParserInvalidate;
68 Parser mParserDispatch;
70 int mParserMcrtRankId;
74 MessageSendFunc mMessageSend;
Definition: ClientReceiverConsoleDriver.h:22
Definition: ClientReceiverConsoleDriver.cc:9
– ProgressiveFrame message decoder for frontend client –
Definition: ClientReceiverFb.h:29