RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_SendTextMessageStreamProxy类 参考

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)
 

构造及析构函数说明

◆ vrpn_SendTextMessageStreamProxy() [1/3]

template<typename T >
vrpn_SendTextMessageStreamProxy ( vrpn_BaseClassUnique::SendTextMessageBoundCall const & call,
T const & firstData )
inline

Templated constructor taking anything streamable.

◆ vrpn_SendTextMessageStreamProxy() [2/3]

vrpn_SendTextMessageStreamProxy ( vrpn_BaseClassUnique::SendTextMessageBoundCall const & call,
std::string const & firstData )
inline

Constructor taking a std::string, since we can use the ostringstream's std::string constructor in this case.

◆ vrpn_SendTextMessageStreamProxy() [3/3]

Copy constructor - required for return by value (?)

◆ ~vrpn_SendTextMessageStreamProxy()

Destructor performs the send_text_message call with all contents streamed into it.

成员函数说明

◆ operator<<()

template<typename T >
std::ostream & operator<< ( T const & other)
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.


该类的文档由以下文件生成: