GOAL_Manager Class Reference

#include <GOAL_Manager.h>

Inherits AP::AP_Thread.

Collaboration diagram for GOAL_Manager:

Collaboration graph

Public Types


Public Member Functions

AP_Bool Create (const AP_String &x3d_path)
AP_Bool Destroy (void)
 GOAL_Manager (void)
AP_Bool Parser (const AP_String &text, AP_String &name, GOAL_Object::ObjectType &object, AP_String &cmd, AP_String &value)
AP_Bool Post (const AP_String &cmd)
AP_Bool Post (const AP_String &name, GOAL_Object *obj)
void run (void)
virtual ~GOAL_Manager (void)

Static Public Member Functions

static Commands String2Command (const AP_String &cmd)

Private Attributes

AP_ThreadCriticalSection _m_cs
AP_String _m_path
GOAL_Screen_m_screen

Member Enumeration Documentation

enum Commands

Enumerator:
CommandAdd 
CommandDelete 
CommandMove 
CommandResize 
CommandRotate 
CommandTrasparency 
CommandEvent 
CommandUnknown 


Constructor & Destructor Documentation

GOAL_Manager ( void   )  [inline]

virtual ~GOAL_Manager ( void   )  [inline, virtual]


Member Function Documentation

AP_Bool Create ( const AP_String x3d_path  ) 

AP_Bool Destroy ( void   ) 

AP_Bool Parser ( const AP_String text,
AP_String name,
GOAL_Object::ObjectType object,
AP_String cmd,
AP_String value 
)

AP_Bool Post ( const AP_String cmd  ) 

AP_Bool Post ( const AP_String name,
GOAL_Object obj 
)

void run ( void   )  [virtual]

Main thread function. It must be overloaded in your derived class. It has no parameter.

Example:
void run(void)
{
while(is_running())
{
... do something ...
}
}

Reimplemented from AP_Thread.

GOAL_Manager::Commands String2Command ( const AP_String cmd  )  [static]


Field Documentation

AP_String _m_path [private]

GOAL_Screen* _m_screen [private]


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

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8