RInside Version 0.2.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Resource Class Reference
Collaboration diagram for Resource:

Public Member Functions

 Resource ()
void use ()
int getValue ()

Private Attributes

int i
boost::mutex guard

Detailed Description

Definition at line 8 of file boostEx.cpp.

Constructor & Destructor Documentation

Resource::Resource ( )

Definition at line 10 of file boostEx.cpp.

Member Function Documentation

int Resource::getValue ( )

Definition at line 17 of file boostEx.cpp.

References i.

Referenced by main().

void Resource::use ( )

Definition at line 12 of file boostEx.cpp.

References guard, i, RInside::parseEvalQ(), and RR.

Referenced by thread_func().

Here is the call graph for this function:

Member Data Documentation

boost::mutex Resource::guard

Definition at line 22 of file boostEx.cpp.

Referenced by use().

int Resource::i

Definition at line 20 of file boostEx.cpp.

Referenced by getValue(), and use().

RInside& Resource::RR

Definition at line 21 of file boostEx.cpp.

Referenced by use().

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