29#ifndef vtkMultiProcessStream_h
30#define vtkMultiProcessStream_h
33#include "vtkParallelCoreModule.h"
86 void Push(
double array[],
unsigned int size);
87 void Push(
float array[],
unsigned int size);
88 void Push(
int array[],
unsigned int size);
89 void Push(
char array[],
unsigned int size);
90 void Push(
unsigned int array[],
unsigned int size);
91 void Push(
unsigned char array[],
unsigned int size);
92 void Push(vtkTypeInt64 array[],
unsigned int size);
93 void Push(vtkTypeUInt64 array[],
unsigned int size);
104 void Pop(
double*& array,
unsigned int& size);
105 void Pop(
float*& array,
unsigned int& size);
106 void Pop(
int*& array,
unsigned int& size);
107 void Pop(
char*& array,
unsigned int& size);
108 void Pop(
unsigned int*& array,
unsigned int& size);
109 void Pop(
unsigned char*& array,
unsigned int& size);
110 void Pop(vtkTypeInt64*& array,
unsigned int& size);
111 void Pop(vtkTypeUInt64*& array,
unsigned int& size);
149 vtkInternals* Internals;
150 unsigned char Endianness;
stream used to pass data across processes using vtkMultiProcessController.
void Pop(vtkTypeUInt64 *&array, unsigned int &size)
Remove-array-to-stream methods.
vtkMultiProcessStream & operator<<(vtkTypeUInt64 value)
Add-to-stream operators.
vtkMultiProcessStream & operator<<(const vtkMultiProcessStream &)
Add-to-stream operators.
vtkMultiProcessStream & operator<<(vtkTypeInt64 value)
Add-to-stream operators.
vtkMultiProcessStream & operator<<(int value)
Add-to-stream operators.
vtkMultiProcessStream & operator>>(bool &value)
Remove-from-stream operators.
void SetRawData(const unsigned char *, unsigned int size)
Serialization methods used to save/restore the stream to/from raw data.
vtkMultiProcessStream & operator<<(unsigned int value)
Add-to-stream operators.
vtkMultiProcessStream & operator>>(unsigned int &value)
Remove-from-stream operators.
void Pop(double *&array, unsigned int &size)
Remove-array-to-stream methods.
vtkMultiProcessStream & operator>>(char &value)
Remove-from-stream operators.
std::vector< unsigned char > GetRawData() const
Serialization methods used to save/restore the stream to/from raw data.
vtkMultiProcessStream & operator=(const vtkMultiProcessStream &)
vtkMultiProcessStream & operator>>(vtkTypeUInt64 &value)
Remove-from-stream operators.
void SetRawData(const std::vector< unsigned char > &data)
Serialization methods used to save/restore the stream to/from raw data.
bool Empty()
Returns true iff the stream is empty.
vtkMultiProcessStream & operator>>(unsigned char &value)
Remove-from-stream operators.
void Push(float array[], unsigned int size)
Add-array-to-stream methods.
vtkMultiProcessStream & operator>>(int &value)
Remove-from-stream operators.
vtkMultiProcessStream & operator>>(double &value)
Remove-from-stream operators.
void GetRawData(std::vector< unsigned char > &data) const
Serialization methods used to save/restore the stream to/from raw data.
void Pop(char *&array, unsigned int &size)
Remove-array-to-stream methods.
void Push(unsigned int array[], unsigned int size)
Add-array-to-stream methods.
vtkMultiProcessStream & operator<<(const std::string &value)
Add-to-stream operators.
void Pop(unsigned char *&array, unsigned int &size)
Remove-array-to-stream methods.
void Push(int array[], unsigned int size)
Add-array-to-stream methods.
void Push(char array[], unsigned int size)
Add-array-to-stream methods.
void Reset()
Clears everything in the stream.
vtkMultiProcessStream & operator<<(float value)
Add-to-stream operators.
void Push(double array[], unsigned int size)
Add-array-to-stream methods.
vtkMultiProcessStream & operator>>(vtkTypeInt64 &value)
Remove-from-stream operators.
void Push(vtkTypeInt64 array[], unsigned int size)
Add-array-to-stream methods.
vtkMultiProcessStream & operator<<(bool value)
Add-to-stream operators.
vtkMultiProcessStream & operator>>(float &value)
Remove-from-stream operators.
void Pop(float *&array, unsigned int &size)
Remove-array-to-stream methods.
void Pop(int *&array, unsigned int &size)
Remove-array-to-stream methods.
void Pop(unsigned int *&array, unsigned int &size)
Remove-array-to-stream methods.
vtkMultiProcessStream & operator>>(vtkMultiProcessStream &)
Remove-from-stream operators.
void Push(vtkTypeUInt64 array[], unsigned int size)
Add-array-to-stream methods.
vtkMultiProcessStream & operator<<(const char *value)
Add-to-stream operators.
void Pop(vtkTypeInt64 *&array, unsigned int &size)
Remove-array-to-stream methods.
vtkMultiProcessStream & operator<<(double value)
Add-to-stream operators.
void GetRawData(unsigned char *&data, unsigned int &size)
Serialization methods used to save/restore the stream to/from raw data.
vtkMultiProcessStream & operator<<(char value)
Add-to-stream operators.
void Push(unsigned char array[], unsigned int size)
Add-array-to-stream methods.
vtkMultiProcessStream & operator>>(std::string &value)
Remove-from-stream operators.
int Size()
Returns the size of the stream.
vtkMultiProcessStream & operator<<(unsigned char value)
Add-to-stream operators.
int RawSize()
Returns the size of the raw data returned by GetRawData.
vtkMultiProcessStream(const vtkMultiProcessStream &)