Exemplo n.º 1
0
CLimnStream::CLimnStream(TaggedObject * pNd)
  {
  MInitialise(); // this must be called to initialise the SMDK library if neccessary
  if (!gs_DWCfg.Initialised())
    gs_DWCfg.Initialise();

  m_bIsMassForm = false;
  m_Data.SetSize(gs_DWCfg.DataBlockCount());
  for (int i=0; i<m_Data.GetCount(); i++)
    m_Data[i]=0;

  m_bCalculate = false;
  m_pFeed=NULL;

  if (0) // TempInit
    {
    for (int i=0; i<m_Data.GetCount(); i++)
      m_Data[i]=0.1;
    }


  if (DoDbg)
    {
    Dbg.PrintLn("CLimnStream::[%6i] CTOR", (m_Id=sm_GlblId++));
    //Dump();
    }
  }
Exemplo n.º 2
0
void CBBBase::InitGeneral()
  {
  //perhaps move this???...
  MInitialise();
  }
Exemplo n.º 3
0
CDemoSM::CDemoSM(TaggedObject *pNd)
  {
  MInitialise(); // this must be called to initialise the SMDK library if neccessary
  m_dDummyPropertyF=456;
  m_dDummyPropertyS=567;
  }