Public Member Functions | Private Member Functions | Private Attributes
Gui::Resource< RT > Class Template Reference

#include <resource.h>

Inheritance diagram for Gui::Resource< RT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

template<typename VT >
View< RT, VT > * createView (const std::string &name)
RT::DataTypePtr & getData ()
void releaseView (const std::string &name)
 Resource (const std::string &name, const typename RT::DataTypePtr &data)
void resourceChanged ()
 ~Resource ()

Private Member Functions

template<typename VT >
View< RT, VT > * createView (const std::string &name, ViewTypes::View2D)
template<typename VT >
View< RT, VT > * createView (const std::string &name, ViewTypes::ViewText)

Private Attributes

RT::DataTypePtr data_
std::string name_
std::map< std::string, ViewBase * > views_

Detailed Description

template<typename RT>
class Gui::Resource< RT >

Definition at line 87 of file resource.h.


Constructor & Destructor Documentation

template<typename RT>
Gui::Resource< RT >::Resource ( const std::string &  name,
const typename RT::DataTypePtr &  data 
) [inline]

Definition at line 90 of file resource.h.

template<typename RT>
Gui::Resource< RT >::~Resource ( ) [inline]

Definition at line 91 of file resource.h.


Member Function Documentation

template<typename RT>
template<typename VT >
View<RT, VT>* Gui::Resource< RT >::createView ( const std::string &  name) [inline]

Definition at line 94 of file resource.h.

template<typename RT >
template<typename VT >
Gui::View< RT, VT > * Gui::Resource< RT >::createView ( const std::string &  name,
ViewTypes::View2D   
) [private]

Definition at line 82 of file resource.hpp.

template<typename RT >
template<typename VT >
Gui::View< RT, VT > * Gui::Resource< RT >::createView ( const std::string &  name,
ViewTypes::ViewText   
) [private]

Definition at line 91 of file resource.hpp.

template<typename RT>
RT::DataTypePtr& Gui::Resource< RT >::getData ( ) [inline]

Definition at line 96 of file resource.h.

template<typename RT>
void Gui::Resource< RT >::releaseView ( const std::string &  name) [inline, virtual]

Implements Gui::ResourceBase.

Definition at line 97 of file resource.h.

template<typename RT >
void Gui::Resource< RT >::resourceChanged ( ) [virtual]

Implements Gui::ResourceBase.

Definition at line 74 of file resource.hpp.


Member Data Documentation

template<typename RT>
RT::DataTypePtr Gui::Resource< RT >::data_ [private]

Definition at line 106 of file resource.h.

template<typename RT>
std::string Gui::Resource< RT >::name_ [private]

Definition at line 105 of file resource.h.

template<typename RT>
std::map<std::string, ViewBase*> Gui::Resource< RT >::views_ [private]

Definition at line 107 of file resource.h.


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


cob_3d_mapping_tools
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:04:27