1 #ifndef HRK_RECEIVE_RECORDER_H
2 #define HRK_RECEIVE_RECORDER_H
33 const char*
what()
const;
37 int write(
const char* data,
size_t data_size);
38 int read(
char* data,
size_t max_data_size,
int timeout);
46 std::auto_ptr<pImpl> pimpl;
bool is_open() const
受信
Definition: Receive_recorder.cpp:111
bool change_baudrate(long baudrate)
ボーレートの変更
Definition: Receive_recorder.cpp:101
bool open(Connection *connection, const char *file_path)
記録対象を登録する
Definition: Receive_recorder.cpp:65
接続のインターフェース
Definition: Connection.h:21
const char * what() const
状態を示すメッセージを返す
Definition: Receive_recorder.cpp:87
Definition: Receive_recorder.h:15
void close()
接続を閉じる
Definition: Receive_recorder.cpp:121
int write(const char *data, size_t data_size)
データの送信
Definition: Receive_recorder.cpp:135
void ungetc(int ch)
1文字だけ受信バッファに書き戻す
Definition: Receive_recorder.cpp:155
int read(char *data, size_t max_data_size, int timeout)
データの受信
Definition: Receive_recorder.cpp:145