eris 1.4.0
A WorldForge client library.
Eris::Calendar Class Reference
Inheritance diagram for Eris::Calendar:
Collaboration diagram for Eris::Calendar:

Public Member Functions

 Calendar (Avatar &)
 
DateTime now () const
 
int secondsPerMinute () const
 
int minutesPerHour () const
 
int hoursPerDay () const
 

Public Attributes

sigc::signal< void > Updated
 Emitted when the calendar is updated. More...
 

Protected Member Functions

void topLevelEntityChanged ()
 
void calendarAttrChanged (const Atlas::Message::Element &value)
 
void initFromCalendarAttr (const Atlas::Message::MapType &cal)
 

Protected Attributes

Avatarm_avatar
 
int m_daysPerMonth
 
int m_monthsPerYear
 
int m_hoursPerDay
 
int m_minutesPerHour
 
int m_secondsPerMinute
 
sigc::connection m_calendarObserver
 

Detailed Description

Definition at line 57 of file Calendar.h.

Constructor & Destructor Documentation

◆ Calendar()

Eris::Calendar::Calendar ( Avatar av)
explicit

Definition at line 22 of file Calendar.cpp.

Member Function Documentation

◆ calendarAttrChanged()

void Eris::Calendar::calendarAttrChanged ( const Atlas::Message::Element &  value)
protected

Definition at line 45 of file Calendar.cpp.

◆ hoursPerDay()

int Eris::Calendar::hoursPerDay ( ) const
inline

Definition at line 66 of file Calendar.h.

◆ initFromCalendarAttr()

void Eris::Calendar::initFromCalendarAttr ( const Atlas::Message::MapType &  cal)
protected

Definition at line 59 of file Calendar.cpp.

◆ minutesPerHour()

int Eris::Calendar::minutesPerHour ( ) const
inline

Definition at line 65 of file Calendar.h.

◆ now()

DateTime Eris::Calendar::now ( ) const

Definition at line 84 of file Calendar.cpp.

◆ secondsPerMinute()

int Eris::Calendar::secondsPerMinute ( ) const
inline

Definition at line 64 of file Calendar.h.

◆ topLevelEntityChanged()

void Eris::Calendar::topLevelEntityChanged ( )
protected

Definition at line 36 of file Calendar.cpp.

Member Data Documentation

◆ m_avatar

Avatar& Eris::Calendar::m_avatar
protected

Definition at line 77 of file Calendar.h.

◆ m_calendarObserver

sigc::connection Eris::Calendar::m_calendarObserver
protected

Definition at line 85 of file Calendar.h.

◆ m_daysPerMonth

int Eris::Calendar::m_daysPerMonth
protected

Definition at line 79 of file Calendar.h.

◆ m_hoursPerDay

int Eris::Calendar::m_hoursPerDay
protected

Definition at line 81 of file Calendar.h.

◆ m_minutesPerHour

int Eris::Calendar::m_minutesPerHour
protected

Definition at line 82 of file Calendar.h.

◆ m_monthsPerYear

int Eris::Calendar::m_monthsPerYear
protected

Definition at line 80 of file Calendar.h.

◆ m_secondsPerMinute

int Eris::Calendar::m_secondsPerMinute
protected

Definition at line 83 of file Calendar.h.

◆ Updated

sigc::signal<void> Eris::Calendar::Updated

Emitted when the calendar is updated.

Definition at line 69 of file Calendar.h.


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