Privacy
An open-source, flexible 3D physical simulation framework
mars::plugins::Text3D::Text3D Class Reference

#include <Text3D.h>

Public Member Functions

 Text3D (lib_manager::LibManager *theManager)
 
 ~Text3D ()
 
int getLibVersion () const
 
const std::string getLibName () const
 
 CREATE_MODULE_INFO ()
 
void init ()
 
void reset ()
 
void update (mars::interfaces::sReal time_ms)
 
virtual void receiveData (const data_broker::DataInfo &info, const data_broker::DataPackage &package, int callbackParam)
 The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur. More...
 
virtual void cfgUpdateProperty (cfg_manager::cfgPropertyStruct _property)
 
- Public Member Functions inherited from mars::interfaces::MarsPluginTemplate
 MarsPluginTemplate (lib_manager::LibManager *theManager, std::string libName)
 
 ~MarsPluginTemplate ()
 
- Public Member Functions inherited from lib_manager::LibInterface
 LibInterface (LibManager *theManager)
 
virtual ~LibInterface (void)
 
ModuleInfo getModuleInfo () const
 
virtual void newLibLoaded (const std::string &libName)
 
virtual void createModuleInfo (void)
 
- Public Member Functions inherited from mars::interfaces::PluginInterface
 PluginInterface (ControlCenter *control)
 
virtual ~PluginInterface (void)
 
virtual void handleError (void)
 
virtual void getSomeData (void *data)
 
- Public Member Functions inherited from mars::data_broker::ReceiverInterface
 ReceiverInterface ()
 
virtual ~ReceiverInterface ()
 
- Public Member Functions inherited from mars::cfg_manager::CFGClient
 CFGClient ()
 
virtual ~CFGClient ()
 
virtual void cfgParamCreated (cfgParamId _id)
 
virtual void cfgParamRemoved (cfgParamId _id)
 

Private Attributes

cfg_manager::cfgPropertyStruct example
 
osg_text::TextFactoryInterfacetextFactory
 
std::map< cfg_manager::cfgParamId, TextData * > textMap
 
int maskId
 

Additional Inherited Members

- Protected Attributes inherited from mars::interfaces::MarsPluginTemplate
std::string configPath
 
std::string resourcesPath
 
- Protected Attributes inherited from lib_manager::LibInterface
LibManagerlibManager
 
ModuleInfo moduleInfo
 
- Protected Attributes inherited from mars::interfaces::PluginInterface
ControlCentercontrol
 

Detailed Description

Definition at line 64 of file Text3D.h.

Constructor & Destructor Documentation

◆ Text3D()

mars::plugins::Text3D::Text3D::Text3D ( lib_manager::LibManager theManager)

Definition at line 44 of file Text3D.cpp.

◆ ~Text3D()

mars::plugins::Text3D::Text3D::~Text3D ( )

Definition at line 184 of file Text3D.cpp.

Member Function Documentation

◆ cfgUpdateProperty()

void mars::plugins::Text3D::Text3D::cfgUpdateProperty ( cfg_manager::cfgPropertyStruct  _property)
virtual

Reimplemented from mars::cfg_manager::CFGClient.

Definition at line 198 of file Text3D.cpp.

◆ CREATE_MODULE_INFO()

mars::plugins::Text3D::Text3D::CREATE_MODULE_INFO ( )

◆ getLibName()

const std::string mars::plugins::Text3D::Text3D::getLibName ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 77 of file Text3D.h.

◆ getLibVersion()

int mars::plugins::Text3D::Text3D::getLibVersion ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 75 of file Text3D.h.

◆ init()

void mars::plugins::Text3D::Text3D::init ( void  )
virtual

Implements mars::interfaces::PluginInterface.

Definition at line 48 of file Text3D.cpp.

◆ receiveData()

void mars::plugins::Text3D::Text3D::receiveData ( const data_broker::DataInfo info,
const data_broker::DataPackage dataPackage,
int  callbackParam 
)
virtual

The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur.

Parameters
infoInformation about the DataPackage.
dataPackageThe DataPackage containing all the data.
callbackParamThe int the receiver passed during registration. The default (the receiver didn't provide a callbackParam) is 0. This can be used to easily distinguish different registrations.

Implements mars::data_broker::ReceiverInterface.

Definition at line 192 of file Text3D.cpp.

◆ reset()

void mars::plugins::Text3D::Text3D::reset ( void  )
virtual

Implements mars::interfaces::PluginInterface.

Definition at line 181 of file Text3D.cpp.

◆ update()

void mars::plugins::Text3D::Text3D::update ( mars::interfaces::sReal  time_ms)
virtual

Implements mars::interfaces::PluginInterface.

Definition at line 189 of file Text3D.cpp.

Member Data Documentation

◆ example

cfg_manager::cfgPropertyStruct mars::plugins::Text3D::Text3D::example
private

Definition at line 98 of file Text3D.h.

◆ maskId

int mars::plugins::Text3D::Text3D::maskId
private

Definition at line 101 of file Text3D.h.

◆ textFactory

osg_text::TextFactoryInterface* mars::plugins::Text3D::Text3D::textFactory
private

Definition at line 99 of file Text3D.h.

◆ textMap

std::map<cfg_manager::cfgParamId, TextData*> mars::plugins::Text3D::Text3D::textMap
private

Definition at line 100 of file Text3D.h.


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