Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
gte::ControlledObject Class Reference

#include <GteControlledObject.h>

Inheritance diagram for gte::ControlledObject:
Inheritance graph
[legend]

Public Types

typedef std::list< std::shared_ptr< Controller > > List
 

Public Member Functions

void AttachController (std::shared_ptr< Controller > const &controller)
 
void DetachAllControllers ()
 
void DetachController (std::shared_ptr< Controller > const &controller)
 
List const & GetControllers () const
 
bool UpdateControllers (double applicationTime)
 
virtual ~ControlledObject ()
 

Protected Member Functions

 ControlledObject ()
 

Private Attributes

List mControllers
 

Detailed Description

Definition at line 17 of file GteControlledObject.h.

Member Typedef Documentation

typedef std::list<std::shared_ptr<Controller> > gte::ControlledObject::List

Definition at line 26 of file GteControlledObject.h.

Constructor & Destructor Documentation

ControlledObject::ControlledObject ( )
protected

Definition at line 16 of file GteControlledObject.cpp.

ControlledObject::~ControlledObject ( )
virtual

Definition at line 12 of file GteControlledObject.cpp.

Member Function Documentation

void ControlledObject::AttachController ( std::shared_ptr< Controller > const &  controller)

Definition at line 20 of file GteControlledObject.cpp.

void ControlledObject::DetachAllControllers ( )

Definition at line 59 of file GteControlledObject.cpp.

void ControlledObject::DetachController ( std::shared_ptr< Controller > const &  controller)

Definition at line 43 of file GteControlledObject.cpp.

ControlledObject::List const & gte::ControlledObject::GetControllers ( ) const
inline

Definition at line 38 of file GteControlledObject.h.

bool ControlledObject::UpdateControllers ( double  applicationTime)

Definition at line 69 of file GteControlledObject.cpp.

Member Data Documentation

List gte::ControlledObject::mControllers
private

Definition at line 34 of file GteControlledObject.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05