cmlabs::ContextSpec Class Reference

#include <Specs.h>

Inheritance diagram for cmlabs::ContextSpec:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::ContextSpec:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ContextSpec ()
 ContextSpec (const JString &xml)
 ContextSpec (XMLNode *node)
 ~ContextSpec ()
virtual unsigned long getPayloadSize () const
 Get total size of payload.
Objectclone () const
bool fromXML (const JString &xml)
bool fromXML (XMLNode *node)
JString toXML ()
JString toHTML ()
bool reset ()
bool setCurrentContexts (ObjectDictionary *newContexts)
bool isActive ()
ObjectCollectiongetActivePhases ()
ObjectCollectiongetAllPhases ()
bool switchPhase ()
bool calcCurrentPhases ()
long getBinarySize (int chunk)
 Get the size of binary data chunk, -1 for all chunks.
int getBinaryChunkCount ()
 Get the number of data chunks.
long toBinaryBuffer (int chunk, char *buffer, int maxlen)
 Write binary data to buffer at chunk number 'chunk'.
bool fromBinaryBuffer (int chunk, char *buffer, long len)
 Set the data after separate reception.

Public Attributes

JString name
JString moduleName
int currentPhaseNum
PhaseSpeccurrentPhase
ObjectCollectioncurrentActivePhases
DotString ownContext
double priority
bool allowSelfTriggering
bool wasActive
ObjectCollectionphases
 Contains PhaseSpecs.
ObjectDictionarycurrentContexts
 Contains Current Contexts - do not delete!!!


Detailed Description

Definition at line 228 of file Specs.h.


Constructor & Destructor Documentation

cmlabs::ContextSpec::ContextSpec (  ) 

Definition at line 1286 of file Specs.cpp.

cmlabs::ContextSpec::ContextSpec ( const JString xml  ) 

Definition at line 1298 of file Specs.cpp.

cmlabs::ContextSpec::ContextSpec ( XMLNode node  ) 

Definition at line 1311 of file Specs.cpp.

cmlabs::ContextSpec::~ContextSpec (  ) 

Definition at line 1324 of file Specs.cpp.


Member Function Documentation

unsigned long cmlabs::ContextSpec::getPayloadSize (  )  const [virtual]

Get total size of payload.

Reimplemented from cmlabs::Object.

Definition at line 1344 of file Specs.cpp.

Object * cmlabs::ContextSpec::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 1330 of file Specs.cpp.

bool cmlabs::ContextSpec::fromXML ( const JString xml  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 1355 of file Specs.cpp.

bool cmlabs::ContextSpec::fromXML ( XMLNode node  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 1367 of file Specs.cpp.

JString cmlabs::ContextSpec::toXML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 1431 of file Specs.cpp.

JString cmlabs::ContextSpec::toHTML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 1539 of file Specs.cpp.

bool cmlabs::ContextSpec::reset (  ) 

Definition at line 1450 of file Specs.cpp.

bool cmlabs::ContextSpec::setCurrentContexts ( ObjectDictionary newContexts  ) 

Definition at line 1475 of file Specs.cpp.

bool cmlabs::ContextSpec::isActive (  ) 

Definition at line 1487 of file Specs.cpp.

ObjectCollection * cmlabs::ContextSpec::getActivePhases (  ) 

Definition at line 1504 of file Specs.cpp.

ObjectCollection * cmlabs::ContextSpec::getAllPhases (  ) 

Definition at line 1514 of file Specs.cpp.

bool cmlabs::ContextSpec::switchPhase (  ) 

Definition at line 1524 of file Specs.cpp.

bool cmlabs::ContextSpec::calcCurrentPhases (  ) 

Definition at line 1456 of file Specs.cpp.

long cmlabs::ContextSpec::getBinarySize ( int  chunk  )  [virtual]

Get the size of binary data chunk, -1 for all chunks.

Get the size of any binary data.

Reimplemented from cmlabs::Object.

Definition at line 1572 of file Specs.cpp.

int cmlabs::ContextSpec::getBinaryChunkCount (  )  [virtual]

Get the number of data chunks.

Reimplemented from cmlabs::Object.

Definition at line 1579 of file Specs.cpp.

long cmlabs::ContextSpec::toBinaryBuffer ( int  chunk,
char *  buffer,
int  maxlen 
) [virtual]

Write binary data to buffer at chunk number 'chunk'.

Get a pointer to the binary data at chunk number 'chunk'.

Reimplemented from cmlabs::Object.

Definition at line 1586 of file Specs.cpp.

bool cmlabs::ContextSpec::fromBinaryBuffer ( int  chunk,
char *  buffer,
long  len 
) [virtual]

Set the data after separate reception.

Reimplemented from cmlabs::Object.

Definition at line 1593 of file Specs.cpp.


Member Data Documentation

Definition at line 264 of file Specs.h.

Definition at line 265 of file Specs.h.

Definition at line 266 of file Specs.h.

Definition at line 267 of file Specs.h.

Definition at line 268 of file Specs.h.

Definition at line 269 of file Specs.h.

Definition at line 270 of file Specs.h.

Definition at line 271 of file Specs.h.

Definition at line 273 of file Specs.h.

Contains PhaseSpecs.

Definition at line 275 of file Specs.h.

Contains Current Contexts - do not delete!!!

Definition at line 277 of file Specs.h.


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

Generated on Tue Jul 7 16:23:53 2009 for CoreLibrary by  doxygen 1.5.6