/* * PrivateOutput.h * */ #ifndef PROCESSOR_PRIVATEOUTPUT_H_ #define PROCESSOR_PRIVATEOUTPUT_H_ #include using namespace std; template class SubProcessor; template class PrivateOutput { typedef typename T::open_type open_type; SubProcessor& proc; typename T::MAC_Check MC; deque masks; public: PrivateOutput(SubProcessor& proc); ~PrivateOutput(); void prepare_sending(const T& source, int player); void exchange(); typename T::clear finalize(int player); }; #endif /* PROCESSOR_PRIVATEOUTPUT_H_ */