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
 
double cpuLimit () const
 
std::string executable () const
 
std::vector< std::string > extraArguments () const
 
std::map< std::string, std::string > extraEnvironment () const
 
bool isMuted () 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)
 
int numRespawnsAllowed () const
 
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 (double cpuLimit)
 
void setExtraEnvironment (const std::map< std::string, std::string > &env)
 
void setLaunchPrefix (const std::string &launchPrefix)
 
void setMemoryLimit (uint64_t memoryLimitByte)
 
void setMuted (bool muted)
 
void setNamespace (const std::string &ns)
 
void setNumRespawnsAllowed (int numRespawnsAllowed)
 
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 setSpawnDelay (const ros::WallDuration &spawnDelay)
 
void setStdoutDisplayed (bool showStdout)
 
void setStopTimeout (double timeout)
 
void setWorkingDirectory (const std::string &workingDirectory)
 
ros::WallDuration spawnDelay () const
 
bool stdoutDisplayed () const
 
double stopTimeout () const
 
std::string type () const
 
std::string workingDirectory () const
 

Private Attributes

bool m_clearParams
 
bool m_coredumpsEnabled
 
double 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
 
bool m_muted
 
std::string m_name
 
std::string m_namespace
 
int m_numRespawnsAllowed = 0
 
std::string m_package
 
std::map< std::string, std::string > m_remappings
 
bool m_required
 
bool m_respawn
 
ros::WallDuration m_respawnDelay
 
ros::WallDuration m_spawnDelay
 
bool m_stdoutDisplayed
 
double m_stopTimeout
 
std::string m_type
 
std::string m_workingDirectory
 

Detailed Description

Definition at line 20 of file node.h.

Member Typedef Documentation

◆ ConstPtr

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

Definition at line 24 of file node.h.

◆ Ptr

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

Definition at line 23 of file node.h.

Constructor & Destructor Documentation

◆ Node()

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

Definition at line 28 of file node.cpp.

Member Function Documentation

◆ addExtraArguments()

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

Definition at line 55 of file node.cpp.

◆ clearParams()

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

Definition at line 104 of file node.h.

◆ coredumpsEnabled()

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

Definition at line 98 of file node.h.

◆ cpuLimit()

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

Definition at line 113 of file node.h.

◆ executable()

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

Definition at line 63 of file node.h.

◆ extraArguments()

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

Definition at line 72 of file node.h.

◆ extraEnvironment()

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

Definition at line 75 of file node.h.

◆ isMuted()

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

Definition at line 116 of file node.h.

◆ launchPrefix()

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

Definition at line 95 of file node.h.

◆ memoryLimitByte()

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

Definition at line 110 of file node.h.

◆ name()

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

Definition at line 54 of file node.h.

◆ namespaceString()

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

Definition at line 66 of file node.h.

◆ numRespawnsAllowed()

int rosmon::launch::Node::numRespawnsAllowed ( ) const
inline

Definition at line 84 of file node.h.

◆ package()

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

Definition at line 57 of file node.h.

◆ remappings()

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

Definition at line 69 of file node.h.

◆ required()

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

Definition at line 92 of file node.h.

◆ respawn()

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

Definition at line 78 of file node.h.

◆ respawnDelay()

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

Definition at line 81 of file node.h.

◆ setClearParams()

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

Definition at line 150 of file node.cpp.

◆ setCoredumpsEnabled()

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

Definition at line 140 of file node.cpp.

◆ setCPULimit()

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

Definition at line 165 of file node.cpp.

◆ setExtraEnvironment()

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

Definition at line 85 of file node.cpp.

◆ setLaunchPrefix()

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

Definition at line 115 of file node.cpp.

◆ setMemoryLimit()

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

Definition at line 160 of file node.cpp.

◆ setMuted()

void rosmon::launch::Node::setMuted ( bool  muted)

Definition at line 170 of file node.cpp.

◆ setNamespace()

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

Definition at line 80 of file node.cpp.

◆ setNumRespawnsAllowed()

void rosmon::launch::Node::setNumRespawnsAllowed ( int  numRespawnsAllowed)

Definition at line 105 of file node.cpp.

◆ setRemappings()

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

Definition at line 50 of file node.cpp.

◆ setRequired()

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

Definition at line 90 of file node.cpp.

◆ setRespawn()

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

Definition at line 95 of file node.cpp.

◆ setRespawnDelay()

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

Definition at line 100 of file node.cpp.

◆ setSpawnDelay()

void rosmon::launch::Node::setSpawnDelay ( const ros::WallDuration spawnDelay)

Definition at line 110 of file node.cpp.

◆ setStdoutDisplayed()

void rosmon::launch::Node::setStdoutDisplayed ( bool  showStdout)

Definition at line 175 of file node.cpp.

◆ setStopTimeout()

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

Definition at line 155 of file node.cpp.

◆ setWorkingDirectory()

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

Definition at line 145 of file node.cpp.

◆ spawnDelay()

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

Definition at line 87 of file node.h.

◆ stdoutDisplayed()

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

Definition at line 119 of file node.h.

◆ stopTimeout()

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

Definition at line 107 of file node.h.

◆ type()

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

Definition at line 60 of file node.h.

◆ workingDirectory()

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

Definition at line 101 of file node.h.

Member Data Documentation

◆ m_clearParams

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

Definition at line 148 of file node.h.

◆ m_coredumpsEnabled

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

Definition at line 144 of file node.h.

◆ m_cpuLimit

double rosmon::launch::Node::m_cpuLimit
private

Definition at line 153 of file node.h.

◆ m_executable

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

Definition at line 126 of file node.h.

◆ m_extraArgs

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

Definition at line 131 of file node.h.

◆ m_extraEnvironment

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

Definition at line 133 of file node.h.

◆ m_launchPrefix

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

Definition at line 142 of file node.h.

◆ m_memoryLimitByte

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

Definition at line 152 of file node.h.

◆ m_muted

bool rosmon::launch::Node::m_muted
private

Definition at line 155 of file node.h.

◆ m_name

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

Definition at line 122 of file node.h.

◆ m_namespace

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

Definition at line 128 of file node.h.

◆ m_numRespawnsAllowed

int rosmon::launch::Node::m_numRespawnsAllowed = 0
private

Definition at line 137 of file node.h.

◆ m_package

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

Definition at line 123 of file node.h.

◆ m_remappings

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

Definition at line 130 of file node.h.

◆ m_required

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

Definition at line 140 of file node.h.

◆ m_respawn

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

Definition at line 135 of file node.h.

◆ m_respawnDelay

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

Definition at line 136 of file node.h.

◆ m_spawnDelay

ros::WallDuration rosmon::launch::Node::m_spawnDelay
private

Definition at line 138 of file node.h.

◆ m_stdoutDisplayed

bool rosmon::launch::Node::m_stdoutDisplayed
private

Definition at line 156 of file node.h.

◆ m_stopTimeout

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

Definition at line 150 of file node.h.

◆ m_type

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

Definition at line 124 of file node.h.

◆ m_workingDirectory

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

Definition at line 146 of file node.h.


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


rosmon_core
Author(s): Max Schwarz
autogenerated on Fri Jun 16 2023 02:15:06