CARMA C++
carma::ui::rtd::RtTitledObj Class Referenceabstract

Base class for RtObjects with titles, such as a container. More...

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

Inheritance diagram for carma::ui::rtd::RtTitledObj:
carma::ui::rtd::RtObject carma::ui::rtd::RtColumn carma::ui::rtd::RtContainer carma::ui::rtd::RtMenu carma::ui::rtd::RtRow carma::ui::rtd::RtArea carma::ui::rtd::RtBox carma::ui::rtd::RtDisplay carma::ui::rtd::RtTable carma::ui::rtd::RtFolder carma::ui::rtd::RtHBox carma::ui::rtd::RtVBox

Public Member Functions

std::string getTitle ()
 Get title. More...
 
virtual void serialize (bool initialize, int fontSize,::rtdproto::RtObject *rtobj)=0
 Create the static description of this object to standard out. More...
 
void setTitle (const std::string &title)
 Set title for object. More...
 
virtual void update ()
 Update the object. 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...
 

Protected Member Functions

 RtTitledObj (const std::string &title)
 Constructor. More...
 
- 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...
 

Protected Attributes

std::string title_
 Object title. More...
 

Detailed Description

Base class for RtObjects with titles, such as a container.

Definition at line 1299 of file RtDisplay.h.

Constructor & Destructor Documentation

carma::ui::rtd::RtTitledObj::RtTitledObj ( const std::string &  title)
protected

Constructor.

Parameters
titletitle for the object

Member Function Documentation

std::string carma::ui::rtd::RtTitledObj::getTitle ( )

Get title.

virtual void carma::ui::rtd::RtTitledObj::serialize ( bool  initialize,
int  fontSize,
::rtdproto::RtObject *  rtobj 
)
pure virtual
void carma::ui::rtd::RtTitledObj::setTitle ( const std::string &  title)

Set title for object.

Parameters
titletitle for the object
virtual void carma::ui::rtd::RtTitledObj::update ( )
virtual

Update the object.

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

Reimplemented in carma::ui::rtd::RtContainer.

Member Data Documentation

std::string carma::ui::rtd::RtTitledObj::title_
protected

Object title.

Definition at line 1324 of file RtDisplay.h.


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