|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <ConfigurationPointer.hpp>
Public Member Functions | |
| ConfigurationPointer () | |
| Default. | |
| ConfigurationPointer (const std::string &s) | |
| Constructor when the user initializes from within python. | |
| ConfigurationPointer (const Configuration &p) | |
| Constructor when the user initializes from C++. In this case, the pointed configuration should never be deleted. | |
| ConfigurationPointer (const ConfigurationPointer &other) | |
| Copying, is shallow. Don't do this at home... | |
| ConfigurationPointer & | operator= (const ConfigurationPointer &other) |
| Assignment is shallow. | |
| virtual | ~ConfigurationPointer () |
| Destructor. If started from string, destroy if the last instance, otherwise, doesn't do anything at all. | |
| Configuration * | operator-> () |
| Let python bindings access the configuration pointer. | |
| Configuration & | operator* () |
| Another way to access the configuration pointer. | |
| Configuration * | get () |
| Get the configuration pointer. | |
Private Attributes | |
| boost::shared_ptr< Configuration > | m_shared |
| Configuration * | m_pointer |
Use this class only when you want to bridge your C++ code with python. It implements some weird reference counted pointer which helps a clean API for the python bindings and the DBE
Definition at line 31 of file ConfigurationPointer.hpp.
|
inline |
Default.
Definition at line 35 of file ConfigurationPointer.hpp.
|
inline |
Constructor when the user initializes from within python.
Definition at line 38 of file ConfigurationPointer.hpp.
|
inline |
Constructor when the user initializes from C++. In this case, the pointed configuration should never be deleted.
Definition at line 42 of file ConfigurationPointer.hpp.
|
inline |
Copying, is shallow. Don't do this at home...
Definition at line 47 of file ConfigurationPointer.hpp.
|
inlinevirtual |
Destructor. If started from string, destroy if the last instance, otherwise, doesn't do anything at all.
Definition at line 60 of file ConfigurationPointer.hpp.
|
inline |
Get the configuration pointer.
Definition at line 69 of file ConfigurationPointer.hpp.
|
inline |
Another way to access the configuration pointer.
Definition at line 66 of file ConfigurationPointer.hpp.
|
inline |
Let python bindings access the configuration pointer.
Definition at line 63 of file ConfigurationPointer.hpp.
|
inline |
Assignment is shallow.
Definition at line 52 of file ConfigurationPointer.hpp.
|
private |
Definition at line 73 of file ConfigurationPointer.hpp.
|
private |
Definition at line 72 of file ConfigurationPointer.hpp.