Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MynahSA::StreamConstructor Class Reference

#include <streamconstructor.hpp>

List of all members.

Public Member Functions

 StreamConstructor ()
 constructor
virtual ~StreamConstructor ()
 destructor
virtual void operator() (ArchiveStreamBase &) const =0
 register constructors for a stream


Detailed Description

The StreamConstructor functor is used in the SSLConnectionManager to correctly initialize the stream. The purpose of this function is to provide registration functions for the the input stream implementation through a functor interface.

This is necessary so that the input archive instance that is embedded inside each StreamType is prepared to reconstruct objects by pointer onto a stream. To use SSLConnectionManager correctly, you must provide a derived instance of this class containing the correct calls to register each streamable data type with the input archive instance.

Note: Stream instances must support copy construction

Definition at line 39 of file streamconstructor.hpp.


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