clearpath::horizon::messages::Message Class Reference

Horizon Message. More...

Inheritance diagram for clearpath::horizon::messages::Message:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__
def command
def copy
def data
def parse
def request
def validate

Static Public Attributes

int SOH = 0xAA
int STX = 0x55

Detailed Description

Horizon Message.

Represents a message to be transmitted to / received from the hardware.

Horizon Protocol Message

Definition at line 72 of file messages.py.


Member Function Documentation

def clearpath::horizon::messages::Message::__init__ (   self,
  kwargs 
)

Definition at line 128 of file messages.py.

def clearpath::horizon::messages::Message::__str__ (   self  ) 

Definition at line 133 of file messages.py.

def clearpath::horizon::messages::Message::command (   cls,
  name,
  args = {},
  timestamp = 0,
  no_ack = False 
)

Definition at line 80 of file messages.py.

def clearpath::horizon::messages::Message::copy (   self,
  timestamp = None 
)
Return a copy of this message, with a new timestamp. This is for
resending messages.

Definition at line 142 of file messages.py.

def clearpath::horizon::messages::Message::data (   self  ) 

Definition at line 155 of file messages.py.

def clearpath::horizon::messages::Message::parse (   cls,
  raw 
)

Definition at line 92 of file messages.py.

def clearpath::horizon::messages::Message::request (   cls,
  name,
  args = {},
  timestamp = 0 
)

Definition at line 86 of file messages.py.

def clearpath::horizon::messages::Message::validate (   self  ) 

Definition at line 150 of file messages.py.


Member Data Documentation

Definition at line 76 of file messages.py.

Definition at line 77 of file messages.py.


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


clearpath_base
Author(s): Mike Purvis
autogenerated on Fri Jan 11 10:11:33 2013