![]() |
RflySimSDK v3.05
RflySimSDK说明文档
|
Public 成员函数 | |
template<typename T > | |
vrpn_SendTextMessageStreamProxy (vrpn_BaseClassUnique::SendTextMessageBoundCall const &call, T const &firstData) | |
Templated constructor taking anything streamable. | |
vrpn_SendTextMessageStreamProxy (vrpn_BaseClassUnique::SendTextMessageBoundCall const &call, std::string const &firstData) | |
vrpn_SendTextMessageStreamProxy (vrpn_SendTextMessageStreamProxy const &other) | |
Copy constructor - required for return by value (?) | |
~vrpn_SendTextMessageStreamProxy () | |
template<typename T > | |
std::ostream & | operator<< (T const &other) |
|
inline |
Templated constructor taking anything streamable.
|
inline |
Constructor taking a std::string, since we can use the ostringstream's std::string constructor in this case.
|
inline |
Copy constructor - required for return by value (?)
|
inline |
Destructor performs the send_text_message call with all contents streamed into it.
|
inline |
Template operator<<, used for the second item streamed into the results of a BoundCall-returning send_text_message() call. The first one is handled below, and creates this temporary proxy object. Now, we can return a reference to the internal ostream, and we'll still stick around until the end of the statement to make the call once it's all done.