18 #ifndef __igstkSerialCommunicationSimulator_h
19 #define __igstkSerialCommunicationSimulator_h
50 typedef std::ifstream FileType;
53 void SetFileName(
const char* filename);
89 unsigned int numberOfBytes );
93 unsigned int &bytesRead );
96 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;
101 typedef std::map<BinaryData, std::vector<BinaryData> > ResponseTableType;
104 typedef std::map<BinaryData, std::vector<double> > ResponseTimeType;
108 typedef std::map<BinaryData, unsigned> ResponseCounterType;
114 std::string m_FileName;
117 ResponseTableType m_ResponseTable;
120 ResponseTimeType m_TimeTable;
123 ResponseCounterType m_CounterTable;
132 #endif // __igstkSerialCommunicationSimulator_h