Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

IDEA::PslTimeConverterImpl Class Reference
[PlanServer implementation base classes]

Converts time (Time) representation of the agent into an integer and vice versa. The integer is the representation used to store the values in the plan database. More...

#include <PslTimeConverterImpl.hh>

List of all members.

Public Methods

 PslTimeConverterImpl (const Granularity &granulity=SECONDS)
 Constructor.

virtual ~PslTimeConverterImpl ()
 Destructor.

virtual int convert (const Time &t) const
 Converts the time t to an integer. This integer is passed to the database to store the time in the database.

virtual Time convert (int t) const
void setGranularity (const Granularity &granulity)

Private Attributes

Granularity m_Granulity


Detailed Description

Converts time (Time) representation of the agent into an integer and vice versa. The integer is the representation used to store the values in the plan database.


Constructor & Destructor Documentation

IDEA::PslTimeConverterImpl::PslTimeConverterImpl const Granularity   granulity = SECONDS
 

Constructor.

IDEA::PslTimeConverterImpl::~PslTimeConverterImpl   [virtual]
 

Destructor.


Member Function Documentation

Time IDEA::PslTimeConverterImpl::convert int    t const [virtual]
 

int IDEA::PslTimeConverterImpl::convert const Time   t const [virtual]
 

Converts the time t to an integer. This integer is passed to the database to store the time in the database.

void IDEA::PslTimeConverterImpl::setGranularity const Granularity   granulity
 


Member Data Documentation

Granularity IDEA::PslTimeConverterImpl::m_Granulity [private]
 


Contact information
© IDEA
Generated on Fri Feb 3 17:09:48 2006 for IDEA.