Alex Bikfalvi
SimStream Documentation
StreamFrame.h
00001 #pragma once 00002 00003 #include "Codes.h" 00004 00005 class CStreamFrame 00006 { 00007 private: 00008 bool valid; 00009 __uint32 stream; 00010 EFrameType type; 00011 __uint32 index; 00012 char anchorP; 00013 char anchorB; 00014 __uint32 size; 00015 __uint32 segment; 00016 __byte segmentIndex; 00017 __byte segmentSize; 00018 00019 public: 00020 CStreamFrame() { this->valid = false; } 00021 CStreamFrame( 00022 __uint32 stream, 00023 EFrameType type, 00024 __uint32 index, 00025 char anchorP, 00026 char anchorB, 00027 __uint32 size, 00028 __uint32 segment, 00029 __byte segmentIndex, 00030 __byte segmentSize 00031 ); 00032 ~CStreamFrame() { } 00033 00034 inline bool Valid() { return this->valid; } 00035 inline __uint32 Stream() { return this->stream; } 00036 inline EFrameType Type() { return this->type; } 00037 inline __uint32 Index() { return this->index; } 00038 inline char AnchorP() { return this->anchorP; } 00039 inline char AnchorB() { return this->anchorB; } 00040 inline __uint32 Size() { return this->size; } 00041 inline __uint32 Segment() { return this->segment; } 00042 inline __byte SegmentIndex() { return this->segmentIndex; } 00043 inline __byte SegmentSize() { return this->segmentSize; } 00044 }; 00045
Last updated: February 8, 2011