ALMA Computing Group
Public Member Functions | Private Member Functions | Private Attributes

Calendar Class Reference
[ACS Components Examples]

Simulates the behavior of a calendar using enums and pattern properties. More...

#include <acsexmplCalendarImpl.h>

List of all members.

Public Member Functions

 Calendar (const ACE_CString &name, maci::ContainerServices *containerServices)
 Constructor.
virtual ~Calendar ()
 Destructor.
virtual
::acsexmplCalendar::RWDaysEnum_ptr 
day ()
 Returns a reference to the day property Implementation of IDL interface for the property.
virtual
::acsexmplCalendar::RWMonthEnum_ptr 
month ()
 Returns a reference to the month property Implementation of IDL interface for the property.
virtual ::ACS::RWpattern_ptr yearAttributes ()
 Returns a reference to the yearAttributes property Implementation of IDL interface for the property.
virtual
::acsexmplCalendar::ROStateEnum_ptr 
state ()
 Returns a reference to the state property Implementation of IDL interface for the property.

Private Member Functions

void operator= (const Calendar &)
 ALMA C++ coding standards state copy operators should be disabled.

Private Attributes

baci::SmartPropertyPointer
< baci::RWpattern > 
m_yearAttributes_sp
 m_yearAttributes_sp is the calendar's year "attribute"
baci::SmartPropertyPointer
< RWEnumImpl< ACS_ENUM_T(acsexmplCalendar::DaysEnum),
POA_acsexmplCalendar::RWDaysEnum > > 
m_day_sp
 m_day_sp represents the day of the year.
baci::SmartPropertyPointer
< RWEnumImpl< ACS_ENUM_T(acsexmplCalendar::MonthEnum),
POA_acsexmplCalendar::RWMonthEnum > > 
m_month_sp
 m_month_sp represents the month of the year.
baci::SmartPropertyPointer
< ROEnumImpl< ACS_ENUM_T(acsexmplCalendar::StateEnum),
POA_acsexmplCalendar::ROStateEnum > > 
m_state_sp
 m_state_sp represents how good are we with the plan this year...

Detailed Description

Simulates the behavior of a calendar using enums and pattern properties.

This is an example component which includes enums and pattern types. It represents a simple calendar. Calendar provides no methods, but it has four enum/pattern properties.

Author:
Matej Sekoranja, Jozef Stefan Institute, Slovenia
Version:
"@(#) $Id: acsexmplCalendarImpl.h,v 1.98 2008/10/01 04:30:47 cparedes Exp $"

Definition at line 104 of file acsexmplCalendarImpl.h.


Constructor & Destructor Documentation

Calendar::Calendar ( const ACE_CString &  name,
maci::ContainerServices *  containerServices 
)

Constructor.

Parameters:
poa poa which will activate this and also all other components
name component name

Definition at line 40 of file acsexmplCalendarImpl.cpp.


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