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 ( 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

void Monitor::black ( )
inlineprivate

Definition at line 34 of file Monitor.h.

void Monitor::blue ( )
inlineprivate

Definition at line 32 of file Monitor.h.

void Monitor::green ( )
inlineprivate

Definition at line 31 of file Monitor.h.

bool Monitor::isConnected ( )

Definition at line 114 of file Monitor.cpp.

void Monitor::magenta ( )
inlineprivate

Definition at line 33 of file Monitor.h.

bool Monitor::oneStep ( )
virtual

Reimplemented from ThreadedObject.

Definition at line 28 of file Monitor.cpp.

void Monitor::red ( )
inlineprivate

Definition at line 29 of file Monitor.h.

void Monitor::setRobotHardwareName ( const char *  i_name)

Definition at line 278 of file Monitor.cpp.

void Monitor::setStateHolderName ( const char *  i_name)

Definition at line 283 of file Monitor.cpp.

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

Definition at line 125 of file Monitor.cpp.

void Monitor::white ( )
inlineprivate

Definition at line 28 of file Monitor.h.

void Monitor::yellow ( )
inlineprivate

Definition at line 30 of file Monitor.h.

Member Data Documentation

int Monitor::m_interval
private

Definition at line 26 of file Monitor.h.

LogManager<TimedRobotState>* Monitor::m_log
private

Definition at line 25 of file Monitor.h.

CosNaming::NamingContext_var Monitor::m_naming
private

Definition at line 20 of file Monitor.h.

CORBA::ORB_var Monitor::m_orb
private

Definition at line 19 of file Monitor.h.

std::string Monitor::m_rhCompName
private

Definition at line 21 of file Monitor.h.

OpenHRP::RobotHardwareService_var Monitor::m_rhService
private

Definition at line 22 of file Monitor.h.

TimedRobotState Monitor::m_rstate
private

Definition at line 24 of file Monitor.h.

std::string Monitor::m_shCompName
private

Definition at line 21 of file Monitor.h.

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 Thu May 6 2021 02:41:53