Public Types | Public Member Functions | Private Attributes | List of all members
rosmon::launch::Node Class Reference

#include <node.h>

Public Types

typedef std::shared_ptr< const NodeConstPtr
 
typedef std::shared_ptr< NodePtr
 

Public Member Functions

void addExtraArguments (const std::string &argString)
 
bool clearParams () const
 
bool coredumpsEnabled () const
 
float cpuLimit () const
 
std::string executable () const
 
std::vector< std::string > extraArguments () const
 
std::map< std::string, std::string > extraEnvironment () const
 
std::vector< std::string > launchPrefix () const
 
uint64_t memoryLimitByte () const
 
std::string name () const
 
std::string namespaceString () const
 
 Node (std::string name, std::string package, std::string type)
 
std::string package () const
 
std::map< std::string, std::string > remappings () const
 
bool required () const
 
bool respawn () const
 
ros::WallDuration respawnDelay () const
 
void setClearParams (bool on)
 
void setCoredumpsEnabled (bool on)
 
void setCPULimit (float cpuLimit)
 
void setExtraEnvironment (const std::map< std::string, std::string > &env)
 
void setLaunchPrefix (const std::string &launchPrefix)
 
void setMemoryLimit (uint64_t memoryLimitByte)
 
void setNamespace (const std::string &ns)
 
void setRemappings (const std::map< std::string, std::string > &remappings)
 
void setRequired (bool required)
 
void setRespawn (bool respawn)
 
void setRespawnDelay (const ros::WallDuration &respawnDelay)
 
void setStopTimeout (double timeout)
 
void setWorkingDirectory (const std::string &workingDirectory)
 
double stopTimeout () const
 
std::string type () const
 
std::string workingDirectory () const
 

Private Attributes

bool m_clearParams
 
bool m_coredumpsEnabled
 
float m_cpuLimit
 
std::string m_executable
 
std::vector< std::string > m_extraArgs
 
std::map< std::string, std::string > m_extraEnvironment
 
std::vector< std::string > m_launchPrefix
 
uint64_t m_memoryLimitByte
 
std::string m_name
 
std::string m_namespace
 
std::string m_package
 
std::map< std::string, std::string > m_remappings
 
bool m_required
 
bool m_respawn
 
ros::WallDuration m_respawnDelay
 
double m_stopTimeout
 
std::string m_type
 
std::string m_workingDirectory
 

Detailed Description

Definition at line 20 of file node.h.

Member Typedef Documentation

typedef std::shared_ptr<const Node> rosmon::launch::Node::ConstPtr

Definition at line 24 of file node.h.

typedef std::shared_ptr<Node> rosmon::launch::Node::Ptr

Definition at line 23 of file node.h.

Constructor & Destructor Documentation

rosmon::launch::Node::Node ( std::string  name,
std::string  package,
std::string  type 
)

Definition at line 28 of file node.cpp.

Member Function Documentation

void rosmon::launch::Node::addExtraArguments ( const std::string &  argString)

Definition at line 53 of file node.cpp.

bool rosmon::launch::Node::clearParams ( ) const
inline

Definition at line 93 of file node.h.

bool rosmon::launch::Node::coredumpsEnabled ( ) const
inline

Definition at line 87 of file node.h.

float rosmon::launch::Node::cpuLimit ( ) const
inline

Definition at line 102 of file node.h.

std::string rosmon::launch::Node::executable ( ) const
inline

Definition at line 58 of file node.h.

std::vector<std::string> rosmon::launch::Node::extraArguments ( ) const
inline

Definition at line 67 of file node.h.

std::map<std::string, std::string> rosmon::launch::Node::extraEnvironment ( ) const
inline

Definition at line 70 of file node.h.

std::vector<std::string> rosmon::launch::Node::launchPrefix ( ) const
inline

Definition at line 84 of file node.h.

uint64_t rosmon::launch::Node::memoryLimitByte ( ) const
inline

Definition at line 99 of file node.h.

std::string rosmon::launch::Node::name ( ) const
inline

Definition at line 49 of file node.h.

std::string rosmon::launch::Node::namespaceString ( ) const
inline

Definition at line 61 of file node.h.

std::string rosmon::launch::Node::package ( ) const
inline

Definition at line 52 of file node.h.

