iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::GraphicsMessage Class Reference

#include <nrt/Graphics/GraphicsMessage.H>

A message that contains a bunch of graphics Shape objects grouped under a tag name.

Definition at line 49 of file GraphicsMessage.H.

Inheritance diagram for nrt::GraphicsMessage:
nrt::MessageBase nrt::MessageTypesCreator< GraphicsMessage >

Public Member Functions

 GraphicsMessage ()
 Default constructor (needed by serialization)
 
virtual ~GraphicsMessage ()
 Virtual destructor for safe inheritance.
 
template<class Archive >
void serialize (Archive &ar)
 Serialization.
 
- Public Member Functions inherited from nrt::MessageBase
 MessageBase ()
 Constructor.
 
virtual ~MessageBase ()
 Virtual destructor for safe inheritance.
 
virtual std::string description () const
 A short description of the Message type. More...
 

Public Attributes

std::string tagname
 Tag name, allows viewer to turn on/off display by tag.
 
std::vector< std::shared_ptr
< nrt::graphics::Shape > > 
shapes
 List of shapes.
 

Additional Inherited Members

- Public Types inherited from nrt::MessageTypesCreator< GraphicsMessage >
typedef std::shared_ptr
< GraphicsMessageconst > 
const_ptr
 A shared constant pointer to this message type (messages are always received as this type)
 
typedef std::unique_ptr
< GraphicsMessage
unique_ptr
 A shared unique pointer to this message type (messages are always sent and returned as this type)
 
- Static Public Attributes inherited from nrt::MessageBase
static bool const isComposite = false
 Is this message composite and can it be split into parts? More...
 

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