apache thrift generated files. additional code added to read_signal()