CDR_Recycle_Functor Class Reference
#include <test_fdm.h>
Public Member Functions | |
| CDR_Recycle_Functor (bool verbosity=false) | |
| virtual bool | operator() (FDM_Stream &out, FDM_Stream &in) |
Public Attributes | |
| bool | verbose |
Detailed Description
Definition at line 83 of file test_fdm.h.
Constructor & Destructor Documentation
| CDR_Recycle_Functor::CDR_Recycle_Functor | ( | bool | verbosity = false |
) | [inline] |
Member Function Documentation
| virtual bool CDR_Recycle_Functor::operator() | ( | FDM_Stream & | out, | |
| FDM_Stream & | in | |||
| ) | [inline, virtual] |
Definition at line 87 of file test_fdm.h.
References FDM_CDR::get_message_block(), and verbose.
00087 { 00088 FDM_CDR &cdr_out = dynamic_cast<FDM_CDR &>(out); 00089 FDM_CDR &cdr_in = dynamic_cast<FDM_CDR &>(in); 00090 // Harvest message from output 00091 const ACE_Message_Block &msg = cdr_out.get_message_block(); 00092 00093 if(verbose) { 00094 std::cout << "Resulting message: " << std::endl 00095 << msg << std::endl; 00096 } 00097 00098 // Feed harvested data to the input 00099 cdr_in.set_message_block(msg); 00100 return(true); 00101 }
Here is the call graph for this function:

Member Data Documentation
The documentation for this class was generated from the following file: