Colour Class Reference

#include <colour.h>

Collaboration diagram for Colour:
Collaboration graph
[legend]

Public Types

typedef MemberCaller1< Colour,
const std::string
&,&Colour::colourChanged > 
ColourChangedCaller

Public Member Functions

 Colour (const Callback &colourChanged)
 ~Colour ()
void colourChanged (const std::string &value)
void write (Entity *entity) const
Shader * state () const

Data Fields

Vector3 m_colour

Private Member Functions

void capture_state ()
void release_state ()

Private Attributes

Callback m_colourChanged
Shader * m_state

Detailed Description

Definition at line 50 of file colour.h.


Member Typedef Documentation

typedef MemberCaller1<Colour, const std::string&, &Colour::colourChanged> Colour::ColourChangedCaller

Definition at line 86 of file colour.h.


Constructor & Destructor Documentation

Colour::Colour ( const Callback &  colourChanged  )  [inline]

Definition at line 67 of file colour.h.

References capture_state(), default_colour(), and m_colour.

Colour::~Colour (  )  [inline]

Definition at line 73 of file colour.h.

References release_state().


Member Function Documentation

void Colour::capture_state (  )  [inline, private]

Definition at line 55 of file colour.h.

References colour_capture_state_fill(), m_colour, and m_state.

Referenced by Colour(), and colourChanged().

void Colour::colourChanged ( const std::string value  )  [inline]

Definition at line 78 of file colour.h.

References capture_state(), m_colour, m_colourChanged, read_colour(), and release_state().

void Colour::release_state (  )  [inline, private]

Definition at line 59 of file colour.h.

References colour_release_state_fill(), and m_colour.

Referenced by colourChanged(), and ~Colour().

Shader* Colour::state (  )  const [inline]

Definition at line 93 of file colour.h.

References m_state.

void Colour::write ( Entity entity  )  const [inline]

Definition at line 88 of file colour.h.

References m_colour, and write_colour().


Field Documentation

Definition at line 65 of file colour.h.

Referenced by capture_state(), Colour(), colourChanged(), release_state(), and write().

Callback Colour::m_colourChanged [private]

Definition at line 52 of file colour.h.

Referenced by colourChanged().

Shader* Colour::m_state [private]

Definition at line 53 of file colour.h.

Referenced by capture_state(), and state().


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

Generated by  doxygen 1.6.2