Public Member Functions | Private Types | Private Attributes | List of all members
PlayerGraphicsVis Class Referenceabstract
Inheritance diagram for PlayerGraphicsVis:
Inheritance graph
[legend]

Public Member Functions

virtual void AppendItem (MessageQueue *client, Message &item)
 
void BuildDisplayList (MessageQueue *client)
 
void Clear (MessageQueue *client)
 
struct clientDisplaylistGetDisplayList (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)
 
- Public Member Functions inherited from Stg::Visualizer
const std::string & GetMenuName ()
 
const std::string & GetWorldfileName ()
 
 Visualizer (const std::string &menu_name, const std::string &worldfile_name)
 
virtual ~Visualizer (void)
 

Private Types

typedef map< MessageQueue *, struct clientDisplaylistqueuemap
 

Private Attributes

queuemap ClientDisplayLists
 

Detailed Description

Definition at line 64 of file p_graphics.cc.

Member Typedef Documentation

typedef map<MessageQueue *, struct clientDisplaylist> PlayerGraphicsVis::queuemap
private

Definition at line 173 of file p_graphics.cc.

Constructor & Destructor Documentation

PlayerGraphicsVis::PlayerGraphicsVis ( )
inline

Definition at line 68 of file p_graphics.cc.

virtual PlayerGraphicsVis::~PlayerGraphicsVis ( void  )
inlinevirtual

Definition at line 72 of file p_graphics.cc.

Member Function Documentation

virtual void PlayerGraphicsVis::AppendItem ( MessageQueue *  client,
Message &  item 
)
inlinevirtual

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

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
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 
)
inlinevirtual

Implements Stg::Visualizer.

Definition at line 78 of file p_graphics.cc.

Member Data Documentation

queuemap PlayerGraphicsVis::ClientDisplayLists
private

Definition at line 174 of file p_graphics.cc.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:11