CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::EncodedPackage Class Referenceabstract

#include <cxEncodedPackage.h>

Inheritance diagram for cx::EncodedPackage:
cx::igtlEncodedPackage< TYPE > cx::igtlEncodedPackage< igtl::MessageBase > cx::igtlEncodedBodyPackage

Classes

struct  ByteArray
 

Public Types

typedef boost::shared_ptr
< ByteArray
ByteArrayPtr
 

Signals

void dataArrived ()
 

Public Member Functions

 EncodedPackage (char *pointer=NULL, int size=0)
 
virtual ~EncodedPackage ()
 
virtual const ByteArrayPtr data () const =0
 
virtual void notifyDataArrived ()=0
 
virtual bool isFinishedWith ()=0
 

Protected Attributes

ByteArrayPtr mData
 

Detailed Description

Wrapper for shared memory area

Definition at line 50 of file cxEncodedPackage.h.

Member Typedef Documentation

typedef boost::shared_ptr<ByteArray> cx::EncodedPackage::ByteArrayPtr

Definition at line 60 of file cxEncodedPackage.h.

Constructor & Destructor Documentation

cx::EncodedPackage::EncodedPackage ( char *  pointer = NULL,
int  size = 0 
)

Definition at line 6 of file cxEncodedPackage.cpp.

virtual cx::EncodedPackage::~EncodedPackage ( )
inlinevirtual

Definition at line 64 of file cxEncodedPackage.h.

Member Function Documentation

virtual const ByteArrayPtr cx::EncodedPackage::data ( ) const
pure virtual
void cx::EncodedPackage::dataArrived ( )
signal
virtual bool cx::EncodedPackage::isFinishedWith ( )
pure virtual
virtual void cx::EncodedPackage::notifyDataArrived ( )
pure virtual

Member Data Documentation

ByteArrayPtr cx::EncodedPackage::mData
protected

Definition at line 74 of file cxEncodedPackage.h.


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