Commit 7f751d55 by Marcus Winter

mtapi_cpp: added missing documentation

parent 55983af6
...@@ -43,6 +43,8 @@ class NodeAttributes { ...@@ -43,6 +43,8 @@ class NodeAttributes {
public: public:
/** /**
* Constructs a NodeAttributes object. * Constructs a NodeAttributes object.
*
* \waitfree
*/ */
NodeAttributes() { NodeAttributes() {
mtapi_status_t status; mtapi_status_t status;
...@@ -52,6 +54,8 @@ class NodeAttributes { ...@@ -52,6 +54,8 @@ class NodeAttributes {
/** /**
* Copies a NodeAttributes object. * Copies a NodeAttributes object.
*
* \waitfree
*/ */
NodeAttributes( NodeAttributes(
NodeAttributes const & other /**< The NodeAttributes to copy. */ NodeAttributes const & other /**< The NodeAttributes to copy. */
...@@ -62,6 +66,8 @@ class NodeAttributes { ...@@ -62,6 +66,8 @@ class NodeAttributes {
/** /**
* Copies a NodeAttributes object. * Copies a NodeAttributes object.
*
* \waitfree
*/ */
void operator=( void operator=(
NodeAttributes const & other /**< The NodeAttributes to copy. */ NodeAttributes const & other /**< The NodeAttributes to copy. */
...@@ -232,6 +238,12 @@ class NodeAttributes { ...@@ -232,6 +238,12 @@ class NodeAttributes {
return *this; return *this;
} }
/**
* Enables or disables the reuse of the main thread as a worker.
*
* \returns Reference to this object.
* \notthreadsafe
*/
NodeAttributes & SetReuseMainThread( NodeAttributes & SetReuseMainThread(
mtapi_boolean_t reuse mtapi_boolean_t reuse
) { ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment