Guillermo Stedile / VCODATA

Dependents:   SNOCC_V1 SNOCC_V2

Committer:
gstedile
Date:
Tue Apr 04 02:23:56 2017 +0000
Revision:
1:9a2a94ffbffb
Parent:
0:9faff39f9aa2
Child:
2:c386c1f00d02
Sin terminar pero siin errores de compilacion. 20170403

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gstedile 0:9faff39f9aa2 1 /* VCO DATA Library
gstedile 0:9faff39f9aa2 2 * Copyright (c) 2008-2010, sford
gstedile 0:9faff39f9aa2 3 *
gstedile 0:9faff39f9aa2 4 * Permission is hereby granted, free of charge, to any person obtaining a copy
gstedile 0:9faff39f9aa2 5 * of this software and associated documentation files (the "Software"), to deal
gstedile 0:9faff39f9aa2 6 * in the Software without restriction, including without limitation the rights
gstedile 0:9faff39f9aa2 7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
gstedile 0:9faff39f9aa2 8 * copies of the Software, and to permit persons to whom the Software is
gstedile 0:9faff39f9aa2 9 * furnished to do so, subject to the following conditions:
gstedile 0:9faff39f9aa2 10 *
gstedile 0:9faff39f9aa2 11 * The above copyright notice and this permission notice shall be included in
gstedile 0:9faff39f9aa2 12 * all copies or substantial portions of the Software.
gstedile 0:9faff39f9aa2 13 *
gstedile 0:9faff39f9aa2 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
gstedile 0:9faff39f9aa2 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
gstedile 0:9faff39f9aa2 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
gstedile 0:9faff39f9aa2 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
gstedile 0:9faff39f9aa2 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
gstedile 0:9faff39f9aa2 19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
gstedile 0:9faff39f9aa2 20 * THE SOFTWARE.
gstedile 0:9faff39f9aa2 21 */
gstedile 1:9a2a94ffbffb 22
gstedile 0:9faff39f9aa2 23 #include "VCODATA.h"
gstedile 1:9a2a94ffbffb 24 //#include <math.h>
gstedile 1:9a2a94ffbffb 25
gstedile 0:9faff39f9aa2 26
gstedile 0:9faff39f9aa2 27 /*############################################################################
gstedile 0:9faff39f9aa2 28 ##############################################################################*/
gstedile 0:9faff39f9aa2 29
gstedile 0:9faff39f9aa2 30
gstedile 0:9faff39f9aa2 31
gstedile 0:9faff39f9aa2 32
gstedile 0:9faff39f9aa2 33 /* CONSTRUCTOR: */
gstedile 0:9faff39f9aa2 34
gstedile 1:9a2a94ffbffb 35 VCODATA::VCODATA(NAVDATA InitData){
gstedile 1:9a2a94ffbffb 36 //InitData.paddata(); // Inicializamos el vector LAST_NAV_DATA.
gstedile 1:9a2a94ffbffb 37 //for(int i = valor inicial; i <= valor final; i = i + paso)
gstedile 1:9a2a94ffbffb 38
gstedile 1:9a2a94ffbffb 39 NAV_DATA = new NAVDATA[100];
gstedile 1:9a2a94ffbffb 40 for (int i=0;i<100;i+=1)
gstedile 1:9a2a94ffbffb 41 this->NAV_DATA[i]= InitData;
gstedile 1:9a2a94ffbffb 42 //this->NAV_DATA[0]->LAST_NAV_DATA[0]=InitData.LAST_NAV_DATA[0]; // Inicializamos la matríz NAVDATA.
gstedile 1:9a2a94ffbffb 43 //NAV_DATA[i]=NULL;
gstedile 1:9a2a94ffbffb 44
gstedile 1:9a2a94ffbffb 45 //AQUI GENERAR UNA MATRIZ CON VALORES DEFAULT....A lo mejor repitiendo el valor del parametro pasado o todo en 0
gstedile 0:9faff39f9aa2 46
gstedile 0:9faff39f9aa2 47
gstedile 0:9faff39f9aa2 48
gstedile 0:9faff39f9aa2 49
gstedile 0:9faff39f9aa2 50 }
gstedile 0:9faff39f9aa2 51