cgv
Loading...
Searching...
No Matches
cgv::base::object_registration_1< T, CA > Struct Template Reference

convenience class to register an object of the given class type with one constructor argument More...

#include <register.h>

Public Member Functions

 object_registration_1 (const CA &arg, const std::string &options="")
 pass information about the target registration listener in the options argument
 

Detailed Description

template<class T, typename CA>
struct cgv::base::object_registration_1< T, CA >

convenience class to register an object of the given class type with one constructor argument

Definition at line 171 of file register.h.

Constructor & Destructor Documentation

◆ object_registration_1()

template<class T , typename CA >
cgv::base::object_registration_1< T, CA >::object_registration_1 ( const CA arg,
const std::string &  options = "" 
)
inline

pass information about the target registration listener in the options argument

Definition at line 174 of file register.h.

References cgv::base::is_registration_enabled(), and cgv::base::register_object().


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