#include <ardev.h>
Inheritance diagram for ARObject:

Public Member Functions | |
| ARObject () | |
| Default Constructor. | |
| virtual | ~ARObject () |
| Default Destructor. | |
| virtual int | Initialise (bool Active=true) |
| Iinitialise the ARObjectR. | |
| virtual void | Terminate () |
| Terminate an ARObject. | |
| void | StartThread () |
| Create a thread for updating the object data. | |
| void | StopThread () |
| Stop the objects update thread. | |
| virtual void * | Main () |
| If using an update thread reimplement this function to contain the update loop. | |
| virtual void | Pause () |
| Pause the update thread loop if needed. | |
| virtual void | Resume () |
| Resume the update thread loop if needed. | |
| virtual void | Lock () |
| Locks the internal mutex. | |
| virtual void | Unlock () |
| Unlocks the internal mutex. | |
| virtual bool | Initialised () |
| is the device initialised | |
Static Protected Member Functions | |
| static void * | DummyMain (void *ThisPtr) |
| DummyMain that launches the threads Main method. | |
Protected Attributes | |
| pthread_mutex_t | lock |
| Class specific mutex, accessed with Lock and Unlock. | |
| pthread_t | thread |
| Active thread identifier if thread started. | |
| bool | IsActive |
| record if the update thread is active | |
| bool | initialised |
| record the initialised state of the device | |
Friends | |
| class | ARDev |
All the core ARDev Objects inherit from this class allowing the standard initilaisation update etc. Also provides basic locking functionality
1.5.1