Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Calendar Class Reference
[ACS Components Examples]

#include <acsexmplCalendarImpl.h>

Inheritance diagram for Calendar:

Inheritance graph
[legend]
Collaboration diagram for Calendar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Calendar (const ACE_CString &name, maci::ContainerServices *containerServices)
virtual ~Calendar ()
virtual::acsexmplCalendar::RWDaysEnum_ptr day ()
virtual::acsexmplCalendar::RWMonthEnum_ptr month ()
virtual::ACS::RWpattern_ptr yearAttributes ()
virtual::acsexmplCalendar::ROStateEnum_ptr state ()

Private Member Functions

void operator= (const Calendar &)

Private Attributes

baci::SmartPropertyPointer<
baci::RWpattern
m_yearAttributes_sp
baci::SmartPropertyPointer<
RWEnumImpl< ACS_ENUM_T(acsexmplCalendar::DaysEnum),
POA_acsexmplCalendar::RWDaysEnum > 
m_day_sp )
baci::SmartPropertyPointer<
RWEnumImpl< ACS_ENUM_T(acsexmplCalendar::MonthEnum),
POA_acsexmplCalendar::RWMonthEnum > 
m_month_sp )
baci::SmartPropertyPointer<
ROEnumImpl< ACS_ENUM_T(acsexmplCalendar::StateEnum),
POA_acsexmplCalendar::ROStateEnum > 
m_state_sp )

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 $"


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

virtual Calendar::~Calendar  )  [virtual]
 

Destructor


Member Function Documentation

virtual ::acsexmplCalendar::RWDaysEnum_ptr Calendar::day  ) 
 

Returns a reference to the day property Implementation of IDL interface for the property.


virtual ::acsexmplCalendar::RWMonthEnum_ptr Calendar::month  ) 
 

Returns a reference to the month property Implementation of IDL interface for the property.


void Calendar::operator= const Calendar  )  [private]
 

ALMA C++ coding standards state copy operators should be disabled.

virtual ::acsexmplCalendar::ROStateEnum_ptr Calendar::state  ) 
 

Returns a reference to the state property Implementation of IDL interface for the property.


virtual ::ACS::RWpattern_ptr Calendar::yearAttributes  ) 
 

Returns a reference to the yearAttributes property Implementation of IDL interface for the property.



Member Data Documentation

baci::SmartPropertyPointer< RWEnumImpl<ACS_ENUM_T(acsexmplCalendar::DaysEnum), POA_acsexmplCalendar::RWDaysEnum> Calendar::m_day_sp) [private]
 

m_day_sp represents the day of the year.

baci::SmartPropertyPointer< RWEnumImpl<ACS_ENUM_T(acsexmplCalendar::MonthEnum), POA_acsexmplCalendar::RWMonthEnum> Calendar::m_month_sp) [private]
 

m_month_sp represents the month of the year.

baci::SmartPropertyPointer< ROEnumImpl<ACS_ENUM_T(acsexmplCalendar::StateEnum), POA_acsexmplCalendar::ROStateEnum> Calendar::m_state_sp) [private]
 

m_state_sp represents how good are we with the plan this year...

baci::SmartPropertyPointer<baci::RWpattern> Calendar::m_yearAttributes_sp [private]
 

m_yearAttributes_sp is the calendar's year "attribute"


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:36:12 2009 for ACS C++ API by doxygen 1.3.8