onboardapi  9.10.0
by Rheinmetall
M_Mount::ConfigInputSource Struct Reference

Public Member Functions

 ConfigInputSource ()
 
 ConfigInputSource (bool IsClientIdFilterEnabled, M_Common::StringListType const &ClientIds)
 

Public Attributes

bool IsClientIdFilterEnabled
 Indicates whether the mount should filter client ID input. More...
 
M_Common::StringListType ClientIds
 

Detailed Description

Determine source for inputs.

Note: Input data should only be handled by the mount from the configured clients. Input data from other clients should be ignored. If a filter is disabled, all inputs are allowed. If a filter is enabled, all inputs in the according list are allowed (white list). (Therefore, an enabled filter in combination with an empty list inhibits all input.)

Constructor & Destructor Documentation

◆ ConfigInputSource() [1/2]

M_Mount::ConfigInputSource::ConfigInputSource ( )

◆ ConfigInputSource() [2/2]

M_Mount::ConfigInputSource::ConfigInputSource ( bool  IsClientIdFilterEnabled,
M_Common::StringListType const &  ClientIds 
)

Member Data Documentation

◆ ClientIds

M_Common::StringListType M_Mount::ConfigInputSource::ClientIds

List of client IDs to accept data (angles, rates) input from.

The following calls should only be handled from the specified clients:

◆ IsClientIdFilterEnabled

bool M_Mount::ConfigInputSource::IsClientIdFilterEnabled

Indicates whether the mount should filter client ID input.