Exemple #1
0
        public void Initialize(CellService cell)
        {
            this.cell                  = cell;
            cell.OnImageCallback      += OnImageCallback;
            cell.OnTempertureCallback += OnTemperatureCallback;
            refbase = new RefBase(() => { base.Discard(); base.Join(); });

            CreateImageBuffer(cell.mCell.mIRCameraWidth * cell.mCell.mIRCameraHeight);
            encoder.Initialize(cell.mCell.mIRCameraWidth, cell.mCell.mIRCameraHeight, cell.mCell.mIRCameraVideoFrameRate);
        }
Exemple #2
0
    static void Main()
    {
        RefBase    rb = new RefBase();
        RefDerived rd = new RefDerived();

        Val v = new Val();

        rb.NonVirtual_OnReferenceType();
        rb.Virtual_OnReferenceType();

        rd.NonVirtual_OnReferenceType();
        rd.Virtual_OnReferenceType();

        v.NonVirtual_OnValueType();
        v.ToString();
    }