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

#include <Monitor.h>

Inheritance diagram for Monitor:
Inheritance graph
[legend]

Public Member Functions

bool isConnected ()
 
 Monitor (CORBA::ORB_var orb, const std::string &i_hostname, int i_port, int i_interval, LogManager< TimedRobotState > *i_log)
 
bool oneStep ()
 
void setRobotHardwareName (const char *i_name)
 
void setStateHolderName (const char *i_name)
 
void showStatus (hrp::BodyPtr &body)
 
- Public Member Functions inherited from ThreadedObject
bool isPausing ()
 
bool isRunning ()
 
void notifyFinish ()
 
void pause ()
 
void resume ()
 
void start ()
 
void stop ()
 
 ThreadedObject ()
 
void wait ()
 
 ~ThreadedObject ()
 

Private Member Functions

void black ()
 
void blue ()
 
void green ()
 
void magenta ()
 
void red ()
 
void white ()
 
void yellow ()
 

Private Attributes

int m_interval
 
LogManager< TimedRobotState > * m_log
 
CosNaming::NamingContext_var m_naming
 
CORBA::ORB_var m_orb
 
std::string m_rhCompName
 
OpenHRP::RobotHardwareService_var m_rhService
 
TimedRobotState m_rstate
 
std::string m_shCompName
 
OpenHRP::StateHolderService_var m_shService
 

Detailed Description

Definition at line 8 of file Monitor.h.

Constructor & Destructor Documentation

◆ Monitor()

Monitor::Monitor ( CORBA::ORB_var  orb,
const std::string &  i_hostname,
int  i_port,
int  i_interval,
LogManager< TimedRobotState > *  i_log 
)

Definition at line 6 of file Monitor.cpp.

Member Function Documentation

◆ black()

void Monitor::black ( )
inlineprivate

Definition at line 34 of file Monitor.h.

◆ blue()

void Monitor::blue ( )
inlineprivate

Definition at line 32 of file Monitor.h.

◆ green()

void Monitor::green ( )
inlineprivate

Definition at line 31 of file Monitor.h.

◆ isConnected()

bool Monitor::isConnected ( )

Definition at line 114 of file Monitor.cpp.

◆ magenta()

void Monitor::magenta ( )
inlineprivate

Definition at line 33 of file Monitor.h.

◆ oneStep()

bool Monitor::oneStep ( )
virtual

Reimplemented from ThreadedObject.

Definition at line 28 of file Monitor.cpp.

◆ red()

void Monitor::red ( )
inlineprivate

Definition at line 29 of file Monitor.h.

◆ setRobotHardwareName()

void Monitor::setRobotHardwareName ( const char *  i_name)

Definition at line 278 of file Monitor.cpp.

◆ setStateHolderName()

void Monitor::setStateHolderName ( const char *  i_name)

Definition at line 283 of file Monitor.cpp.

◆ showStatus()

void Monitor::showStatus ( hrp::BodyPtr body)

Definition at line 125 of file Monitor.cpp.

◆ white()

void Monitor::white ( )
inlineprivate

Definition at line 28 of file Monitor.h.

◆ yellow()

void Monitor::yellow ( )
inlineprivate

Definition at line 30 of file Monitor.h.

Member Data Documentation

◆ m_interval

int Monitor::m_interval
private

Definition at line 26 of file Monitor.h.

◆ m_log

LogManager<TimedRobotState>* Monitor::m_log
private

Definition at line 25 of file Monitor.h.

◆ m_naming

CosNaming::NamingContext_var Monitor::m_naming
private

Definition at line 20 of file Monitor.h.

◆ m_orb

CORBA::ORB_var Monitor::m_orb
private

Definition at line 19 of file Monitor.h.

◆ m_rhCompName

std::string Monitor::m_rhCompName
private

Definition at line 21 of file Monitor.h.

◆ m_rhService

OpenHRP::RobotHardwareService_var Monitor::m_rhService
private

Definition at line 22 of file Monitor.h.

◆ m_rstate

TimedRobotState Monitor::m_rstate
private

Definition at line 24 of file Monitor.h.

◆ m_shCompName

std::string Monitor::m_shCompName
private

Definition at line 21 of file Monitor.h.

◆ m_shService

OpenHRP::StateHolderService_var Monitor::m_shService
private

Definition at line 23 of file Monitor.h.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Sat Dec 17 2022 03:52:22