Public Member Functions | Private Attributes
datatypes::Msg Class Reference

#include <Msg.hpp>

Inheritance diagram for datatypes::Msg:
Inheritance graph

List of all members.

Public Member Functions

std::string getMsg () const
virtual const UINT32 getUsedMemory () const
 Msg (const UINT16 sourceId)
 Msg (const UINT16 sourceId, const std::string message)
 Convenience constructor for the message.
bool operator== (const Msg &other) const
 Equality predicate.
void setMsg (std::string message)
std::string toString () const
 Conversion to string for debugging.

Private Attributes

std::string m_msgText

Detailed Description

Definition at line 18 of file Msg.hpp.

Constructor & Destructor Documentation

datatypes::Msg::Msg ( const UINT16  sourceId)


Definition at line 14 of file Msg.cpp.

datatypes::Msg::Msg ( const UINT16  sourceId,
const std::string  message 

Convenience constructor for the message.

Definition at line 20 of file Msg.cpp.

Member Function Documentation

std::string datatypes::Msg::getMsg ( ) const

Definition at line 33 of file Msg.cpp.

virtual const UINT32 datatypes::Msg::getUsedMemory ( ) const [inline, virtual]

Implements datatypes::BasicData.

Definition at line 28 of file Msg.hpp.

bool datatypes::Msg::operator== ( const Msg other) const [inline]

Equality predicate.

Definition at line 36 of file Msg.hpp.

void datatypes::Msg::setMsg ( std::string  message)

Definition at line 39 of file Msg.cpp.

std::string datatypes::Msg::toString ( ) const

Conversion to string for debugging.

Definition at line 28 of file Msg.cpp.

Member Data Documentation

std::string datatypes::Msg::m_msgText [private]

Definition at line 42 of file Msg.hpp.

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

Author(s): SICK AG , Martin G√ľnther , Jochen Sprickerhof
autogenerated on Wed Jun 14 2017 04:04:51