![]() |
RAMSES Documentation
27.0.130
Information for RAMSES users and developers
|
The RamsesFrameworkConfig holds a set of parameters to be used to initialize ramses. More...
#include <RamsesFrameworkConfig.h>
Public Member Functions | |
RamsesFrameworkConfig () | |
Default constructor of RamsesFrameworkConfig. More... | |
RamsesFrameworkConfig (int32_t argc, char const *const *argv) | |
Constructor of RamsesFrameworkConfig using command line parameters. More... | |
~RamsesFrameworkConfig () override | |
Destructor of RamsesFrameworkConfig. More... | |
status_t | setRequestedRamsesShellType (ERamsesShellType requestedShellType) |
Request a certain type of ramses shell. More... | |
status_t | setWatchdogNotificationInterval (ERamsesThreadIdentifier thread, uint32_t interval) |
Set watchdog notification interval of ramses threads. More... | |
status_t | setWatchdogNotificationCallBack (IThreadWatchdogNotification *callback) |
Set watchdog callback. More... | |
status_t | disableDLTApplicationRegistration () |
Disable DLT application registration. More... | |
void | setDLTApplicationID (const char *id) |
Set the application ID name for DLT (4 chars) More... | |
const char * | getDLTApplicationID () const |
Return the DLT application id value set in configuration object. More... | |
void | setDLTApplicationDescription (const char *description) |
Set the application description for DLT. More... | |
const char * | getDLTApplicationDescription () const |
Return the DLT application description set in configuration object. More... | |
void | setPeriodicLogsEnabled (bool enabled) |
Enables or disables the periodic log messages provided by the Ramses framework. More... | |
void | setInterfaceSelectionIPForTCPCommunication (const char *ip) |
Sets the IP address that is used to select the local network interface The value is only evaluated if SOME/IP is not used. This communication type is intended for prototype use-cases only. More... | |
void | setDaemonIPForTCPCommunication (const char *ip) |
Sets the IP address of the communication daemon The value is only evaluated if SOME/IP is not used. This communication type is intended for prototype use-cases only. More... | |
void | setDaemonPortForTCPCommunication (uint16_t port) |
Sets the port of the communication daemon The value is only evaluated if SOME/IP is not used. This communication type is intended for prototype use-cases only. More... | |
RamsesFrameworkConfig (const RamsesFrameworkConfig &other)=delete | |
Deleted copy constructor. More... | |
RamsesFrameworkConfig & | operator= (const RamsesFrameworkConfig &other)=delete |
Deleted copy assignment. More... | |
![]() | |
status_t | validate () const |
Generates verbose validation of the object. More... | |
const char * | getValidationReport (EValidationSeverity minSeverity=EValidationSeverity_Info) const |
Provides verbose report in human readable form generated by validate. More... | |
const char * | getStatusMessage (status_t status) const |
Get the string description for a status provided by a RAMSES API function. More... | |
StatusObject (const StatusObject &other)=delete | |
Deleted copy constructor. More... | |
StatusObject & | operator= (const StatusObject &other)=delete |
Deleted copy assignment. More... | |
Public Attributes | |
class RamsesFrameworkConfigImpl & | impl |
![]() | |
class StatusObjectImpl & | impl |
Additional Inherited Members | |
![]() | |
StatusObject (StatusObjectImpl &pimpl) | |
Constructor for StatusObject. More... | |
virtual | ~StatusObject () |
Destructor of the StatusObject. More... | |
The RamsesFrameworkConfig holds a set of parameters to be used to initialize ramses.
ramses::RamsesFrameworkConfig::RamsesFrameworkConfig | ( | ) |
Default constructor of RamsesFrameworkConfig.
ramses::RamsesFrameworkConfig::RamsesFrameworkConfig | ( | int32_t | argc, |
char const *const * | argv | ||
) |
Constructor of RamsesFrameworkConfig using command line parameters.
[in] | argc | Number of strings in argv array |
[in] | argv | Command line parameters as array of string |
|
override |
Destructor of RamsesFrameworkConfig.
|
delete |
Deleted copy constructor.
other | unused |
status_t ramses::RamsesFrameworkConfig::disableDLTApplicationRegistration | ( | ) |
Disable DLT application registration.
When set and DLT is enabled ramses expects DLT_REGISTER_APP beeing called before RamsesFramework construction and DLT_UNREGISTER_APP after RamsesFramework destruction. Ramses will add its context to the existing application.
When not disabled, ramses will manage DLT application registration itself.
const char* ramses::RamsesFrameworkConfig::getDLTApplicationDescription | ( | ) | const |
Return the DLT application description set in configuration object.
const char* ramses::RamsesFrameworkConfig::getDLTApplicationID | ( | ) | const |
Return the DLT application id value set in configuration object.
|
delete |
Deleted copy assignment.
other | unused |
void ramses::RamsesFrameworkConfig::setDaemonIPForTCPCommunication | ( | const char * | ip | ) |
Sets the IP address of the communication daemon The value is only evaluated if SOME/IP is not used. This communication type is intended for prototype use-cases only.
[in] | ip | IP to use |
void ramses::RamsesFrameworkConfig::setDaemonPortForTCPCommunication | ( | uint16_t | port | ) |
Sets the port of the communication daemon The value is only evaluated if SOME/IP is not used. This communication type is intended for prototype use-cases only.
[in] | port | Port to use |
void ramses::RamsesFrameworkConfig::setDLTApplicationDescription | ( | const char * | description | ) |
Set the application description for DLT.
[in] | description | to use as DLT application description |
void ramses::RamsesFrameworkConfig::setDLTApplicationID | ( | const char * | id | ) |
Set the application ID name for DLT (4 chars)
[in] | id | to use as DLT application id |
void ramses::RamsesFrameworkConfig::setInterfaceSelectionIPForTCPCommunication | ( | const char * | ip | ) |
Sets the IP address that is used to select the local network interface The value is only evaluated if SOME/IP is not used. This communication type is intended for prototype use-cases only.
[in] | ip | IP to use |
void ramses::RamsesFrameworkConfig::setPeriodicLogsEnabled | ( | bool | enabled | ) |
Enables or disables the periodic log messages provided by the Ramses framework.
If enabled the Ramses framework periodically logs information about the Ramses version, connected participants, scene states etc. Please leave enabled in a production environment as the provided information is important for error analysis.
The default value is enabled.
[in] | enabled | If true the periodic logs are enabled |
status_t ramses::RamsesFrameworkConfig::setRequestedRamsesShellType | ( | ERamsesShellType | requestedShellType | ) |
Request a certain type of ramses shell.
[in] | requestedShellType | type of ramses shell |
status_t ramses::RamsesFrameworkConfig::setWatchdogNotificationCallBack | ( | IThreadWatchdogNotification * | callback | ) |
Set watchdog callback.
notifyThread Method will be called in the interval specified registerThread and unregisterThread are called to signal which threads will be calling the callback, and should be 'monitored' by user code in an appropriate way.
[in] | callback | callback class to use for watchdog reporting |
status_t ramses::RamsesFrameworkConfig::setWatchdogNotificationInterval | ( | ERamsesThreadIdentifier | thread, |
uint32_t | interval | ||
) |
Set watchdog notification interval of ramses threads.
[in] | thread | which thread identifier to set the interval for |
[in] | interval | interval in ms which is used to call given callback |
class RamsesFrameworkConfigImpl& ramses::RamsesFrameworkConfig::impl |
Stores internal data for implementation specifics of RamsesFrameworkConfig