OpenWalnut  1.2.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
WGEGroupNode::ChildOperation Struct Reference

A struct denoting an operation on this group. More...

#include <WGEGroupNode.h>

Public Member Functions

 ChildOperation (ChildOperationType what, osg::ref_ptr< osg::Node > item)
 Constructs instance and fills members properly.
 ChildOperation (ChildOperationType what, boost::shared_ptr< NodePredicate > predicate)
 Constructs instance and fills members properly.

Public Attributes

ChildOperationType m_operation
 the operation to take
osg::ref_ptr< osg::Node > m_item
 the item to delete/add
boost::shared_ptr< NodePredicatem_predicate
 the predicate used by conditional operations

Detailed Description

A struct denoting an operation on this group.

The operation itself, as well as the item and predicate are stored.

Definition at line 138 of file WGEGroupNode.h.

Constructor & Destructor Documentation

WGEGroupNode::ChildOperation::ChildOperation ( ChildOperationType  what,
osg::ref_ptr< osg::Node >  item 
)
inline

Constructs instance and fills members properly.

Parameters
whatthe operation to make
itemthe child to delete

Definition at line 146 of file WGEGroupNode.h.

WGEGroupNode::ChildOperation::ChildOperation ( ChildOperationType  what,
boost::shared_ptr< NodePredicate predicate 
)
inline

Constructs instance and fills members properly.

Parameters
whatthe operation to make
predicatethe predicate to use for conditional operations (REMOVE_IF)

Definition at line 159 of file WGEGroupNode.h.

Member Data Documentation

osg::ref_ptr< osg::Node > WGEGroupNode::ChildOperation::m_item

the item to delete/add

Definition at line 167 of file WGEGroupNode.h.

ChildOperationType WGEGroupNode::ChildOperation::m_operation

the operation to take

Definition at line 164 of file WGEGroupNode.h.

boost::shared_ptr< NodePredicate > WGEGroupNode::ChildOperation::m_predicate

the predicate used by conditional operations

Definition at line 168 of file WGEGroupNode.h.


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