RTI Recording Service  Version 6.0.1
 All Data Structures Namespaces Files Functions Typedefs Enumerations Enumerator Groups
RecordingServiceImpl.hpp
1 /*
2  * (c) Copyright, Real-Time Innovations, 2017.
3  * All rights reserved.
4  *
5  * No duplications, whole or partial, manual or electronic, may be made
6  * without express written permission. Any such copies, or
7  * revisions thereof, must display this notice unaltered.
8  * This code contains trade secrets of Real-Time Innovations, Inc.
9  */
10 
11 #ifndef RTI_RECORDING_RECORDING_SERVICE_IMPL_HPP_
12 #define RTI_RECORDING_RECORDING_SERVICE_IMPL_HPP_
13 
14 #include "recordingservice/recordingservice_dll.h"
15 
16 #include <dds/core/refmacros.hpp>
17 #include <rti/core/detail/SelfReference.hpp>
18 #include <rti/recording/ServiceProperty.hpp>
19 
20 namespace rti { namespace recording{
21 
22 namespace service {
23 class Service;
24 }
25 
26 class Application;
27 
28 class RECORDERDllExport RecordingServiceImpl
29  : public rti::core::detail::RetainableType<RecordingServiceImpl> {
30 public:
31 
32  RecordingServiceImpl(const ServiceProperty& property);
33  ~RecordingServiceImpl();
34 
35  void start();
36 
37  void stop();
38 
39  static void initialize_globals();
40  static void finalize_globals();
41 
42 private:
43  friend class rti::recording::Application;
44  RecordingServiceImpl(
45  const ServiceProperty& property,
46  const void *shutdown_hook);
47 
48  rti::recording::service::Service *impl_;
49 };
50 
51 }}
52 
53 #endif // RTI_RECORDING_RECORDING_SERVICE_IMPL_HPP_

RTI Recording Service Version 6.0.1 Copyright © Sun Nov 17 2019 Real-Time Innovations, Inc