g4tools  5.4.0
Public Member Functions | List of all members
tools::sg::clrref< NODE > Class Template Reference
Inheritance diagram for tools::sg::clrref< NODE >:
Inheritance graph
[legend]
Collaboration diagram for tools::sg::clrref< NODE >:
Collaboration graph
[legend]

Public Member Functions

 clrref (NODE &a_node)
 
virtual ~clrref ()
 
 clrref (const clrref &a_from)
 
clrrefoperator= (const clrref &a_from)
 
- Public Member Functions inherited from tools::sg::noderef
virtual void render (render_action &a_action)
 
virtual void pick (pick_action &a_action)
 
virtual void bbox (bbox_action &a_action)
 
virtual void event (event_action &a_action)
 
virtual void search (search_action &a_action)
 
virtual void get_matrix (get_matrix_action &a_action)
 
virtual bool write (write_action &a_action)
 
virtual void is_visible (visible_action &a_action)
 
 noderef (node &a_node)
 
virtual ~noderef ()
 
 noderef (const noderef &a_from)
 
noderefoperator= (const noderef &a_from)
 
const sg::nodenode () const
 
sg::nodenode ()
 
- Public Member Functions inherited from tools::sg::node
virtual void * cast (const std::string &a_class) const
 
virtual const std::string & s_cls () const =0
 
virtual nodecopy () const =0
 
virtual unsigned int cls_version () const
 
virtual const desc_fieldsnode_desc_fields () const
 
virtual bool read (read_action &a_action)
 
virtual void protocol_one_fields (std::vector< field * > &a_fields) const
 
virtual bool draw_in_frame_buffer () const
 
virtual bool touched ()
 
virtual void reset_touched ()
 
 node ()
 
virtual ~node ()
 
void touch ()
 
fieldfield_from_desc (const field_desc &a_desc) const
 
void dump_field_descs (std::ostream &a_out) const
 
fieldfind_field_by_name (const std::string &a_name) const
 

Additional Inherited Members

- Protected Member Functions inherited from tools::sg::node
 node (const node &)
 
nodeoperator= (const node &)
 
void add_field (field *a_field)
 
bool write_fields (write_action &a_action)
 
bool read_fields (read_action &a_action)
 
field_desc::offset_t field_offset (const field *a_field) const
 
fieldfind_field (const field_desc &a_rdesc) const
 
void check_fields (std::ostream &a_out) const
 
- Protected Attributes inherited from tools::sg::noderef
sg::nodem_node
 

Detailed Description

template<class NODE>
class tools::sg::clrref< NODE >

Definition at line 59 of file noderef.

Constructor & Destructor Documentation

◆ clrref() [1/2]

template<class NODE >
tools::sg::clrref< NODE >::clrref ( NODE &  a_node)
inline

Definition at line 63 of file noderef.

63 :parent(a_node){}

◆ ~clrref()

template<class NODE >
virtual tools::sg::clrref< NODE >::~clrref ( )
inlinevirtual

Definition at line 64 of file noderef.

64  {
65  NODE* _node = safe_cast<sg::node,NODE>(m_node);
66  if(_node) _node->clear();
67  }

◆ clrref() [2/2]

template<class NODE >
tools::sg::clrref< NODE >::clrref ( const clrref< NODE > &  a_from)
inline

Definition at line 69 of file noderef.

69 :parent(a_from){}

Member Function Documentation

◆ operator=()

template<class NODE >
clrref& tools::sg::clrref< NODE >::operator= ( const clrref< NODE > &  a_from)
inline

Definition at line 70 of file noderef.

70  {
71  parent::operator=(a_from);
72  return *this;
73  }

The documentation for this class was generated from the following file:
tools::sg::noderef::m_node
sg::node & m_node
Definition: noderef:55