Libmacro  0.2
Libmacro is an extensible macro and hotkey library.
mcr::Staged Class Reference

#include <staged.h>

Inheritance diagram for mcr::Staged:
mcr::ITriggerMember mcr::IDataMember

Public Member Functions

 Alarm ()
 
 Alarm (const Alarm &)=default
 
Alarmoperator= (const Alarm &)=default
 
int & sec ()
 
int sec () const
 
int & min ()
 
int min () const
 
int & hour ()
 
int hour () const
 
int & mday ()
 
int mday () const
 
int & mon ()
 
int mon () const
 
int & year ()
 
int year () const
 
int & wday ()
 
int wday () const
 
int & yday ()
 
int yday () const
 
int & isdst ()
 
int isdst () const
 
virtual int compare (const ISignalMember &rhs) const override
 
int compare (const Alarm &rhs) const
 
virtual void copy (const ISignalMember *copytron) override
 
virtual const char * name () const override
 
virtual void send () override
 
void zero ()
 
void now ()
 
- Public Member Functions inherited from mcr::ITriggerMember
bool operator== (const ITriggerMember &rhs)
 
bool operator< (const ITriggerMember &rhs)
 
bool operator> (const ITriggerMember &rhs)
 
- Public Member Functions inherited from mcr::IDataMember
bool operator== (const IDataMember &rhs)
 
bool operator< (const IDataMember &rhs)
 
bool operator> (const IDataMember &rhs)
 
virtual int compare (const IDataMember &rhs) const =0
 
virtual void copy (const IDataMember *copytron)=0
 
virtual size_t addNameCount () const
 
virtual void addNames (const char **, size_t) const
 

Static Public Member Functions

static Alarmdata (mcr_Signal *sigPt)
 

Public Attributes

tm time
 

Detailed Description

Pause execution until a specific date-time.

Definition at line 36 of file staged.h.

Member Function Documentation

§ compare() [1/2]

virtual int mcr::Staged::compare ( const ISignalMember rhs) const
inlineoverridevirtual

mcr_Signal_compare

Definition at line 197 of file staged.h.

§ compare() [2/2]

int mcr::Staged::compare ( const Alarm rhs) const
inline

mcr_Signal_compare

Definition at line 202 of file staged.h.

§ copy()

virtual void mcr::Staged::copy ( const ISignalMember copytron)
overridevirtual

mcr_Signal_copy

Parameters
copytronopt

§ data()

static Alarm* mcr::Staged::data ( mcr_Signal sigPt)
inlinestatic

Get an alarm from signal

Parameters
sigPtopt mcr_Signal *

Definition at line 52 of file staged.h.

§ hour() [1/2]

int& mcr::Staged::hour ( )
inline

Hours

[0-23]

Definition at line 93 of file staged.h.

§ hour() [2/2]

int mcr::Staged::hour ( ) const
inline

Hours

[0-23]

Definition at line 101 of file staged.h.

§ isdst() [1/2]

int& mcr::Staged::isdst ( )
inline

DST

[-1,0,1]

Definition at line 183 of file staged.h.

§ isdst() [2/2]

int mcr::Staged::isdst ( ) const
inline

DST

[-1,0,1]

Definition at line 191 of file staged.h.

§ mday() [1/2]

int& mcr::Staged::mday ( )
inline

Day

[1-31]

Definition at line 109 of file staged.h.

§ mday() [2/2]

int mcr::Staged::mday ( ) const
inline

Day

[1-31]

Definition at line 117 of file staged.h.

§ min() [1/2]

int& mcr::Staged::min ( )
inline

Minutes

[0-59]

Definition at line 77 of file staged.h.

§ min() [2/2]

int mcr::Staged::min ( ) const
inline

Minutes

[0-59]

Definition at line 85 of file staged.h.

§ mon() [1/2]

int& mcr::Staged::mon ( )
inline

Month

[0-11]

Definition at line 125 of file staged.h.

§ mon() [2/2]

int mcr::Staged::mon ( ) const
inline

Month

[0-11]

Definition at line 133 of file staged.h.

§ name()

virtual const char* mcr::Staged::name ( ) const
inlineoverridevirtual

mcr_ISignal_set_name

Implements mcr::IDataMember.

Definition at line 213 of file staged.h.

§ sec() [1/2]

int& mcr::Staged::sec ( )
inline

Seconds

[0-60] (1 leap second)

Definition at line 61 of file staged.h.

§ sec() [2/2]

int mcr::Staged::sec ( ) const
inline

Seconds

[0-60] (1 leap second)

Definition at line 69 of file staged.h.

§ send()

virtual void mcr::Staged::send ( )
inlineoverridevirtual

mcr_send

Definition at line 218 of file staged.h.

§ wday() [1/2]

int& mcr::Staged::wday ( )
inline

Day of week

[0-6]

Definition at line 151 of file staged.h.

§ wday() [2/2]

int mcr::Staged::wday ( ) const
inline

Day of week

[0-6]

Definition at line 159 of file staged.h.

§ yday() [1/2]

int& mcr::Staged::yday ( )
inline

Days in year

[0-365]

Definition at line 167 of file staged.h.

§ yday() [2/2]

int mcr::Staged::yday ( ) const
inline

Days in year

[0-365]

Definition at line 175 of file staged.h.

§ year() [1/2]

int& mcr::Staged::year ( )
inline

Year, 0 = 1900

Definition at line 138 of file staged.h.

§ year() [2/2]

int mcr::Staged::year ( ) const
inline

Year, 0 = 1900

Definition at line 143 of file staged.h.


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