Skip to content

Methods

Josh Miller edited this page Feb 10, 2015 · 68 revisions

Methods

Foster.cpp

Getters

Standard getter methods that return the member variables of a given cylonStruct, these include:

  • unsigned int getFosterMilliseconds(struct cylonStruct tf)
  • unsigned int getFosterSeconds(struct cylonStruct tf)
  • unsigned int getFosterMinutes(struct cylonStruct tf)
  • unsigned int getFosterHours(struct cylonStruct tf)
  • unsigned int getFosterDay(struct cylonStruct tf)
  • unsigned int getFosterDate(struct cylonStruct tf)
  • unsigned int getFosterMonth(struct cylonStruct tf)
  • unsigned int getFosterYear(struct cylonStruct tf)
  • long getFosterTimeZone(struct cylonStruct tf)
  • unsigned int getFosterDST(struct cylonStruct tf)
  • std::wstring getFosterTimeZoneName(struct cylonStruct tf)
  • std::wstring getFosterUsername(struct cylonStruct tf)
  • std::wstring getFosterDeviceName(struct cylonStruct tf)

Producers

Producer functions make calls to WinRT and supported Win32 API's to get relevant system, user and hardware information. After retrieving this information, these functions format and store the data in a given cylonStruct.

  • void produceUsername(struct cylonStruct& tf)

Clone this wiki locally