Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
linux_hardware.msg._LaptopChargeStatus.LaptopChargeStatus Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 capacity
 charge
 charge_state
 design_capacity
 header
 percentage
 present
 rate
 voltage

Static Public Attributes

int CHARGED = 2
int CHARGING = 1
int DISCHARGING = 0

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['header','voltage','rate','charge','capacity','design_capacity','percentage','charge_state','present']
string _full_text
 _has_header = True
string _md5sum = "201bffbb268bdae8f8389acae4ae6db2"
list _slot_types = ['std_msgs/Header','float32','float32','float32','float32','float32','int32','uint8','bool']
string _type = "linux_hardware/LaptopChargeStatus"

Detailed Description

Definition at line 9 of file _LaptopChargeStatus.py.


Constructor & Destructor Documentation

Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes.  You cannot mix in-order arguments and keyword arguments.

The available fields are:
   header,voltage,rate,charge,capacity,design_capacity,percentage,charge_state,present

:param args: complete set of field values, in .msg order
:param kwds: use keyword arguments corresponding to message field names
to set specific fields.

Definition at line 53 of file _LaptopChargeStatus.py.


Member Function Documentation

internal API method

Definition at line 99 of file _LaptopChargeStatus.py.

unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 124 of file _LaptopChargeStatus.py.

unpack serialized message in str into this message instance using numpy for array types
:param str: byte array of serialized message, ``str``
:param numpy: numpy python module

Definition at line 176 of file _LaptopChargeStatus.py.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 105 of file _LaptopChargeStatus.py.

serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module

Definition at line 156 of file _LaptopChargeStatus.py.


Member Data Documentation

Definition at line 50 of file _LaptopChargeStatus.py.

Definition at line 13 of file _LaptopChargeStatus.py.

Definition at line 12 of file _LaptopChargeStatus.py.

string linux_hardware::msg::_LaptopChargeStatus.LaptopChargeStatus::_md5sum = "201bffbb268bdae8f8389acae4ae6db2" [static, private]

Definition at line 10 of file _LaptopChargeStatus.py.

Definition at line 51 of file _LaptopChargeStatus.py.

Definition at line 11 of file _LaptopChargeStatus.py.

Definition at line 65 of file _LaptopChargeStatus.py.

Definition at line 65 of file _LaptopChargeStatus.py.

Definition at line 65 of file _LaptopChargeStatus.py.

Definition at line 48 of file _LaptopChargeStatus.py.

Definition at line 47 of file _LaptopChargeStatus.py.

Definition at line 65 of file _LaptopChargeStatus.py.

Definition at line 46 of file _LaptopChargeStatus.py.

Definition at line 65 of file _LaptopChargeStatus.py.

Definition at line 65 of file _LaptopChargeStatus.py.

Definition at line 65 of file _LaptopChargeStatus.py.

Definition at line 65 of file _LaptopChargeStatus.py.

Definition at line 65 of file _LaptopChargeStatus.py.


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


linux_hardware
Author(s): Daniel Stonier
autogenerated on Mon Oct 6 2014 08:01:08