Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ModeFactory Class Reference

#include <modeFactory.h>

Public Member Functions

 ModeFactory ()
 
 ~ModeFactory ()
 

Static Public Member Functions

static boost::shared_ptr< Modecreate (cob_light::LightMode requestMode, IColorO *colorO)
 
static boost::shared_ptr< Modecreate (std::string mode, color::rgba color)
 
static int type (Mode *mode)
 

Private Attributes

IColorO_colorO
 

Detailed Description

Definition at line 27 of file modeFactory.h.

Constructor & Destructor Documentation

◆ ModeFactory()

ModeFactory::ModeFactory ( )

Definition at line 33 of file modeFactory.cpp.

◆ ~ModeFactory()

ModeFactory::~ModeFactory ( )

Definition at line 36 of file modeFactory.cpp.

Member Function Documentation

◆ create() [1/2]

boost::shared_ptr< Mode > ModeFactory::create ( cob_light::LightMode  requestMode,
IColorO colorO 
)
static

Definition at line 40 of file modeFactory.cpp.

◆ create() [2/2]

boost::shared_ptr< Mode > ModeFactory::create ( std::string  mode,
color::rgba  color 
)
static

Definition at line 178 of file modeFactory.cpp.

◆ type()

int ModeFactory::type ( Mode mode)
static

Definition at line 210 of file modeFactory.cpp.

Member Data Documentation

◆ _colorO

IColorO* ModeFactory::_colorO
private

Definition at line 39 of file modeFactory.h.


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


cob_light
Author(s): Benjamin Maidel
autogenerated on Thu Nov 17 2022 03:17:28