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

IDEA::PslTimeConverter Class Reference

PlanServer The PslTimeConverter 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 <PslTimeConverter.hh>

List of all members.

Public Methods

 ~PslTimeConverter ()
 Destructor.

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.

Time convert (int t) const
void setConverter (PslTimeConverterImpl *impl)
 Replaces the implementation of the invoking converter to impl.

void setGranularity (const Granularity &granulity) const
 Sets the granulity for the converter to granulity.


Static Public Methods

const PslTimeConverter * instance ()
 Single global point of access to the PslTimeConverter instance.


Private Methods

 PslTimeConverter ()

Private Attributes

PslTimeConverterImplm_Impl

Static Private Attributes

PslTimeConverter * s_Instance = 0


Detailed Description

PlanServer The PslTimeConverter 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::PslTimeConverter::~PslTimeConverter  
 

Destructor.

IDEA::PslTimeConverter::PslTimeConverter   [private]
 


Member Function Documentation

Time IDEA::PslTimeConverter::convert int    t const
 

int IDEA::PslTimeConverter::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.

const PslTimeConverter * IDEA::PslTimeConverter::instance   [static]
 

Single global point of access to the PslTimeConverter instance.

void IDEA::PslTimeConverter::setConverter PslTimeConverterImpl   impl
 

Replaces the implementation of the invoking converter to impl.

void IDEA::PslTimeConverter::setGranularity const Granularity   granulity const
 

Sets the granulity for the converter to granulity.


Member Data Documentation

PslTimeConverterImpl* IDEA::PslTimeConverter::m_Impl [private]
 

PslTimeConverter * IDEA::PslTimeConverter::s_Instance = 0 [static, private]
 


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