ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
ucommon::typeref< const uint8_t * >::value Class Reference

#include <typeref.h>

Inheritance diagram for ucommon::typeref< const uint8_t * >::value:
[legend]
Collaboration diagram for ucommon::typeref< const uint8_t * >::value:
[legend]

Public Member Functions

size_t max ()
 
uint8_t * get ()
 
 operator uint8_t * ()
 
- Public Member Functions inherited from ucommon::TypeRef::Counted
bool is () const
 Is this object not empty? More...
 
unsigned copies () const
 Number of retains (smart pointers) referencing us. More...
 
TypeReleasegetRelease () const
 
void operator delete (void *address)
 Override delete to de-allocate actual heap. More...
 
void retain ()
 Retain a copy of this object. More...
 
void release ()
 Release a copy of this object. More...
 

Protected Member Functions

 value (caddr_t addr, size_t size, const uint8_t *data=nullptr, TypeRelease *ar=&auto_release)
 
void destroy (void)
 
- Protected Member Functions inherited from ucommon::TypeRef::Counted
 Counted (void *address, size_t size, TypeRelease *ar=NULL)
 Construction of aligned container. More...
 
virtual void dealloc (void)
 Release memory and delete object when no longer referenced. More...
 

Protected Attributes

uint8_t mem [1]
 
- Protected Attributes inherited from ucommon::TypeRef::Counted
union {
   TypeRelease *   autorelease
 
   Counted *   linkrelease
 
}; 
 
Atomic::counter count
 
unsigned offset
 
size_t size
 

Private Member Functions

 __DELETE_COPY (value)
 

Friends

class typeref
 

Detailed Description

Definition at line 559 of file typeref.h.

Constructor & Destructor Documentation

◆ value()

ucommon::typeref< const uint8_t * >::value::value ( caddr_t  addr,
size_t  size,
const uint8_t *  data = nullptr,
TypeRelease ar = &auto_release 
)
protected

Member Function Documentation

◆ __DELETE_COPY()

ucommon::typeref< const uint8_t * >::value::__DELETE_COPY ( value  )
private

◆ destroy()

void ucommon::typeref< const uint8_t * >::value::destroy ( void  )
protected

◆ get()

uint8_t * ucommon::typeref< const uint8_t * >::value::get ( )
inline

Definition at line 578 of file typeref.h.

◆ max()

size_t ucommon::typeref< const uint8_t * >::value::max ( )
inline

Definition at line 574 of file typeref.h.

◆ operator uint8_t *()

ucommon::typeref< const uint8_t * >::value::operator uint8_t * ( )
inline

Definition at line 582 of file typeref.h.

Friends And Related Function Documentation

◆ typeref

friend class typeref
friend

Definition at line 565 of file typeref.h.

Member Data Documentation

◆ mem

uint8_t ucommon::typeref< const uint8_t * >::value::mem[1]
protected

Definition at line 567 of file typeref.h.


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