#include <vrpn_SendTextMessageStreamProxy.h>
Public Member Functions | |
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) | |
Constructor taking a std::string, since we can use the ostringstream's std::string constructor in this case. | |
vrpn_SendTextMessageStreamProxy (vrpn_SendTextMessageStreamProxy const &other) | |
Copy constructor - required for return by value (?) | |
~vrpn_SendTextMessageStreamProxy () | |
Destructor performs the send_text_message call with all contents streamed into it. | |
template<typename T> | |
std::ostream & | operator<< (T const &other) |
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. | |
Definition at line 41 of file vrpn_SendTextMessageStreamProxy.h.
|
inline |
Templated constructor taking anything streamable.
Definition at line 57 of file vrpn_SendTextMessageStreamProxy.h.
Referenced by vrpn_SendTextMessageStreamProxy().
|
inline |
Constructor taking a std::string, since we can use the ostringstream's std::string constructor in this case.
Definition at line 67 of file vrpn_SendTextMessageStreamProxy.h.
|
inline |
Copy constructor - required for return by value (?)
Definition at line 76 of file vrpn_SendTextMessageStreamProxy.h.
References vrpn_SendTextMessageStreamProxy().
|
inline |
Destructor performs the send_text_message call with all contents streamed into it.
Definition at line 85 of file vrpn_SendTextMessageStreamProxy.h.
|
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.
Definition at line 93 of file vrpn_SendTextMessageStreamProxy.h.