FACT++  1.0
void tcp_connection::SendData ( )
inlineprivate

Definition at line 71 of file fsc.cc.

References buffer.

Referenced by PostTrigger().

72  {
73  fBuffer.str("");
74  fBuffer <<
75  "status: 00000538 \n"
76  "time_s: 764.755 \n"
77  "VOLTAGES \n"
78  " \n"
79  "enable:11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 00001111 \n"
80  " done:11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 00001111 \n"
81  "values:0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 \n"
82  "RESISTANCES \n"
83  " \n"
84  "enable:11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 \n"
85  " done:11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 \n"
86  "values: \n"
87  "1000.16 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 \n"
88  "3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 \n"
89  "1197.07 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 \n"
90  "558.59 677.92 817.26 989.39 1200.35 1503.06 1799.90 2204.18 \n"
91  "3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 \n"
92  "3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 \n"
93  "3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 \n"
94  "3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 3199.99 \n"
95  "end.\n";
96 
97  AsyncWrite(ba::buffer(ba::const_buffer(fBuffer.str().c_str(), fBuffer.str().length())));
98  }
int buffer[BUFFSIZE]
Definition: db_dim_client.c:14
stringstream fBuffer
Definition: fsc.cc:69
void AsyncWrite(ba::ip::tcp::socket *socket, const ba::const_buffers_1 &buffers)
Definition: fad.cc:73

+ Here is the caller graph for this function: