Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F71315669
released_object.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jul 11, 00:45
Size
1 KB
Mime Type
text/x-c++
Expires
Sat, Jul 13, 00:45 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18935977
Attached To
rLIBMULTISCALE LibMultiScale
released_object.hh
View Options
#ifndef __LIBMULTISCALE_RELEASED_OBJECT_HH__
#define __LIBMULTISCALE_RELEASED_OBJECT_HH__
/* -------------------------------------------------------------------------- */
#include "auto_arguments.hh"
#include "lm_common.hh"
/* -------------------------------------------------------------------------- */
__BEGIN_LIBMULTISCALE__
/* -------------------------------------------------------------------------- */
class CommGroup;
/* -------------------------------------------------------------------------- */
class ReleasedObject : public AutoDispatch::Argument {
public:
ReleasedObject() { release = 0; }
//! return actual release
UInt getRelease() const { return release; };
//! return actual release
void setRelease(UInt r) { release = r; };
//! increment the release
void incRelease() { ++release; };
private:
UInt release;
};
/* -------------------------------------------------------------------------- */
__END_LIBMULTISCALE__
/* -------------------------------------------------------------------------- */
#endif //__LIBMULTISCALE_RELEASED_OBJECT_HH__
Event Timeline
Log In to Comment