25#ifndef _mtsComponentViewer_h
26#define _mtsComponentViewer_h
46 void WriteString(
osaPipeExec & pipe,
const std::string & s,
double timeoutInSec = 0.1);
64 static void ParseArgs(
const std::string &input, std::string &arg1, std::string &arg2);
66 std::string &componentName);
95 void Run(
void)
override;
Definition mtsParameterTypes.h:869
Definition mtsComponentState.h:34
Definition mtsComponentViewer.h:40
mtsComponentViewer(const std::string &name)
virtual void AddComponentHandler(const mtsDescriptionComponent &componentInfo)
void Cleanup(void) override
void Configure(const std::string &CMN_UNUSED(filename)) override
Definition mtsComponentViewer.h:93
std::string GetStateInUDrawGraphFormat(const mtsComponentState &componentState) const
virtual void ChangeStateHandler(const mtsComponentStateChange &componentStateChange)
osaThreadSignal ReadyToRead
Definition mtsComponentViewer.h:60
BorderType
Definition mtsComponentViewer.h:79
@ BORDER_NONE
Definition mtsComponentViewer.h:79
@ BORDER_DOUBLE
Definition mtsComponentViewer.h:79
@ BORDER_SINGLE
Definition mtsComponentViewer.h:79
std::string GetComponentInUDrawGraphFormat(const std::string &processName, const std::string &componentName, const mtsComponentState &componentState) const
void ChangeComponentBorder(const std::string &processName, const std::string &componentName, BorderType border)
osaPipeExec UDrawPipe
Definition mtsComponentViewer.h:50
static void ParseArgs(const std::string &input, std::string &arg1, std::string &arg2)
virtual void ProcessResponse(void)
osaThread ReaderThread
Definition mtsComponentViewer.h:59
bool ConnectToUDrawGraph(void)
virtual ~mtsComponentViewer()
bool UDrawPipeConnected
Definition mtsComponentViewer.h:51
virtual void RemoveConnectionHandler(const mtsDescriptionConnection &connectionInfo)
bool ConnectionStarted
Definition mtsComponentViewer.h:54
static bool ParseProcessAndComponent(const std::string &input, std::string &processName, std::string &componentName)
void * ReadFromUDrawGraph(int)
mtsDescriptionConnection ConnectionRequest
Definition mtsComponentViewer.h:55
bool ReaderThreadFinished
Definition mtsComponentViewer.h:62
void ActivateMenuItems(void)
std::string UDrawResponse
Definition mtsComponentViewer.h:52
bool WaitingForResponse
Definition mtsComponentViewer.h:63
virtual void AddConnectionHandler(const mtsDescriptionConnection &connectionInfo)
virtual void SendAllInfo(void)
void Startup(void) override
std::string GetConnectionInUDrawGraphFormat(const mtsDescriptionConnection &connection) const
Definition mtsParameterTypes.h:58
Definition mtsParameterTypes.h:624
mtsTaskFromSignal(const std::string &name, unsigned int sizeStateTable=256)
Definition osaPipeExec.h:32
Define a thread object.
Definition osaThread.h:168
Definition osaThreadSignal.h:41
const int CMN_DYNAMIC_CREATION_ONEARG
Definition cmnClassRegisterMacros.h:330
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition cmnClassRegisterMacros.h:199
#define CISST_EXPORT
Definition cmnExportMacros.h:50
#define CMN_LOG_ALLOW_DEFAULT
Definition cmnLogLoD.h:76
#define CMN_UNUSED(argument)
Definition cmnPortability.h:497
Declaration of Base Class for Manager Components.
Defines a task with a Run method trigger by signals (any queued command or event).
Declaration of osaThread.