FACT++  1.0
template<class T>
bool RemoteControl< T >::SendDimCommand ( ostream &  out,
const std::string &  server,
const std::string &  str,
bool  do_throw = false 
)
inlineprotectedvirtual

Reimplemented from RemoteControlImp.

Definition at line 151 of file RemoteControl.h.

152  {
153  if (do_throw)
154  return fImp ? fImp->SendDimCommand(server, str, out) : false;
155 
156  try
157  {
158  return fImp ? fImp->SendDimCommand(server, str, out) : false;
159  }
160  catch (const runtime_error &e)
161  {
162  lout << kRed << e.what() << endl;
163  return false;
164  }
165  }
bool SendDimCommand(const std::string &server, std::string str, std::ostream &lout)
char str[80]
Definition: test_client.c:7
Set color Red.
Definition: WindowLog.h:17
StateMachineDimControl * fImp
Definition: RemoteControl.h:70
std::ostream & lout
Output stream for local synchrounous output.
Definition: RemoteControl.h:26