![]() |
nomlib
|
Public Types | |
| typedef Drawables | self_type |
| typedef self_type * | raw_ptr |
| typedef std::unique_ptr< self_type > | unique_ptr |
| typedef std::shared_ptr< self_type > | shared_ptr |
| typedef IDrawable | value_type |
| typedef std::vector< value_type::shared_ptr > | container |
| typedef container::iterator | iterator |
| typedef container::const_iterator | const_iterator |
Public Member Functions | |
| Drawables (void) | |
| Default constructor. | |
| ~Drawables (void) | |
| Destructor. | |
| Drawables (const Drawables::container &object) | |
| Constructor to ... | |
| const container & | drawables (void) const |
| bool | updated (void) const |
| Getter for internal updated status. | |
| void | set_updated (bool state) |
| Set the internal updated status. | |
| void | assign (const container &objects) |
| void | insert (uint pos, const value_type::raw_ptr object) |
| void | push_back (const value_type::raw_ptr object) |
| const value_type::shared_ptr & | at (uint pos) |
| Drawables::iterator | erase (uint pos) |
| bool | empty (void) const |
| uint | size (void) const |
| void | clear (void) |
| Drawables::const_iterator | begin (void) const |
| Iterator access to the beginning of the render list. | |
| Drawables::const_iterator | end (void) const |
| Iterator access to the end of the render list. | |
| Drawables::iterator | begin (void) |
| Iterator access to the beginning of the render list. | |
| Drawables::iterator | end (void) |
| Iterator access to the end of the render list. | |
Private Attributes | |
| container | drawables_ |
| bool | updated_ |
| Internal object state; we re-create drawable objects every time the internal state changes in order to save as many CPU cycles. | |
Definition at line 42 of file Drawables.hpp.
| typedef container::const_iterator nom::Drawables::const_iterator |
Definition at line 55 of file Drawables.hpp.
| typedef std::vector<value_type::shared_ptr> nom::Drawables::container |
Definition at line 52 of file Drawables.hpp.
| typedef container::iterator nom::Drawables::iterator |
Definition at line 54 of file Drawables.hpp.
| typedef self_type* nom::Drawables::raw_ptr |
Definition at line 47 of file Drawables.hpp.
| typedef Drawables nom::Drawables::self_type |
Definition at line 45 of file Drawables.hpp.
| typedef std::shared_ptr<self_type> nom::Drawables::shared_ptr |
Definition at line 49 of file Drawables.hpp.
| typedef std::unique_ptr<self_type> nom::Drawables::unique_ptr |
Definition at line 48 of file Drawables.hpp.
| typedef IDrawable nom::Drawables::value_type |
Definition at line 51 of file Drawables.hpp.
| Drawables::iterator nom::Drawables::begin | ( | void | ) |
Iterator access to the beginning of the render list.
| Drawables::const_iterator nom::Drawables::begin | ( | void | ) | const |
Iterator access to the beginning of the render list.
| Drawables::iterator nom::Drawables::end | ( | void | ) |
Iterator access to the end of the render list.
| Drawables::const_iterator nom::Drawables::end | ( | void | ) | const |
Iterator access to the end of the render list.
|
private |
Definition at line 111 of file Drawables.hpp.
|
private |
Internal object state; we re-create drawable objects every time the internal state changes in order to save as many CPU cycles.
Definition at line 115 of file Drawables.hpp.