envcan.pl File Reference

Go to the source code of this file.

Functions

 our ($opt_v, $opt_t, $opt_T, $opt_l, $opt_u, $opt_d)
 getopts ('Tvtlu:d:')
 if (defined $opt_v)
 if (!(defined $opt_u &&defined $loc &&!$loc eq""))
 if (open(CACHE,"$dir/envcan_$loc"))
 close (CACHE)
 if ($getData)
 if ($units eq"ENG")

Variables

use strict
use ENVCANLocation
use ENVCANParser
my $name = 'ENVCAN'
my $version = 0.4
my $author = 'Joe Ripley'
my $email = 'vitaminjoe@gmail.com'
my $updateTimeout = 15*60
my $retrieveTimeout = 30
my types
my $dir = "./"
my $loc = shift
my $units = $opt_u
my $creationdate
my $nextupdate
my results
my $getData = 1


Function Documentation

our ( opt_v,
opt_t,
opt_T,
opt_l,
opt_u,
opt_d 
)

getopts ( 'Tvtlu:d:'   ) 

if ( defined $  opt_v  ) 

Definition at line 44 of file envcan.pl.

if ( defined $opt_u &&defined $loc &&!$loc eq""  ) 

Definition at line 82 of file envcan.pl.

if ( open(CACHE,"$dir/envcan_$loc")   ) 

Definition at line 93 of file envcan.pl.

close ( CACHE   ) 

Referenced by audio_close(), audio_open(), NuppelVideoRecorder::AudioInit(), Webcam::camClose(), cc_close(), ChannelBase::ChangeExternalChannel(), IvtvDecoder::CheckDevice(), VideoOutputIvtv::Close(), MythSocket::close(), IPTVFeederUDP::Close(), IPTVFeederRTSP::Close(), IPTVFeederRTP::Close(), IPTVFeederFile::Close(), PIDInfo::Close(), DVBChannel::Close(), DBox2Recorder::Close(), Channel::Close(), mythAudioDriver::Close(), ossAudioDriver::Close(), close_modem(), MythMediaDevice::closeDevice(), AudioOutputOSS::CloseDevice(), DVDISOCopyThread::copyFullDisc(), cCiHandler::CreateCiHandler(), createTempFile(), device_open(), Webcam::devName(), GLSingleView::DisplayNext(), GLSingleView::DisplayPrev(), NuppelVideoRecorder::doAudioThread(), NuppelVideoRecorder::DoMJPEG(), MythScrollDialog::done(), MythDialog::done(), NuppelVideoRecorder::DoV4L2(), dv1394_close(), dv1394_read_header(), DVBCam::DVBCam(), dvd_read_name(), DVDOpen(), ff_xvid_encode_init(), ff_xvid_rate_control_init(), FIFOWriter::FIFOWriteThread(), file_close(), VBIDevice::fillSelectionsFromDir(), VideoDevice::fillSelectionsFromDir(), PVR350VideoDevice::fillSelectionsFromDir(), VideoOutputDirectfb::GetRefreshRate(), grab_read_close(), grab_read_header(), hdhomerun_control_close_sock(), hdhomerun_debug_close_sock(), hdhomerun_device_selector_choose_test(), hdhomerun_dhcp_create(), hdhomerun_dhcp_destroy(), hdhomerun_discover_destroy(), hdhomerun_discover_sock_create(), hdhomerun_video_create(), hdhomerun_video_destroy(), if(), VideoOutputIvtv::Init(), log_rotate(), main(), NuppelVideoRecorder::MJPEGInit(), MPEG1or2ProgramStreamFileDuration(), myth_system(), MPEG1or2Demux::noteElementaryStreamDeletion(), IPTVFeederUDP::Open(), IPTVFeederRTP::Open(), IPTVFeederFile::Open(), PIDInfo::Open(), DVBChannel::Open(), MainServer::OpenAndUnlink(), mythAudioDriver::OpenAudioDevice(), ossAudioDriver::OpenAudioDevice(), AudioOutputOSS::OpenDevice(), RingBuffer::OpenFile(), DBox2Recorder::OpenStream(), GLSingleView::paintGL(), DVDProbe::probe(), MPEGConfigurationGroup::probeCard(), V4LConfigurationGroup::probeCard(), CardUtil::ProbeDVBFrontendName(), CardUtil::ProbeDVBType(), CardUtil::probeV4LInputs(), StreamState::reclaim(), DVBStreamHandler::RunTS(), HTTPRequest::SendResponseFile(), MythCDROMLinux::setSpeed(), BookmarksConfig::slotFinish(), PopupBox::slotOkClicked(), slowDelete(), NuppelVideoRecorder::StartRecording(), MpegRecorder::StartRecording(), RTSPData::SubsessionAfterPlayingCB(), DVBStreamHandler::SupportsTSMonitoring(), MpegRecorder::TeardownAll(), MainServer::TruncateAndClose(), nVidiaVideoSync::TryInit(), v4l2_read_close(), v4l2_read_header(), vbi_close(), vbi_open(), AudioOutputOSS::VolumeCleanup(), MetaIOMP4::write(), AudioOutputOSS::WriteAudio(), MPEG2fixup::WriteData(), MPEG2fixup::WriteYUV(), AMRDeinterleaver::~AMRDeinterleaver(), cHlCiHandler::~cHlCiHandler(), cLlCiHandler::~cLlCiHandler(), DRMVideoSync::~DRMVideoSync(), InputESSourceRecord::~InputESSourceRecord(), JoystickMenuClient::~JoystickMenuClient(), MediaMonitorUnix::~MediaMonitorUnix(), MPEG1or2Demux::~MPEG1or2Demux(), NuppelVideoRecorder::~NuppelVideoRecorder(), nVidiaVideoSync::~nVidiaVideoSync(), RingBuffer::~RingBuffer(), RTCVideoSync::~RTCVideoSync(), ThreadedFileWriter::~ThreadedFileWriter(), and VolumeControl::~VolumeControl().

if ( getData  ) 

Definition at line 106 of file envcan.pl.

if ( $units eq"ENG"   ) 

Definition at line 129 of file envcan.pl.


Variable Documentation

use strict

Definition at line 11 of file envcan.pl.

Definition at line 15 of file envcan.pl.

Definition at line 16 of file envcan.pl.

my $name = 'ENVCAN'

Definition at line 21 of file envcan.pl.

Referenced by $line(), Services_JSON::name_value(), and MythTV::Setting().

my $version = 0.4

Definition at line 22 of file envcan.pl.

my $author = 'Joe Ripley'

Definition at line 23 of file envcan.pl.

my $email = 'vitaminjoe@gmail.com'

Definition at line 24 of file envcan.pl.

my $updateTimeout = 15*60

Definition at line 25 of file envcan.pl.

my $retrieveTimeout = 30

Definition at line 26 of file envcan.pl.

my types

Initial value:

 ('cclocation', 'station_id', 'copyright',
            'observation_time', 'observation_time_rfc822', 'weather',
            'temp', 'relative_humidity', 
            'wind_dir', 'wind_degrees', 'wind_speed', 'wind_gust',
            'pressure', 'dewpoint', 'heat_index', 'windchill',
            'visibility', 'weather_icon', 'appt', 'wind_spdgst',
            '3dlocation', '6dlocation', 'date-0', 'icon-0', 'low-0', 'high-0',
            'date-1', 'icon-1', 'low-1', 'high-1',
            'date-2', 'icon-2', 'low-2', 'high-2', 'updatetime',
            'date-3', 'icon-3', 'low-3', 'high-3',
            'date-4', 'icon-4', 'low-4', 'high-4',
            'date-5', 'icon-5', 'low-5', 'high-5' )

Definition at line 27 of file envcan.pl.

Referenced by ScreenSetup::activeListItemSelected(), MPEGStreamData::CreatePMTSingleProgram(), ScreenSetup::doListSelect(), ScreenSetup::doLocationDialog(), WeatherScreen::getAllDynamicTypes(), SourceUtil::GetConnectionCount(), if(), SourceUtil::IsEncoder(), SourceUtil::IsProperlyConnected(), SourceUtil::IsUnscanable(), ScreenSetup::loadData(), OSDCC708DefaultFontType(), OSDCC708Fonts(), WeatherScreen::pause_animation(), WeatherSource::probeTypes(), WeatherScreen::unpause_animation(), WeatherScreen::WeatherScreen(), and MiniPlayer::wireupTheme().

my $dir = "./"

Definition at line 40 of file envcan.pl.

my $loc = shift

Definition at line 81 of file envcan.pl.

my $units = $opt_u

Definition at line 86 of file envcan.pl.

my $creationdate

Definition at line 89 of file envcan.pl.

my $nextupdate

Definition at line 90 of file envcan.pl.

my results

my $getData = 1

Definition at line 92 of file envcan.pl.


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5