COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Protected Member Functions | Static Private Member Functions | Friends | List of all members
covise::coDoRGBA Class Reference

#include <coDoData.h>

Inheritance diagram for covise::coDoRGBA:
Inheritance graph
[legend]
Collaboration diagram for covise::coDoRGBA:
Collaboration graph
[legend]

Public Member Functions

 coDoRGBA (const coObjInfo &info)
 
 coDoRGBA (const coObjInfo &info, coShmArray *arr)
 
 coDoRGBA (const coObjInfo &info, int no, int *pc)
 
 coDoRGBA (const coObjInfo &info, int no)
 
coDoAbstractDatacloneType (const coObjInfo &info, int no) const
 
int setFloatRGBA (int pos, float r, float g, float b, float a=1.0)
 
int setIntRGBA (int pos, int r, int g, int b, int a=255)
 
int getFloatRGBA (int pos, float *r, float *g, float *b, float *a) const
 
int getIntRGBA (int pos, int *r, int *g, int *b, int *a) const
 
- Public Member Functions inherited from covise::coDoScalarData< int, INTSHMARRAY, RGBADT >
 coDoScalarData (const coObjInfo &info)
 
 coDoScalarData (const coObjInfo &info, coShmArray *arr)
 
 coDoScalarData (const coObjInfo &info, int no, int *s)
 
 coDoScalarData (const coObjInfo &info, int no)
 
coDoAbstractDatacloneType (const coObjInfo &info, int no) const
 
void getPointValue (int no, int *s) const
 
void setPointValue (int no, ints)
 
void cloneValue (int dstIdx, const coDoAbstractData *src, int srcIdx)
 
void setNullValue (int dstIdx)
 
void getAddress (int **data) const
 
int * getAddress () const
 
int setSize (int numElem)
 
- Public Member Functions inherited from covise::coDoAbstractData
 coDoAbstractData (const coObjInfo &info, const char *t)
 
virtual int getNumPoints () const
 
- Public Member Functions inherited from covise::coDistributedObject
void getShmLocation (int &shmSegNo, shmSizeType &offset) const
 Get my location in shared memory. More...
 
void addAttribute (const char *, const char *)
 Attach an attribute to an object. More...
 
void addAttributes (int, const char *const *, const char *const *)
 Attach multiple attributes to an object. More...
 
const char * getAttribute (const char *) const
 get one attribute More...
 
int getNumAttributes () const
 get number of attributes More...
 
int getAllAttributes (const char ***name, const char ***content) const
 get all attributes More...
 
void copyAllAttributes (const coDistributedObject *src)
 copy all attributes from src to this object More...
 
char * getName () const
 get the object's name More...
 
const char * getType () const
 get the object's type More...
 
int isType (const char *reqType) const
 check whether this is a certain type More...
 
bool objectOk () const
 check whether object was created or received ok More...
 
 coDistributedObject ()
 
 coDistributedObject (const coObjInfo &info)
 
 coDistributedObject (const coObjInfo &info, const char *t)
 
 coDistributedObject (const coObjInfo &info, int shmSeg, shmSizeType offs, char *t)
 
virtual ~coDistributedObject ()
 
coDistributedObjectclone (const coObjInfo &newinfo) const
 
void copyObjInfo (coObjInfo *info) const
 
const coDistributedObjectcreateUnknown () const
 
int * store_header (int, int, int, int *, data_type *, long *, int **)
 
int restore_header (int **, int, int *, int *, shmSizeType *)
 
void init_header (int *, int *, int, data_type **, long **)
 
int update_shared_dl (int count, covise_data_list *dl)
 
int store_shared_dl (int count, covise_data_list *dl)
 
int restore_shared_dl (int count, covise_data_list *dl)
 
void setType (const char *, const char *)
 
int getObjectInfo (coDoInfo **) const
 
int get_type_no () const
 
int access (access_type)
 
int destroy ()
 
char * object_on_hosts () const
 
int incRefCount () const
 
int decRefCount () const
 
int getRefCount () const
 
void print () const
 
void getObjectFromShm ()
 Common function for all read-Constructors: More...
 
bool checkObject () const
 Check object: return true if valid, false if not. More...
 

Protected Member Functions

coDoRGBAcloneObject (const coObjInfo &newinfo) const
 
- Protected Member Functions inherited from covise::coDoScalarData< int, INTSHMARRAY, RGBADT >
int rebuildFromShm ()
 
int getObjInfo (int no, coDoInfo **il) const
 
coDoScalarDatacloneObject (const coObjInfo &newinfo) const
 
- Protected Member Functions inherited from covise::coDistributedObject
int getShmArray () const
 
int createFromShm (coShmArray *arr)
 
bool checkObj (int shmSegNo, shmSizeType shmOffs, bool &printed) const
 Check object in shared memory. More...
 

Static Private Member Functions

static coDistributedObjectvirtualCtor (coShmArray *arr)
 

Friends

class coDoInitializer
 

Additional Inherited Members

- Static Public Member Functions inherited from covise::coDoScalarData< int, INTSHMARRAY, RGBADT >
static coDistributedObjectvirtualCtor (coShmArray *arr)
 
- Static Public Member Functions inherited from covise::coDistributedObject
static const coDistributedObjectcreateFromShm (const coObjInfo &newinfo)
 
static const coDistributedObjectcreateUnknown (coShmArray *)
 
static const coDistributedObjectcreateUnknown (int seg, shmSizeType offs)
 
static int calcType (const char *)
 
static char * calcTypeString (int)
 
static int set_vconstr (const char *, coDistributedObject *(*)(coShmArray *))
 
- Protected Attributes inherited from covise::coDoScalarData< int, INTSHMARRAY, RGBADT >
coDataShmArray< int, typenum > s_data
 
- Protected Attributes inherited from covise::coDoAbstractData
coIntShm no_of_points
 
- Protected Attributes inherited from covise::coDistributedObject
coIntShm version
 
coIntShm refcount
 
coShmArrayshmarr
 
coStringShmArrayattributes
 
coDoHeaderheader
 
char type_name [7]
 
int type_no
 
char * name
 
int loc_version
 
bool new_ok
 
int size
 
char * attribs
 

Constructor & Destructor Documentation

covise::coDoRGBA::coDoRGBA ( const coObjInfo info)
inline
covise::coDoRGBA::coDoRGBA ( const coObjInfo info,
coShmArray arr 
)
inline
covise::coDoRGBA::coDoRGBA ( const coObjInfo info,
int  no,
int *  pc 
)
inline
covise::coDoRGBA::coDoRGBA ( const coObjInfo info,
int  no 
)
inline

Member Function Documentation

coDoRGBA * coDoRGBA::cloneObject ( const coObjInfo newinfo) const
protectedvirtual
coDoAbstractData* covise::coDoRGBA::cloneType ( const coObjInfo info,
int  no 
) const
inlinevirtual
int coDoRGBA::getFloatRGBA ( int  pos,
float *  r,
float *  g,
float *  b,
float *  a 
) const
int coDoRGBA::getIntRGBA ( int  pos,
int *  r,
int *  g,
int *  b,
int *  a 
) const
int coDoRGBA::setFloatRGBA ( int  pos,
float  r,
float  g,
float  b,
float  a = 1.0 
)
int coDoRGBA::setIntRGBA ( int  pos,
int  r,
int  g,
int  b,
int  a = 255 
)
coDistributedObject * coDoRGBA::virtualCtor ( coShmArray arr)
staticprivate

Friends And Related Function Documentation

friend class coDoInitializer
friend

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