コード例 #1
0
 /**
  *  @brief      コンストラクタ
  *  @param[in]  string  設定文字列
  *  @param[in]  int     スレッドSleep時間(msec)
  *  @param[in]  Form1   topFormクラス Object
  *  @param[in]  void_string_delegate callbacメソッド登録
  *  @note
  */
 public myThreadClass(string msg, int wait, Form1 topfrm, void_string_delegate func)
 {
     this.msg    = msg;
     this.wait   = wait;
     this.topfrm = topfrm;
     callback    = func;
 }
コード例 #2
0
 /**
  *  @brief      コンストラクタ
  *  @param[in]  string  設定文字列
  *  @param[in]  void_string_delegate callbacメソッド登録
  *  @note
  */
 public myThreadClass(string _msg, void_string_delegate func)
 {
     this.msg      = _msg;
     this.callback = func;
 }