std::map<std::string, std::string> rosmon::launch::Node::remappings ( ) const
inline

Definition at line 64 of file node.h.

bool rosmon::launch::Node::required ( ) const
inline

Definition at line 81 of file node.h.

bool rosmon::launch::Node::respawn ( ) const
inline

Definition at line 73 of file node.h.

ros::WallDuration rosmon::launch::Node::respawnDelay ( ) const
inline

Definition at line 76 of file node.h.

void rosmon::launch::Node::setClearParams ( bool  on)

Definition at line 138 of file node.cpp.

void rosmon::launch::Node::setCoredumpsEnabled ( bool  on)

Definition at line 128 of file node.cpp.

void rosmon::launch::Node::setCPULimit ( float  cpuLimit)

Definition at line 153 of file node.cpp.

void rosmon::launch::Node::setExtraEnvironment ( const std::map< std::string, std::string > &  env)

Definition at line 83 of file node.cpp.

void rosmon::launch::Node::setLaunchPrefix ( const std::string &  launchPrefix)

Definition at line 103 of file node.cpp.

void rosmon::launch::Node::setMemoryLimit ( uint64_t  memoryLimitByte)

Definition at line 148 of file node.cpp.

void rosmon::launch::Node::setNamespace ( const std::string &  ns)

Definition at line 78 of file node.cpp.

void rosmon::launch::Node::setRemappings ( const std::map< std::string, std::string > &  remappings)

Definition at line 48 of file node.cpp.

void rosmon::launch::Node::setRequired ( bool  required)

Definition at line 88 of file node.cpp.

void rosmon::launch::Node::setRespawn ( bool  respawn)

Definition at line 93 of file node.cpp.

void rosmon::launch::Node::setRespawnDelay ( const ros::WallDuration respawnDelay)

Definition at line 98 of file node.cpp.

void rosmon::launch::Node::setStopTimeout ( double  timeout)

Definition at line 143 of file node.cpp.

void rosmon::launch::Node::setWorkingDirectory ( const std::string &  workingDirectory)

Definition at line 133 of file node.cpp.

double rosmon::launch::Node::stopTimeout ( ) const
inline

Definition at line 96 of file node.h.

std::string rosmon::launch::Node::type ( ) const
inline

Definition at line 55 of file node.h.

std::string rosmon::launch::Node::workingDirectory ( ) const
inline

Definition at line 90 of file node.h.

Member Data Documentation

bool rosmon::launch::Node::m_clearParams
private

Definition at line 129 of file node.h.

bool rosmon::launch::Node::m_coredumpsEnabled
private

Definition at line 125 of file node.h.

float rosmon::launch::Node::m_cpuLimit
private

Definition at line 134 of file node.h.

std::string rosmon::launch::Node::m_executable
private

Definition at line 109 of file node.h.

std::vector<std::string> rosmon::launch::Node::m_extraArgs
private

Definition at line 114 of file node.h.

std::map<std::string, std::string> rosmon::launch::Node::m_extraEnvironment
private

Definition at line 116 of file node.h.

std::vector<std::string> rosmon::launch::Node::m_launchPrefix
private

Definition at line 123 of file node.h.

uint64_t rosmon::launch::Node::m_memoryLimitByte
private

Definition at line 133 of file node.h.

std::string rosmon::launch::Node::m_name
private

Definition at line 105 of file node.h.

std::string rosmon::launch::Node::m_namespace
private

Definition at line 111 of file node.h.

std::string rosmon::launch::Node::m_package
private

Definition at line 106 of file node.h.

std::map<std::string, std::string> rosmon::launch::Node::m_remappings
private

Definition at line 113 of file node.h.

bool rosmon::launch::Node::m_required
private

Definition at line 121 of file node.h.

bool rosmon::launch::Node::m_respawn
private

Definition at line 118 of file node.h.

ros::WallDuration rosmon::launch::Node::m_respawnDelay
private

Definition at line 119 of file node.h.

double rosmon::launch::Node::m_stopTimeout
private

Definition at line 131 of file node.h.

std::string rosmon::launch::Node::m_type
private

Definition at line 107 of file node.h.

std::string rosmon::launch::Node::m_workingDirectory
private

Definition at line 127 of file node.h.


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


rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12