Public Member Functions | Public Attributes | Private Attributes | List of all members
Device Class Reference

#include <power_node.h>

Public Member Functions

 Device ()
 
 Device ()
 
const PowerMessage & getPowerMessage ()
 
const PowerMessage & getPowerMessage ()
 
const TransitionMessage & getTransitionMessage ()
 
const TransitionMessage & getTransitionMessage ()
 
void setPowerMessage (const PowerMessage &newpmsg)
 
void setPowerMessage (const PowerMessage &newpmsg)
 
void setTransitionMessage (const TransitionMessage &newtmsg)
 
void setTransitionMessage (const TransitionMessage &newtmsg)
 
 ~Device ()
 
 ~Device ()
 

Public Attributes

ros::Time message_time
 

Private Attributes

PowerMessage pmsg
 
bool pmsgset
 
TransitionMessage tmsg
 
bool tmsgset
 

Detailed Description

Definition at line 27 of file power_node.h.

Constructor & Destructor Documentation

◆ Device() [1/2]

Device::Device ( )

Definition at line 1049 of file power_node.cpp.

◆ ~Device() [1/2]

Device::~Device ( )
inline

Definition at line 45 of file power_node.h.

◆ Device() [2/2]

Device::Device ( )

◆ ~Device() [2/2]

Device::~Device ( )
inline

Definition at line 46 of file power_node2.h.

Member Function Documentation

◆ getPowerMessage() [1/2]

const PowerMessage& Device::getPowerMessage ( )
inline

Definition at line 38 of file power_node.h.

◆ getPowerMessage() [2/2]

const PowerMessage& Device::getPowerMessage ( )
inline

Definition at line 39 of file power_node2.h.

◆ getTransitionMessage() [1/2]

const TransitionMessage& Device::getTransitionMessage ( )
inline

Definition at line 32 of file power_node.h.

◆ getTransitionMessage() [2/2]

const TransitionMessage& Device::getTransitionMessage ( )
inline

Definition at line 33 of file power_node2.h.

◆ setPowerMessage() [1/2]

void Device::setPowerMessage ( const PowerMessage &  newpmsg)

Definition at line 108 of file power_node.cpp.

◆ setPowerMessage() [2/2]

void Device::setPowerMessage ( const PowerMessage &  newpmsg)

◆ setTransitionMessage() [1/2]

void Device::setTransitionMessage ( const TransitionMessage &  newtmsg)

Definition at line 78 of file power_node.cpp.

◆ setTransitionMessage() [2/2]

void Device::setTransitionMessage ( const TransitionMessage &  newtmsg)

Member Data Documentation

◆ message_time

ros::Time Device::message_time

Definition at line 30 of file power_node.h.

◆ pmsg

PowerMessage Device::pmsg
private

Definition at line 50 of file power_node.h.

◆ pmsgset

bool Device::pmsgset
private

Definition at line 49 of file power_node.h.

◆ tmsg

TransitionMessage Device::tmsg
private

Definition at line 48 of file power_node.h.

◆ tmsgset

bool Device::tmsgset
private

Definition at line 45 of file power_node.h.


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


pr2_power_board
Author(s): Curt Meyers, Blaise Gassend
autogenerated on Tue Mar 7 2023 03:19:35