GATE
gate_cloneable_t Interface Reference

Base interface for all objects that can be cloned. More...

#include <objects.h>

Inheritance diagram for gate_cloneable_t:
gate_object_t

Public Member Functions

gate_result_t clone (gate_cloneable_t **ptr_newclone)
 Creates a new object instance as a clone of the given one.
 
- Public Member Functions inherited from gate_object_t
char const * get_interface_name ()
 Returns on object's interface path name.
 
void release ()
 Decrease object's reference counter, releases the object when count reaches zero.
 
int retain ()
 Increase object's reference counter.
 

Detailed Description

Base interface for all objects that can be cloned.

Member Function Documentation

◆ clone()

gate_result_t clone ( gate_cloneable_t ** ptr_newclone)

Creates a new object instance as a clone of the given one.

Parameters
[out]ptr_newclonePointer to variable receiving the new cloned object's pointer
Returns
GATE_RESULT_* result code

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