The Robot Application Programming Interface Delegate Project
RAPID Logo

TextMessage Class Reference

Importance level of the message. More...

Inheritance diagram for TextMessage:
Collaboration diagram for TextMessage:

List of all members.

Public Member Functions

 TextMessage ()
 TextMessage (TextMessage other)
boolean equals (Object o)
int hashCode ()
Object copy_from (Object src)
 This is the implementation of the Copyable interface.
String toString ()
String toString (String desc, int indent)

Static Public Member Functions

static Object create ()

Public Attributes

gov.nasa.rapid.idl.dds.rapid.MessageLevel level = (gov.nasa.rapid.idl.dds.rapid.MessageLevel) gov.nasa.rapid.idl.dds.rapid.MessageLevel.create()
 Importance level of message.
String category = ""
 What message is pertaining to.
String message = ""
 Actual text message.

Detailed Description

  • MSG_DEBUG:
  • MSG_INFO:
  • MSG_ATTENTION: Important, but not in a bad way.
  • MSG_WARN: Something potentially bad happened.
  • MSG_ERROR: Something bad definitely happened.
  • MSG_CRITICAL: Something really bad happened.

TextMessage is a message that allows RAPID application users to chat with each other or for logging-style activities.


Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

Object copy_from ( Object  src)

This method will perform a deep copy of src This method could be placed into TextMessageTypeSupport rather than here by using the -noCopyable option to rtiddsgen.

Parameters:
srcThe Object which contains the data to be copied.
Returns:
Returns this.
Exceptions:
NullPointerExceptionIf src is null.
ClassCastExceptionIf src is not the same type as this.
See also:
com.rti.dds.infrastructure.Copyable.copy_from(java.lang.Object)

Reimplemented from Message.

Here is the call graph for this function:

static Object create ( ) [static]

Reimplemented from Message.

Here is the call graph for this function:

boolean equals ( Object  o)

Reimplemented from Message.

Here is the call graph for this function:

int hashCode ( )

Reimplemented from Message.

String toString ( String  desc,
int  indent 
)

Reimplemented from Message.

Here is the call graph for this function:

String toString ( )

Reimplemented from Message.


Member Data Documentation

String category = ""
gov.nasa.rapid.idl.dds.rapid.MessageLevel level = (gov.nasa.rapid.idl.dds.rapid.MessageLevel) gov.nasa.rapid.idl.dds.rapid.MessageLevel.create()
String message = ""

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines