Public Member Functions | |
virtual void | AppendItem (MessageQueue *client, Message &item) |
void | BuildDisplayList (MessageQueue *client) |
void | Clear (MessageQueue *client) |
struct clientDisplaylist & | GetDisplayList (MessageQueue *client) |
void | glPlayerColour (const player_color_t &colour) |
bool | HasActiveDisplayList (MessageQueue *client) |
PlayerGraphicsVis () | |
void | RemoveDisplayList (struct clientDisplaylist &list) |
virtual void | RenderItem (Message &item)=0 |
void | Subscribe (QueuePointer &queue) |
void | Unsubscribe (QueuePointer &queue) |
virtual void | Visualize (Stg::Model *mod, Stg::Camera *cam) |
virtual | ~PlayerGraphicsVis (void) |
Private Types | |
typedef map< MessageQueue *, struct clientDisplaylist > | queuemap |
Private Attributes | |
queuemap | ClientDisplayLists |
Definition at line 64 of file p_graphics.cc.
typedef map<MessageQueue *, struct clientDisplaylist> PlayerGraphicsVis::queuemap [private] |
Definition at line 173 of file p_graphics.cc.
PlayerGraphicsVis::PlayerGraphicsVis | ( | ) | [inline] |
Definition at line 68 of file p_graphics.cc.
virtual PlayerGraphicsVis::~PlayerGraphicsVis | ( | void | ) | [inline, virtual] |
Definition at line 72 of file p_graphics.cc.
virtual void PlayerGraphicsVis::AppendItem | ( | MessageQueue * | client, |
Message & | item | ||
) | [inline, virtual] |
Definition at line 138 of file p_graphics.cc.
void PlayerGraphicsVis::BuildDisplayList | ( | MessageQueue * | client | ) | [inline] |
Definition at line 122 of file p_graphics.cc.
void PlayerGraphicsVis::Clear | ( | MessageQueue * | client | ) | [inline] |
Definition at line 92 of file p_graphics.cc.
struct clientDisplaylist& PlayerGraphicsVis::GetDisplayList | ( | MessageQueue * | client | ) | [inline, read] |
Definition at line 109 of file p_graphics.cc.
void PlayerGraphicsVis::glPlayerColour | ( | const player_color_t & | colour | ) | [inline] |
Definition at line 163 of file p_graphics.cc.
bool PlayerGraphicsVis::HasActiveDisplayList | ( | MessageQueue * | client | ) | [inline] |
Definition at line 100 of file p_graphics.cc.
void PlayerGraphicsVis::RemoveDisplayList | ( | struct clientDisplaylist & | list | ) | [inline] |
Definition at line 133 of file p_graphics.cc.
virtual void PlayerGraphicsVis::RenderItem | ( | Message & | item | ) | [pure virtual] |
Implemented in PlayerGraphics3dVis, and PlayerGraphics2dVis.
void PlayerGraphicsVis::Subscribe | ( | QueuePointer & | queue | ) | [inline] |
Definition at line 144 of file p_graphics.cc.
void PlayerGraphicsVis::Unsubscribe | ( | QueuePointer & | queue | ) | [inline] |
Definition at line 152 of file p_graphics.cc.
virtual void PlayerGraphicsVis::Visualize | ( | Stg::Model * | mod, |
Stg::Camera * | cam | ||
) | [inline, virtual] |
Implements Stg::Visualizer.
Definition at line 78 of file p_graphics.cc.
Definition at line 174 of file p_graphics.cc.