#include <nMessageMock.h>
Public Member Functions | |
nMessageMock () | |
~nMessageMock () | |
void | receive () |
void | Write (unsigned short x) |
void | Read (unsigned short &x) |
nMessageMock & | operator<< (const float &x) |
nMessageMock & | operator>> (float &x) |
nMessageMock & | operator<< (const unsigned short &x) |
nMessageMock & | operator>> (unsigned short &x) |
nMessageMock & | operator<< (const int &x) |
nMessageMock & | operator>> (int &x) |
Protected Attributes | |
std::ostringstream | out |
std::istream | in |
Definition at line 8 of file nMessageMock.h.
nMessageMock::nMessageMock | ( | ) |
nMessageMock::~nMessageMock | ( | ) |
void nMessageMock::receive | ( | ) |
Definition at line 6 of file nMessageMock.cpp.
References out.
00007 { 00008 // out(in.rdbuf()); 00009 00010 std::cerr << ">>" << out.str() << "<<" << std::endl; 00011 }
void nMessageMock::Write | ( | unsigned short | x | ) |
void nMessageMock::Read | ( | unsigned short & | x | ) |
nMessageMock & nMessageMock::operator<< | ( | const float & | x | ) |
nMessageMock & nMessageMock::operator>> | ( | float & | x | ) |
nMessageMock & nMessageMock::operator<< | ( | const unsigned short & | x | ) |
nMessageMock & nMessageMock::operator>> | ( | unsigned short & | x | ) |
nMessageMock & nMessageMock::operator<< | ( | const int & | x | ) |
nMessageMock & nMessageMock::operator>> | ( | int & | x | ) |
std::ostringstream nMessageMock::out [protected] |
std::istream nMessageMock::in [protected] |