Orocos Real-Time Toolkit  2.9.0
Reference.hpp
Go to the documentation of this file.
1 #ifndef RTT_INTERNAL_REFERENCE_HPP
2 #define RTT_INTERNAL_REFERENCE_HPP
3 
4 #include "../base/DataSourceBase.hpp"
5 
6 namespace RTT
7 {
8  namespace internal {
15  class Reference
16  {
17  public:
18  virtual ~Reference() {};
19 
25  virtual void setReference(void* ref) = 0;
38  virtual bool setReference(base::DataSourceBase::shared_ptr dsb) = 0;
39  };
40  }
41 }
42 
43 #endif
virtual void setReference(void *ref)=0
Sets the reference to a given pointer.
Object that may receive a reference to some data by means of a pointer or data source.
Definition: Reference.hpp:15
boost::intrusive_ptr< DataSourceBase > shared_ptr
Use this type to store a pointer to a DataSourceBase.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition: Activity.cpp:52