Public Member Functions | Private Attributes | List of all members
alvar::Threads Class Reference

Threads vector for handling multiple threads. More...

#include <Threads.h>

Public Member Functions

bool create (void *(*method)(void *), void *parameters)
 Creates a new thread and returns true on success. More...
 
 Threads ()
 Constructor. More...
 
 ~Threads ()
 Destructor. More...
 

Private Attributes

ThreadsPrivated
 

Detailed Description

Threads vector for handling multiple threads.

Threads class for handling multiple threads.

Definition at line 44 of file Threads.h.

Constructor & Destructor Documentation

alvar::Threads::Threads ( )

Constructor.

Definition at line 30 of file Threads.cpp.

alvar::Threads::~Threads ( )

Destructor.

Definition at line 35 of file Threads.cpp.

Member Function Documentation

bool alvar::Threads::create ( void *(*)(void *)  method,
void *  parameters 
)

Creates a new thread and returns true on success.

Parameters
methodThe method that the thread will execute.
parametersThe parameters sent to the method.

Definition at line 40 of file Threads.cpp.

Member Data Documentation

ThreadsPrivate* alvar::Threads::d
private

Definition at line 66 of file Threads.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Thu Jun 6 2019 19:27:24