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
 
RInsideRR
 
boost::mutex guard
 

Detailed Description

Definition at line 8 of file boostEx.cpp.

Constructor & Destructor Documentation

Resource::Resource ( )
inline

Definition at line 10 of file boostEx.cpp.

Member Function Documentation

int Resource::getValue ( )
inline

Definition at line 17 of file boostEx.cpp.

References i.

Referenced by main().

void Resource::use ( )
inline

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
private

Definition at line 22 of file boostEx.cpp.

Referenced by use().

int Resource::i
private

Definition at line 20 of file boostEx.cpp.

Referenced by getValue(), and use().

RInside& Resource::RR
private

Definition at line 21 of file boostEx.cpp.

Referenced by use().


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