theCore C++ embedded framework
mock_aux Struct Reference
Inheritance diagram for mock_aux:
Collaboration diagram for mock_aux:

Public Member Functions

 mock_aux ()
 
virtual void destroy ()
 Destroys aux and deallocates memory if both shared and weak counter is zero. More...
 
- Public Member Functions inherited from ecl::aux
 aux ()
 Constructs auxilary object. More...
 
size_t inc ()
 Incremets reference counter and returns new value. More...
 
size_t dec ()
 Decrements reference counter and returns new value. More...
 
size_t ref ()
 Returns reference counter. More...
 
size_t weak_inc ()
 Incremets weak reference counter and returns new value. More...
 
size_t weak_dec ()
 Decrements weak reference counter and returns new value. More...
 
size_t weak_ref ()
 Returns wek reference counter. More...
 

Additional Inherited Members

- Protected Attributes inherited from ecl::aux
size_t m_cnt
 Reference counter. More...
 
size_t m_weak
 Weak reference counter. More...
 

Constructor & Destructor Documentation

◆ mock_aux()

mock_aux::mock_aux ( )
inline

Member Function Documentation

◆ destroy()

void mock_aux::destroy ( )
virtual

Destroys aux and deallocates memory if both shared and weak counter is zero.

Destructor of the managed object must not be called here. Must be called to destroy whole object.

Implements ecl::aux.


The documentation for this struct was generated from the following file: