Public Member Functions

wosh::automations::CronJob Class Reference

#include <H:/WOSH/win32_vc2010/src/framework/automations/CronJob.h>

List of all members.

Public Member Functions

 CronJob ()
 Empty constructor.
 CronJob (const CronJob &m)
 Copy constructor.
virtual ~CronJob ()
 Empty destructor.
virtual WRESULT preinit ()
 register properties, methods. once in instance's life
virtual WRESULT init ()
 initiatialize state and connect to bus(ses)
virtual WRESULT deinit ()
 de-initiatialize state and disconnect bus(ses)
Setters
void setDateTime (const DateTime &value)
void setDate (int year, int month, int day)
void setTime (int hour, int min, int sec)
virtual WRESULT clear ()
Getters
const DateTimegetDateTime () const
const DateTimegetPrevInterrupt () const
std::string getDate () const
std::string getTime () const
IPropertiesProviderListener interface
virtual bool updatingProperty (bool &doUpdate, const Variant &value_proposed, Property &property_current, const PropertiesProvider *source)
Operators Overloading
CronJoboperator= (const CronJob &m)
bool operator== (const CronJob &other) const
Serialization interface
virtual bool updateHash (DataHashContext *hash_context) const

Detailed Description

See also:
wosh::automations::Automation
Version:
0.8.013
Id:
CronJob.h 3775 2011-01-01 16:38:17Z alex

Id: CronJob.h 2037 2010-03-05 15:04:52Z alex $

Author:
Alessandro Polo

Definition at line 54 of file CronJob.h.


Constructor & Destructor Documentation

wosh::automations::CronJob::CronJob (  )

Empty constructor.

Definition at line 53 of file CronJob.cpp.

wosh::automations::CronJob::CronJob ( const CronJob m )

Copy constructor.

Parameters:
m[in] the source object to be copied

Definition at line 60 of file CronJob.cpp.

virtual wosh::automations::CronJob::~CronJob (  ) [inline, virtual]

Empty destructor.

Definition at line 76 of file CronJob.h.


Member Function Documentation

WRESULT wosh::automations::CronJob::deinit (  ) [virtual]

de-initiatialize state and disconnect bus(ses)

Reimplemented from wosh::automations::Automation.

Definition at line 91 of file CronJob.cpp.

References wosh::automations::Automation::Log, wosh::LOG_CRITICAL, wosh::LOG_INFO, WRET_ERR_WRONG_STATE, and WRET_OK.

WRESULT wosh::automations::CronJob::init (  ) [virtual]

initiatialize state and connect to bus(ses)

Todo:
: we could find the busses by looking triggers source-bus field

Reimplemented from wosh::automations::Automation.

Reimplemented in wosh::automations::AutomationDayLightEvent.

Definition at line 80 of file CronJob.cpp.

References wosh::automations::Automation::Log, wosh::LOG_CRITICAL, and wosh::LOG_VERBOSE.

WRESULT wosh::automations::CronJob::preinit (  ) [virtual]

register properties, methods. once in instance's life

Reimplemented from wosh::automations::Automation.

Reimplemented in wosh::automations::AutomationDayLightEvent.

Definition at line 70 of file CronJob.cpp.

References wosh::automations::Automation::Log, wosh::LOG_CRITICAL, and WRET_OK.


The documentation for this class was generated from the following files:

Generated on Tue Feb 8 2011 09:33:33 for WOSH system 0.8.888 [wolf] by Alessandro Polo, using DoxyGen 1.7.2 hosted by WOSH Framework