Download RMOST User Guide
Transcript
SteeringSvc.NotifyByEmail = 1 For sending emails the target email address is required. The email address is set to the property NotificationEmail. For example: SteeringSvc.NotificationEmail = [email protected] Note: The emails are send from the connection service. Thus, the host which runs the used connection service must have configured sendmail else no emails are sent. 2.2.2 Introduction to the RM SteeringSvc API The RM SteeringSvc provides an API which can be used to enable steering for internal values of own components. It offers many advanced possibilities for expert users, others can skip this section. Get access to steering system In this section, it is shown how the source code can be instrumented to monitor and steer data. For making the API known we need to include a header file to our source file: #include "RM_SteeringSvc.h" For the compiler find the header files, some additional directories with header files need to be specified in the build instructions: <install <install <install <install <install <install root>/rmost-2.1.0/ResultMonitoring/ResultMonitoring root>/rmost-2.1.0/Common/include root>/rmost-2.1.0/GridConnection/include root>/rmost-2.1.0/Steering/include root>/rmost-2.1.0/Processing/include root>/rmost-2.1.0/access/include If you use CMT to build your Athena components, you can add the include directories to your project by adding the following line to the requirements file: include dirs \ <install root>/rmost-2.1.0/ResultMonitoring/ResultMonitoring \ <install root>/rmost-2.1.0/GridConnection/include \ <install root>/rmost-2.1.0/Common/include \ <install root>/rmost-2.1.0/Steering/include \ <install root>/rmost-2.1.0/Processing/include \ <install root>/rmost-2.1.0/access/include Before you can use the service you need to get a pointer to the service instance from the Athena framework. This can be done with the following lines in the source code: 9