HTCObjectRotate

Functions

HTCObjectRotate

HTCObjectRotate

~HTCObjectRotate

int

OnLButtonDown

bool

Tick

void

SetDeleteOnUnRegister

void

UnRegister

bool

OnSignal

Detailed Description

class HTCObjectRotate : public HBaseOperator, public HTClient

HTCObjectRotate is a reference implementation of a timer client. It is the first of what we hope will be a long list of objects to make use of the centralized timer service in MVO provided by the HTManager class. It is not necessarily meant to do anything useful except serve as an example of how it is possible to do animation in the context of MVO without completely

Public Functions

HTCObjectRotate(HBaseView *view, int DoRepeat = 0, int DoCapture = 1)

constructor

HTCObjectRotate(HTCObjectRotate *mommy)

constructor that accepts pointer to a parent HTCObjectRotate object

~HTCObjectRotate()
virtual int OnLButtonDown(HEventInfo &hevent)

Overrides HBaseOperator

virtual bool Tick(float request_time, float actual_time)

Overrides HTClient.

inline void SetDeleteOnUnRegister()

Makes HTCObjectRotate clean up after itself, as opposed to having a delete call required after everything is finished

void UnRegister()

Kills the animation (and possibly deletes *this, depending on the status of m_delete_on_unregister, as described above).

bool OnSignal(int signal)

Handles signals delivered from other objects