Class IntrospectionApp

Inheritance Relationships

Derived Type

Class Documentation

class IntrospectionApp

base class for introspection

Todo:

Wrap all C calls with posixCall

Subclassed by iox::client::introspection::IceOryxIntrospectionApp

Public Functions

IntrospectionApp(int argc, char *argv[]) noexcept

constructor to create a introspection

Parameters:
  • argc[in] forwarding of command line arguments

  • argv[in] forwarding of command line arguments

inline virtual ~IntrospectionApp() noexcept
virtual void run() noexcept = 0

interface to start the execution of the introspection

Protected Types

enum class CmdLineArgumentParsingMode

Values:

enumerator ALL
enumerator ONE

Protected Functions

IntrospectionApp() noexcept

this is needed for the child classes to extend the parseCmdLineArguments function

void parseCmdLineArguments(int argc, char **argv, CmdLineArgumentParsingMode cmdLineParsingMode = CmdLineArgumentParsingMode::ALL) noexcept
void runIntrospection(const iox::units::Duration updatePeriodMs, const IntrospectionSelection introspectionSelection)

Protected Attributes

IntrospectionSelection introspectionSelection
bool doIntrospection = false