48extern CGV_API
int get_attachment_data_int(
base_ptr slot_object);
53#include <cgv/config/lib_end.h>
void * attachment_user_data
allow to add user data to the attachment
base_ptr get_attachment() const
return current attachment
void attach(base_ptr attachment_object, void *user_data=0)
attach object to attachment slot
base_ptr attachment
allow to attach some object to group
void * get_attachement_data() const
return current attachment
int get_attachement_data_int() const
return current attachment
attach_slot()
init the user data
the base namespace holds the base hierarchy, support for plugin registration and signals
base_ptr get_attachment(base_ptr slot_object)
query the attachment of an attach_slot object.
data::ref_ptr< base, true > base_ptr
ref counted pointer to base
bool attach(base_ptr slot_object, base_ptr attachment_object, void *user_data)
function to attach an object to an object of type attach_slot.
void * get_attachment_data(base_ptr slot_object)
query the user data of the attachment of an attach_slot object.
this header is dependency free