cgv
cgv::base::attach_slot Class Reference

#include <attach_slot.h>

Public Member Functions

 attach_slot ()
 init the user data
 
void attach (base_ptr attachment_object, void *user_data=0)
 attach object to attachment slot More...
 
void attach (base_ptr attachment_object, int user_data)
 attach object to attachment slot
 
base_ptr get_attachment () const
 return current attachment
 
void * get_attachement_data () const
 return current attachment
 
int get_attachement_data_int () const
 return current attachment
 

Protected Attributes

base_ptr attachment
 allow to attach some object to group
 
void * attachment_user_data
 allow to add user data to the attachment
 

Detailed Description

interface for an attachment slot that can store a base pointer

Member Function Documentation

◆ attach()

void cgv::base::attach_slot::attach ( base_ptr  attachment_object,
void *  user_data = 0 
)

attach object to attachment slot

attach object to group


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