CARMA C++
carma::ui::rtd::RtTimePanel Class Reference

A panel with time strings. More...

#include <carma/ui/rtd/common/RtDisplay.h>

Inheritance diagram for carma::ui::rtd::RtTimePanel:
carma::ui::rtd::RtObject

Public Member Functions

void change (const char *ut, const char *lst, bool visible=true)
 Change time strings and visibility. More...
 
virtual std::string getUpdate ()
 Get the update string. More...
 
 RtTimePanel (const char *ut, const char *lst)
 Constructor. More...
 
 RtTimePanel (const char *ut, const char *lst, bool visible)
 Constructor. More...
 
virtual void serialize (bool initialize, int fontSize,::rtdproto::RtObject *rtobj)
 Create the static description of this object to stdout. More...
 
virtual void update ()
 Update the time string. More...
 
- Public Member Functions inherited from carma::ui::rtd::RtObject
void appendToolTipText (const std::string &text)
 Append more text to the existing tool tip text. More...
 
Layout getLayout () const
 Get the layout for this object. More...
 
std::string getToolTipText ()
 
void setFontSize (int fontSize)
 Set the absolute font size for this object. More...
 
void setLayout (Layout layout)
 Set the layout for this object. More...
 
void setToolTipText (const std::string &text)
 Set the tool tip text for this RtObject. More...
 
virtual ~RtObject ()
 Destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from carma::ui::rtd::RtObject
int getFontSize (int parentFontSize) const
 Get the absolute font size for this object. More...
 
int getFontSize () const
 Get the absolute font size for this object. More...
 
 RtObject ()
 Constructor. More...
 

Detailed Description

A panel with time strings.

Definition at line 2254 of file RtDisplay.h.

Constructor & Destructor Documentation

carma::ui::rtd::RtTimePanel::RtTimePanel ( const char *  ut,
const char *  lst 
)

Constructor.

Parameters
utpointer to string for ut
lstpointer to string for lst
carma::ui::rtd::RtTimePanel::RtTimePanel ( const char *  ut,
const char *  lst,
bool  visible 
)

Constructor.

Parameters
utpointer to string for ut
lstpointer to string for lst
visiblea flag indicating whether the panel is initially visible

Member Function Documentation

void carma::ui::rtd::RtTimePanel::change ( const char *  ut,
const char *  lst,
bool  visible = true 
)

Change time strings and visibility.

Parameters
utpointer to string for ut
lstpointer to string for lst
visiblea flag indicating whether the panel is initially visible
virtual std::string carma::ui::rtd::RtTimePanel::getUpdate ( )
virtual

Get the update string.

virtual void carma::ui::rtd::RtTimePanel::serialize ( bool  initialize,
int  fontSize,
::rtdproto::RtObject *  rtobj 
)
virtual

Create the static description of this object to stdout.

Implements carma::ui::rtd::RtObject.

virtual void carma::ui::rtd::RtTimePanel::update ( )
virtual

Update the time string.

Implements carma::ui::rtd::RtObject.


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