Esempio n. 1
0
        public void Initialise(Object host)
        {
            Host = ( Host )host;

            _Next          = Utilities.ReadStructure <VcrRecord>(Host.VcrReader.BaseStream);
            _IsInitialised = true;
        }
Esempio n. 2
0
 /// <summary>
 /// VCR_ReadNext
 /// </summary>
 private void ReadNext()
 {
     try
     {
         _Next = sys.ReadStructure <VcrRecord>(host.VcrReader.BaseStream);
     }
     catch (IOException)
     {
         _Next    = new VcrRecord();
         _Next.op = 255;
         sys.Error("=== END OF PLAYBACK===\n");
     }
     if (_Next.op < 1 || _Next.op > VcrOp.VCR_MAX_MESSAGE)
     {
         sys.Error("VCR_ReadNext: bad op");
     }
 }
Esempio n. 3
0
 public void Init()
 {
     _Next          = sys.ReadStructure <VcrRecord>(host.VcrReader.BaseStream);
     _IsInitialized = true;
 }
Esempio n. 4
0
 /// <summary>
 /// VCR_ReadNext
 /// </summary>
 private void ReadNext()
 {
     try
     {
         _Next = Sys.ReadStructure<VcrRecord>(Host.VcrReader.BaseStream);
     }
     catch (IOException)
     {
         _Next = new VcrRecord();
         _Next.op = 255;
         Sys.Error("=== END OF PLAYBACK===\n");
     }
     if (_Next.op < 1 || _Next.op > VcrOp.VCR_MAX_MESSAGE)
         Sys.Error("VCR_ReadNext: bad op");
 }
Esempio n. 5
0
 public void Init()
 {
     _Next = Sys.ReadStructure<VcrRecord>(Host.VcrReader.BaseStream);
     _IsInitialized = true;
 }