Public Types | Public Member Functions | Public Attributes

CxUtils::Timer::Callback::Function Class Reference

Function object data used by the Timer class for storing Function Callbacks for Timer Events.. More...

#include <timer.h>

List of all members.

Public Types

typedef std::vector< FunctionList
 List of functions.

Public Member Functions

 Function (void(*func)(void *args), void *fargs=NULL)
 Constructor for Function Callback data.
 ~Function ()
 Destructor.
void Run ()
 Runs the function callback.

Public Attributes

void(* mpFunctionPtr )(void *args)
 Function pointer for Timer Events.
void * mpFunctionArgs
 Pointer to function arguments.

Detailed Description

Function object data used by the Timer class for storing Function Callbacks for Timer Events..

Definition at line 92 of file timer.h.


Member Typedef Documentation

List of functions.

Definition at line 95 of file timer.h.


Constructor & Destructor Documentation

Timer::Callback::Function::Function ( void(*)(void *args)  func,
void *  fargs = NULL 
)

Constructor for Function Callback data.

Parameters:
[in]funcPointer to function to call when event is triggered.
[in]fargsPointer to arguments to pass to function callback.

Definition at line 63 of file timer.cpp.

Timer::Callback::Function::~Function (  )

Destructor.

Definition at line 75 of file timer.cpp.


Member Function Documentation

void Timer::Callback::Function::Run (  )

Runs the function callback.

Definition at line 85 of file timer.cpp.


Member Data Documentation

Pointer to function arguments.

Definition at line 100 of file timer.h.

Function pointer for Timer Events.

Definition at line 99 of file timer.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines